[DOC-595] apply textract for PROD

This commit is contained in:
Grzegorz Huber
2024-06-26 19:08:45 +02:00
parent ee8e35ba2b
commit c839a2a0fb
3 changed files with 25 additions and 8 deletions
+8 -8
View File
@@ -238,14 +238,14 @@ pipelines:
- *aws-context-prod
- pip install -r requirements.txt
- BB_PIPELINE_BRANCH="DEV" python terraform.py apply --environment=prod --module=streamlit-server
# - step:
# name: Plan textract-pipeline on PROD
# image: hugree/terraform-with-snowsql:latest
# oidc: true
# script:
# - *aws-context-prod
# - pip install -r requirements.txt
# - BB_PIPELINE_BRANCH="DEV" python terraform.py plan --environment=prod --module=textract-pipeline/terraform
- step:
name: Apply textract-pipeline on PROD
image: hugree/terraform-with-snowsql:latest
oidc: true
script:
- *aws-context-prod
- pip install -r requirements.txt
- BB_PIPELINE_BRANCH="DEV" python terraform.py apply --environment=prod --module=textract-pipeline/terraform
feature/DOC-536-smart-git-diff:
- parallel:
+7
View File
@@ -39,6 +39,13 @@ locals {
devops_s3_bucket_name = "doczyai-use2-u-infra-s3-devops-resources"
api_access_required_roles_arns = ["arn:aws:iam::975049960860:role/doczyai-use2-u-rol-streamlit-server"]
}
prod = {
vpc_id = "vpc-00cfffdf5b3ff8aec"
secret_manager_name = "doczy_dev_db_creds"
devops_s3_bucket_name = "doczyai-use2-p-infra-s3-devops-resources"
api_access_required_roles_arns = ["arn:aws:iam::211125720533:role/doczyai-use2-p-rol-streamlit-server"]
}
}
# region abbreviation
@@ -0,0 +1,10 @@
aws_account_id = 211125720533
# TODO provide new layer arn for UAT? 336392948345 was used in DEV but not sure what account that is?!
text_creation_lambda_additional_layer_arn = "arn:aws:lambda:us-east-2:336392948345:layer:AWSSDKPandas-Python312:8"
client_list = {
client1 = {
client_id = "cn1"
full_name = "Centene"
}
}