Skip to content

Commit

Permalink
updates output to support tf 12 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
jritsema authored May 29, 2020
1 parent 501afa4 commit b565a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env/dev/cicd.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ data "aws_ecr_repository" "ecr" {

# The AWS keys for the CICD user to use in a build system
output "cicd_keys" {
value = "terraform state show aws_iam_access_key.cicd_keys"
value = "terraform show -json | jq '.values.root_module.resources | .[] | select ( .address == \"aws_iam_access_key.cicd_keys\") | { AWS_ACCESS_KEY_ID: .values.id, AWS_SECRET_ACCESS_KEY: .values.secret }'"
}

# The URL for the docker image repo in ECR
Expand Down

0 comments on commit b565a86

Please sign in to comment.