Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRC-446 : Create PREPROD environment #29299

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

prabash-moj
Copy link
Contributor

PRC-446 : Create PREPROD environment

@prabash-moj prabash-moj requested a review from a team as a code owner January 31, 2025 16:30
@sablumiah
Copy link
Contributor

Terraform Plan Summary

Terraform Plan: 30 to be created, 0 to be destroyed, 0 to be updated, 0 to be replaced and 0 unchanged.

Resources to create:

+ kubernetes_config_map.rds
+ kubernetes_secret.elasticache_redis
+ kubernetes_secret.hmpps_personal_relationships_domain_events_topic
+ kubernetes_secret.irsa
+ kubernetes_secret.rds
+ module.elasticache_redis.aws_elasticache_replication_group.ec_redis
+ module.elasticache_redis.aws_elasticache_subnet_group.ec_subnet
+ module.elasticache_redis.aws_iam_policy.irsa
+ module.elasticache_redis.aws_security_group.ec
+ module.elasticache_redis.random_id.auth_token
+ module.elasticache_redis.random_id.id
+ module.irsa.kubernetes_service_account.generated_sa
+ module.irsa.module.iam_assumable_role.aws_iam_role.this[0]
+ module.irsa.module.iam_assumable_role.aws_iam_role_policy_attachment.this["/hmpps-audit-preprod/sqs/Digital-Prison-Services-preprod-hmpps_audit_queue/irsa-policy-arn"]
+ module.irsa.module.iam_assumable_role.aws_iam_role_policy_attachment.this["/hmpps-domain-events-preprod/sns/cloud-platform-Digital-Prison-Services-15b2b4a6af7714848baeaf5f41c85fcd/irsa-policy-arn"]
+ module.irsa.random_id.id
+ module.rds.aws_db_instance.rds
+ module.rds.aws_db_parameter_group.custom_parameters
+ module.rds.aws_db_subnet_group.db_subnet[0]
+ module.rds.aws_iam_policy.irsa
+ module.rds.aws_kms_alias.alias[0]
+ module.rds.aws_kms_key.kms[0]
+ module.rds.aws_security_group.rds-sg
+ module.rds.random_id.id
+ module.rds.random_password.password
+ module.rds.random_string.username
+ module.serviceaccount.kubernetes_role.github_actions_role
+ module.serviceaccount.kubernetes_role_binding.github-actions-rolebinding
+ module.serviceaccount.kubernetes_secret_v1.serviceaccount-token
+ module.serviceaccount.kubernetes_service_account.github_actions_serviceaccount

@sablumiah
Copy link
Contributor

This PR CANNOT be auto approved and requires manual approval from the Cloud Platform team.
Reason:
🕵️‍♂️ Manual review required: OPA policy checks did not pass.
🕵️‍♂️ Detected changes to K8s YAML files. Manual review needed.
Please raise it in #ask-cloud-platform Slack channel.

@prabash-moj prabash-moj force-pushed the PRC-446-hmpps-personal-relationships-api-pre branch from ec21ff3 to 17aa79f Compare January 31, 2025 16:46
@sablumiah
Copy link
Contributor

Terraform Plan Summary

Terraform Plan: 30 to be created, 0 to be destroyed, 0 to be updated, 0 to be replaced and 0 unchanged.

Resources to create:

+ kubernetes_config_map.rds
+ kubernetes_secret.elasticache_redis
+ kubernetes_secret.hmpps_personal_relationships_domain_events_topic
+ kubernetes_secret.irsa
+ kubernetes_secret.rds
+ module.elasticache_redis.aws_elasticache_replication_group.ec_redis
+ module.elasticache_redis.aws_elasticache_subnet_group.ec_subnet
+ module.elasticache_redis.aws_iam_policy.irsa
+ module.elasticache_redis.aws_security_group.ec
+ module.elasticache_redis.random_id.auth_token
+ module.elasticache_redis.random_id.id
+ module.irsa.kubernetes_service_account.generated_sa
+ module.irsa.module.iam_assumable_role.aws_iam_role.this[0]
+ module.irsa.module.iam_assumable_role.aws_iam_role_policy_attachment.this["/hmpps-audit-preprod/sqs/Digital-Prison-Services-preprod-hmpps_audit_queue/irsa-policy-arn"]
+ module.irsa.module.iam_assumable_role.aws_iam_role_policy_attachment.this["/hmpps-domain-events-preprod/sns/cloud-platform-Digital-Prison-Services-15b2b4a6af7714848baeaf5f41c85fcd/irsa-policy-arn"]
+ module.irsa.random_id.id
+ module.rds.aws_db_instance.rds
+ module.rds.aws_db_parameter_group.custom_parameters
+ module.rds.aws_db_subnet_group.db_subnet[0]
+ module.rds.aws_iam_policy.irsa
+ module.rds.aws_kms_alias.alias[0]
+ module.rds.aws_kms_key.kms[0]
+ module.rds.aws_security_group.rds-sg
+ module.rds.random_id.id
+ module.rds.random_password.password
+ module.rds.random_string.username
+ module.serviceaccount.kubernetes_role.github_actions_role
+ module.serviceaccount.kubernetes_role_binding.github-actions-rolebinding
+ module.serviceaccount.kubernetes_secret_v1.serviceaccount-token
+ module.serviceaccount.kubernetes_service_account.github_actions_serviceaccount

