Skip to content

Commit

Permalink
Merge pull request #1645 from cloud-gov/csb-iam-output
Browse files Browse the repository at this point in the history
Output new CSB access key to terraform state and rename module
  • Loading branch information
jameshochadel committed Apr 23, 2024
2 parents 326cc72 + 04e2951 commit 4590274
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion terraform/modules/csb/outputs.tf
Expand Up @@ -19,4 +19,3 @@ output "secret_access_key_curr" {
value = aws_iam_access_key.iam_access_key.secret
sensitive = true
}

9 changes: 9 additions & 0 deletions terraform/stacks/main/outputs.tf
Expand Up @@ -645,6 +645,15 @@ output "external_domain_broker_gov_secret_access_key_prev" {
sensitive = true
}

output "csb_gov_access_key_id_curr" {
value = module.csb.access_key_id_curr
}

output "csb_gov_secret_access_key_curr" {
value = module.csb.secret_access_key_curr
sensitive = true
}

output "domains_dedicated_lbgroup_target_group_apps_https_names" {
value = module.dedicated_loadbalancer_group.domains_lbgroup_target_group_apps_https_names
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/stacks/main/stack.tf
Expand Up @@ -433,7 +433,7 @@ module "sns" {
sns_cg_platform_slack_notifications_email = var.sns_cg_platform_slack_notifications_email
}

module "cloud_service_broker" {
module "csb" {
source = "../../modules/csb"

stack_description = var.stack_description
Expand Down

0 comments on commit 4590274

Please sign in to comment.