Typos
This commit is contained in:
parent
368a45fde8
commit
f57fdb2f93
2 changed files with 5 additions and 5 deletions
|
@ -66,7 +66,7 @@ stages:
|
||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo "Getting temporary credentials associated to assume role"
|
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_ACCESS_KEY_ID=$(echo $STS_CREDS | jq -r '.Credentials.AccessKeyId')
|
||||||
AWS_SECRET_ACCESS_KEY=$(echo $STS_CREDS | jq -r '.Credentials.SecretAccessKey')
|
AWS_SECRET_ACCESS_KEY=$(echo $STS_CREDS | jq -r '.Credentials.SecretAccessKey')
|
||||||
AWS_SESSION_TOKEN=$(echo $STS_CREDS | jq -r '.Credentials.SessionToken')
|
AWS_SESSION_TOKEN=$(echo $STS_CREDS | jq -r '.Credentials.SessionToken')
|
||||||
|
|
|
@ -57,14 +57,14 @@ GITLAB_JOBS:
|
||||||
apply_all: True
|
apply_all: True
|
||||||
delete_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
|
TF_APPLY_ONLY_MAIN: True
|
||||||
|
|
||||||
# Set Terraform Token key and value to access Terraform Module stored onGitLab
|
# Set Terraform Token key and value to access Terraform Module stored onGitLab
|
||||||
TF_TOKEN_MODULE_ACCESS: False
|
TF_TOKEN_MODULE_ACCESS: False
|
||||||
TF_TOKEN_MODULE_ACCESS_KEY:
|
TF_TOKEN_MODULE_ACCESS_KEY:
|
||||||
TF_TOKEN_MODULE_ACCESS_VALUE:
|
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
|
TF_VAR_backend_bucket_access_role: arn:aws:iam::538728450418:role/vcl-platformadmin-role
|
||||||
|
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
# LOCAL DEVELOPMENT
|
# LOCAL DEVELOPMENT
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
LOCAL_ROLE_NAME: vcl-platformadmin-role
|
LOCAL_ROLE_NAME: vcl-platformadmin-role
|
||||||
TF_VAR_assume_role: vcl-platformadmin-role
|
TF_VAR_assume_role: vcl-platformadmin-role
|
||||||
|
|
Loading…
Reference in a new issue