π Describe the bug
The state bucket and DynamoDB tables are named inconsistently across the bootstrap, github and environment-specific terraform dirs, causing the following error when deploying an environment:
β Error: Failed to get existing workspaces: S3 bucket does not exist.
β
β The referenced S3 bucket must have been previously created. If the S3 bucket
β was created within the last minute, please wait for a minute or two and try
β again.
β
π Expected Behavior
Bootstrapping infra with task deploy-<environment> should work without error.
π Steps To Reproduce
Create a new project from the talos template and provision a new environment with task deploy-<environment>.
π Additional context
Looking at the copier templates, they are referencing the state bucket in inconsistent ways. In bootstrap it's named:
bucket = "{{ copier__terraform_state_name }}"
in github/oidc.tf it's named:
bucket = "{{ copier__project_dash }}-terraform-state"
π Relevant log output
πΈ Screenshots
No response
π Describe the bug
The state bucket and DynamoDB tables are named inconsistently across the bootstrap, github and environment-specific terraform dirs, causing the following error when deploying an environment:
π Expected Behavior
Bootstrapping infra with
task deploy-<environment>should work without error.π Steps To Reproduce
Create a new project from the talos template and provision a new environment with
task deploy-<environment>.π Additional context
Looking at the copier templates, they are referencing the state bucket in inconsistent ways. In
bootstrapit's named:in github/oidc.tf it's named:
π Relevant log output
πΈ Screenshots
No response