diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index ffaecb2..66cfa53 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -10,7 +10,7 @@ definitions: export AWS_REGION='us-east-2'; - script: &aws-context-uat export AWS_ROLE_ARN=arn:aws:iam::$AWS_ACCOUNT_NO_UAT:role/$OIDC_ROLE_UAT; - export AWS_WEB_IDENTITY_TOKEN_FILE=$(pwd)/web-identity-token;s + export AWS_WEB_IDENTITY_TOKEN_FILE=$(pwd)/web-identity-token; echo $BITBUCKET_STEP_OIDC_TOKEN > $(pwd)/web-identity-token; export AWS_ACCESS_KEY_ID=$(echo $STS_OUTPUT | jq -r '.Credentials.AccessKeyId'); export AWS_SECRET_ACCESS_KEY=$(echo $STS_OUTPUT | jq -r '.Credentials.SecretAccessKey'); diff --git a/devops-pipeline/terraform-backend-resources/variables.tf b/devops-pipeline/terraform-backend-resources/variables.tf index c806237..71eb690 100644 --- a/devops-pipeline/terraform-backend-resources/variables.tf +++ b/devops-pipeline/terraform-backend-resources/variables.tf @@ -23,3 +23,4 @@ variable "client_name" { type = string default = "infra" } +