mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 23:02:13 -05:00
Remove the profile attribute entirely
This was what was apparently breaking our Terraform actions. I traced this to an undocumented breaking change with the AWS provider; more details can be seen here: https://discuss.hashicorp.com/t/error-error-configuring-terraform-aws-provider-failed-to-get-shared-config-profile-default/39417/2 Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -88,6 +88,8 @@ The below steps rely on you first configuring access to the Terraform state in s
|
||||
terraform plan
|
||||
```
|
||||
|
||||
If the `terraform init` command fails, you may need to run `terraform init -upgrade` to make sure new module versions are picked up.
|
||||
|
||||
1. Apply changes with `terraform apply`.
|
||||
|
||||
1. Remove the space deployer service instance if it doesn't need to be used again, such as when manually running terraform once.
|
||||
|
||||
@@ -12,7 +12,6 @@ terraform {
|
||||
key = "api.tfstate.demo"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
# profile = "notify-terraform-backend"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ terraform {
|
||||
key = "api.tfstate.prod"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
# profile = "notify-terraform-backend"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ terraform {
|
||||
key = "api.tfstate.sandbox"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
# profile = "notify-terraform-backend"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ terraform {
|
||||
key = "api.tfstate.stage"
|
||||
encrypt = "true"
|
||||
region = "us-gov-west-1"
|
||||
# profile = "notify-terraform-backend"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user