-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates necessary to upgrade Terraform to v0.13.6
- Loading branch information
1 parent
4a8cbfa
commit 7c8bfbe
Showing
10 changed files
with
132 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.13" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.13" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/usr/bin/env bash | ||
|
||
# These commands are necessary to replace the providers, the plan-*** must be | ||
# run first to download new provider plugins, but it will fail. Then the | ||
# replace-provider commands can be run. Finally re-run the plan and it will | ||
# succeed | ||
|
||
# must be done for each DEPLOY_NAME - MATURITY combo | ||
|
||
cd /CIRRUS-core | ||
|
||
make plan-tf | ||
|
||
make plan-daac | ||
|
||
cd /CIRRUS-DAAC/daac | ||
|
||
terraform state replace-provider -auto-approve registry.terraform.io/-/aws registry.terraform.io/hashicorp/aws | ||
terraform state replace-provider -auto-approve registry.terraform.io/-/archive registry.terraform.io/hashicorp/archive | ||
terraform state replace-provider -auto-approve registry.terraform.io/-/null registry.terraform.io/hashicorp/null | ||
|
||
cd /CIRRUS-core | ||
|
||
make plan-daac | ||
|
||
make plan-data-persistence | ||
|
||
cd /CIRRUS-core/data-persistence | ||
|
||
terraform state replace-provider -auto-approve registry.terraform.io/-/aws registry.terraform.io/hashicorp/aws | ||
|
||
cd /CIRRUS-core | ||
|
||
make plan-data-persistence | ||
|
||
make plan-cumulus | ||
|
||
cd /CIRRUS-core/cumulus | ||
|
||
terraform state replace-provider -auto-approve registry.terraform.io/-/aws registry.terraform.io/hashicorp/aws | ||
|
||
cd /CIRRUS-core | ||
|
||
make plan-cumulus | ||
|
||
make plan-workflows | ||
|
||
cd /CIRRUS-DAAC/workflows | ||
|
||
terraform state replace-provider -auto-approve registry.terraform.io/-/aws registry.terraform.io/hashicorp/aws | ||
|
||
cd /CIRRUS-core | ||
|
||
make plan-workflows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
terraform { | ||
required_providers { | ||
aws = "~> 3.19.0" | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = "~> 3.19.0" | ||
} | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
terraform { | ||
required_version = ">= 0.13" | ||
} |