Skip to content

Commit ec62636

Browse files
committed
Fix useast1 provider
* Use `configuration_aliases` to allow the provider to be configured in the parent and passed through to the module
1 parent df8823c commit ec62636

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
entrypoint: terraform
3030
args: init
3131

32+
- name: Copy useast1 provider fix for terraform validate
33+
run: cp provider.tf.validate-fix provider.tf
34+
3235
- name: Run a Terraform validate
3336
uses: docker://hashicorp/terraform:1.1.7
3437
with:

provider.tf

Lines changed: 0 additions & 4 deletions
This file was deleted.

versions.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
terraform {
22
required_version = ">= 1.1.7"
33
required_providers {
4-
aws = "~> 4.4"
4+
aws = {
5+
version = "~> 4.4"
6+
configuration_aliases = [aws.useast1]
7+
}
58
}
69
}

0 commit comments

Comments
 (0)