diff --git a/automation/jinja2/templates/.gitlab-ci.yml.j2 b/automation/jinja2/templates/.gitlab-ci.yml.j2 index 379ae0a..52e9403 100644 --- a/automation/jinja2/templates/.gitlab-ci.yml.j2 +++ b/automation/jinja2/templates/.gitlab-ci.yml.j2 @@ -66,7 +66,7 @@ stages: script: | #!/usr/bin/env bash echo "Getting temporary credentials associated to assume role" - STS_CREDS=$(aws sts assume-role --role-arn arn:aws:iam::903534291474:role/Vocalcom-CiCd-CrossAccountRole --role-session-name ${CI_COMMIT_SHA}) + STS_CREDS=$(aws sts assume-role --role-arn arn:aws:iam::903534291474:role/XXXXXX-CiCd-CrossAccountRole --role-session-name ${CI_COMMIT_SHA}) AWS_ACCESS_KEY_ID=$(echo $STS_CREDS | jq -r '.Credentials.AccessKeyId') AWS_SECRET_ACCESS_KEY=$(echo $STS_CREDS | jq -r '.Credentials.SecretAccessKey') AWS_SESSION_TOKEN=$(echo $STS_CREDS | jq -r '.Credentials.SessionToken') diff --git a/configure.yaml.dist b/configure.yaml.dist index 4c096e8..0005ad2 100644 --- a/configure.yaml.dist +++ b/configure.yaml.dist @@ -57,14 +57,14 @@ GITLAB_JOBS: apply_all: True delete_all: True -CICD_ROLE_NAME: Vocalcom-CiCd-CrossAccountRole +CICD_ROLE_NAME: XXXXXX-CiCd-CrossAccountRole -# Run Terraform apply only on main branch +# Run Terraform apply only on main branch TF_APPLY_ONLY_MAIN: True # Set Terraform Token key and value to access Terraform Module stored onGitLab TF_TOKEN_MODULE_ACCESS: False -TF_TOKEN_MODULE_ACCESS_KEY: +TF_TOKEN_MODULE_ACCESS_KEY: TF_TOKEN_MODULE_ACCESS_VALUE: ######################################################################################################################## @@ -82,7 +82,7 @@ TF_VAR_backend_dynamodb_table: tfstate-terraformstarterkit-lock TF_VAR_backend_bucket_access_role: arn:aws:iam::538728450418:role/vcl-platformadmin-role ######################################################################################################################## -# LOCAL DEVELOPMENT +# LOCAL DEVELOPMENT ######################################################################################################################## LOCAL_ROLE_NAME: vcl-platformadmin-role TF_VAR_assume_role: vcl-platformadmin-role