Skip to content

Commit

Permalink
Remove the profile attribute entirely
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ccostino committed Jan 30, 2024
1 parent b63130c commit 123b19d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion terraform/demo/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ terraform {
key = "api.tfstate.demo"
encrypt = "true"
region = "us-gov-west-1"
# profile = "notify-terraform-backend"
}
}

Expand Down
1 change: 0 additions & 1 deletion terraform/production/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ terraform {
key = "api.tfstate.prod"
encrypt = "true"
region = "us-gov-west-1"
# profile = "notify-terraform-backend"
}
}

Expand Down
1 change: 0 additions & 1 deletion terraform/sandbox/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ terraform {
key = "api.tfstate.sandbox"
encrypt = "true"
region = "us-gov-west-1"
# profile = "notify-terraform-backend"
}
}

Expand Down
1 change: 0 additions & 1 deletion terraform/staging/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ terraform {
key = "api.tfstate.stage"
encrypt = "true"
region = "us-gov-west-1"
# profile = "notify-terraform-backend"
}
}

Expand Down

0 comments on commit 123b19d

Please sign in to comment.