diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index fb21918..28406d7 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -222,15 +222,14 @@ pipelines: feature/DOC-595-cicd-for-prod: - parallel: - step: - name: Plan devops-pipeline on PROD + name: Apply devops-pipeline on PROD image: hugree/bitbucket-aws-python38-tf154:latest oidc: true script: - *aws-context-prod - - echo $AWS_ROLE_ARN | base64 - aws sts get-caller-identity --output text - pip install -r requirements.txt - - BB_PIPELINE_BRANCH="DEV" python terraform.py plan --environment=prod --module=devops-pipeline/other-resources + - BB_PIPELINE_BRANCH="DEV" python terraform.py apply --environment=prod --module=devops-pipeline/other-resources # - step: # name: Plan streamlit-server on PROD # image: hugree/bitbucket-aws-python38-tf154:latest diff --git a/devops-pipeline/other-resources/vars-uat.tfvars b/devops-pipeline/other-resources/vars-uat.tfvars index 1d307e6..52f31a7 100644 --- a/devops-pipeline/other-resources/vars-uat.tfvars +++ b/devops-pipeline/other-resources/vars-uat.tfvars @@ -1,3 +1,3 @@ aws_account_id = 975049960860 -storage_integration_external_id = "OQ11564_SFCRole=2_L4NUsKqd3NIBmrATa1djc/T3ECQ=" +storage_integration_external_id = "OQ11564_SFCRole=2_yIGmS6lIr9sc1V6IdTqkl/8l1e4=" cross_account_target_account_id = 660131068782 \ No newline at end of file