GSA-TTS / tts-tech-operations

TTS Technology Operations
https://handbook.tts.gsa.gov/tech-operations/
Other
6 stars 0 forks source link

Update AWS-Admin CircleCi Config #1707

Closed nateprice18f closed 5 months ago

nateprice18f commented 5 months ago
### Tasks
- [x] Update circleci config to use terraform orb
- [x] Change terraform orb to use 1.8.3 container image
- [x] terraform init
- [x] terrsform fmt
- [x] terraform validate
- [x] Use "terraform force-unlock <ID>" to unlock DB
- [x] terraform plan
### Tasks
- [x] Address terraform plan
- [x] Update TF code to address "Note: Objects have changed outside of Terraform" changes
- [x] Review terraform plan output
- [x] Update TF code to address plan output issues.
- [x] Rerun terraform plan
### Tasks
nateprice18f commented 5 months ago
Updating CircleCi to address code changes 

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan:

<Removed check branch 619 for more information>
    }
nateprice18f commented 5 months ago

Need to address other terraform plan issues.

6x Warning: Failed to decode resource from state

│ Warning: Argument is deprecated
│ 
│  <Removed check branch 619 for more information>
│  <Removed check branch 619 for more information>
│   81: resource "" "access" {
│ 
│ Use the aws_s3_bucket_server_side_encryption_configuration resource instead
│ 
│ (and 23 more similar warnings elsewhere)
╵
╷
│ Error: failed to get shared config profile, default
│ 
│   with provider["registry.terraform.io/hashicorp/aws"],
│   <Removed check branch 619 for more information>
│   26: provider "aws" {
nateprice18f commented 5 months ago

CircleCI config changes have been completed.