Skip to content

Conversation

@nogueiraanderson
Copy link
Contributor

Summary

Add IAM user and policy CloudFormation template for OpenShift/ROSA cluster management.

What's included

  • IAM user with comprehensive permissions for cluster management
  • S3 bucket for cluster state storage
  • CloudWatch log group for notifications

Usage

aws cloudformation create-stack \
  --template-body file://IaC/PerconaOpenShiftIAM.yml \
  --capabilities CAPABILITY_NAMED_IAM \
  --stack-name percona-openshift-iam \
  --region us-east-2

One-time setup

This is infrastructure setup - only needs to be deployed once per AWS account.

Add IAM user and policy for OpenShift/ROSA cluster management with:
- EC2, ELB, Auto Scaling permissions for cluster infrastructure
- IAM permissions for service accounts and OIDC providers
- Route53 for DNS management
- S3 bucket for cluster state storage
- CloudWatch for monitoring
- KMS for encryption

One-time setup - deploy with:
aws cloudformation create-stack \
  --template-body file://IaC/PerconaOpenShiftIAM.yml \
  --capabilities CAPABILITY_NAMED_IAM \
  --stack-name percona-openshift-iam
@nogueiraanderson nogueiraanderson requested a review from a team as a code owner December 18, 2025 19:42
nogueiraanderson added a commit that referenced this pull request Dec 18, 2025
Remove redundant files:
- IaC/PerconaOpenShiftIAM.yml (moved to separate PR #3732)
- pmm/openshift/rosa_cluster_*.groovy (duplicates main pipeline)
- pmm/v3/vars/pmmHaRosa.groovy (thin wrapper, merged into main)

Update pmm3-ha-rosa.groovy to use openshiftRosa directly.

Final PR contains only 3 files:
- pmm/v3/pmm3-ha-rosa.groovy (deploy PMM HA)
- pmm/v3/pmm3-ha-rosa-cleanup.groovy (cleanup clusters)
- pmm/v3/vars/openshiftRosa.groovy (ROSA operations library)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants