This pull request primarily focuses on changes to AWS service connections and Terraform configurations in the pipeline. The most important changes include enabling the AWS service connection in the pipeline, updating the Terraform version, modifying the AWS service details and region, adding new properties to the task context and AWS provider configuration, and updating the S3 bucket details in the Terraform template.
pipelines/test/aws_service_connection.yml: Updated the Terraform version from 1.0.10 to 1.3.9. Also, the AWS service and region details have been updated for the tasks: 'terraform init', 'terraform plan', 'terraform apply', and 'terraform destroy'. [1][2]
Task Context and AWS Provider Configuration:
tasks/terraform-cli/src/context/azdo-task-context.ts, tasks/terraform-cli/src/context/index.ts, tasks/terraform-cli/src/context/mock-task-context.ts: Added new properties to the task context related to AWS service, including session token, assume role ARN, external ID, and role session name. [1][2][3]
templates/aws/main.tf: Updated the S3 bucket name and added a new resource for S3 bucket ACL. Also, added a block for required providers specifying AWS provider version. [1][2]copilot:summary
This pull request primarily focuses on changes to AWS service connections and Terraform configurations in the pipeline. The most important changes include enabling the AWS service connection in the pipeline, updating the Terraform version, modifying the AWS service details and region, adding new properties to the task context and AWS provider configuration, and updating the S3 bucket details in the Terraform template.
Pipeline Configuration:
pipelines/pipeline-rc.yml
: Enabled the AWS service connection in the pipeline stages.pipelines/test/aws_service_connection.yml
: Updated the Terraform version from 1.0.10 to 1.3.9. Also, the AWS service and region details have been updated for the tasks: 'terraform init', 'terraform plan', 'terraform apply', and 'terraform destroy'. [1] [2]Task Context and AWS Provider Configuration:
tasks/terraform-cli/src/context/azdo-task-context.ts
,tasks/terraform-cli/src/context/index.ts
,tasks/terraform-cli/src/context/mock-task-context.ts
: Added new properties to the task context related to AWS service, including session token, assume role ARN, external ID, and role session name. [1] [2] [3]tasks/terraform-cli/src/providers/aws.ts
: Added a new property for the AWS session token in the AWS provider configuration and set it in the environment variables. [1] [2]tasks/terraform-cli/src/tests/steps/task-context.steps.ts
: Updated the task context in the test steps with the new properties related to AWS service.Terraform Template:
templates/aws/main.tf
: Updated the S3 bucket name and added a new resource for S3 bucket ACL. Also, added a block for required providers specifying AWS provider version. [1] [2]copilot:summary