@sablumiah
Copy link
Contributor

This PR CANNOT be auto approved and requires manual approval from the Cloud Platform team.
Reason:
🕵️‍♂️ Manual review required: OPA policy checks did not pass.
🕵️‍♂️ Detected changes to K8s YAML files. Manual review needed.
Please raise it in #ask-cloud-platform Slack channel.

@prabash-moj prabash-moj force-pushed the PRC-446-hmpps-personal-relationships-api-pre branch from 17aa79f to 528b90e Compare January 31, 2025 16:50
@sablumiah
Copy link
Contributor

Terraform Plan Summary

Terraform Plan: 30 to be created, 0 to be destroyed, 0 to be updated, 0 to be replaced and 0 unchanged.

Resources to create:

+ kubernetes_config_map.rds
+ kubernetes_secret.elasticache_redis
+ kubernetes_secret.hmpps_personal_relationships_domain_events_topic
+ kubernetes_secret.irsa
+ kubernetes_secret.rds
+ module.elasticache_redis.aws_elasticache_replication_group.ec_redis
+ module.elasticache_redis.aws_elasticache_subnet_group.ec_subnet
+ module.elasticache_redis.aws_iam_policy.irsa
+ module.elasticache_redis.aws_security_group.ec
+ module.elasticache_redis.random_id.auth_token
+ module.elasticache_redis.random_id.id
+ module.irsa.kubernetes_service_account.generated_sa
+ module.irsa.module.iam_assumable_role.aws_iam_role.this[0]
+ module.irsa.module.iam_assumable_role.aws_iam_role_policy_attachment.this["/hmpps-audit-preprod/sqs/Digital-Prison-Services-preprod-hmpps_audit_queue/irsa-policy-arn"]
+ module.irsa.module.iam_assumable_role.aws_iam_role_policy_attachment.this["/hmpps-domain-events-preprod/sns/cloud-platform-Digital-Prison-Services-15b2b4a6af7714848baeaf5f41c85fcd/irsa-policy-arn"]
+ module.irsa.random_id.id
+ module.rds.aws_db_instance.rds
+ module.rds.aws_db_parameter_group.custom_parameters
+ module.rds.aws_db_subnet_group.db_subnet[0]
+ module.rds.aws_iam_policy.irsa
+ module.rds.aws_kms_alias.alias[0]
+ module.rds.aws_kms_key.kms[0]
+ module.rds.aws_security_group.rds-sg
+ module.rds.random_id.id
+ module.rds.random_password.password
+ module.rds.random_string.username
+ module.serviceaccount.kubernetes_role.github_actions_role
+ module.serviceaccount.kubernetes_role_binding.github-actions-rolebinding
+ module.serviceaccount.kubernetes_secret_v1.serviceaccount-token
+ module.serviceaccount.kubernetes_service_account.github_actions_serviceaccount

@sablumiah
Copy link
Contributor

This PR CANNOT be auto approved and requires manual approval from the Cloud Platform team.
Reason:
🕵️‍♂️ Manual review required: OPA policy checks did not pass.
🕵️‍♂️ Detected changes to K8s YAML files. Manual review needed.
Please raise it in #ask-cloud-platform Slack channel.

@prabash-moj prabash-moj merged commit 371112c into main Jan 31, 2025
15 checks passed
@prabash-moj prabash-moj deleted the PRC-446-hmpps-personal-relationships-api-pre branch January 31, 2025 17:00
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.

4 participants