-
Notifications
You must be signed in to change notification settings - Fork 0
[PLT-890] add legacy variable to tfstate service and create backends #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 54 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
6f4e743
add legacy variable to tfstate service and create backends
juliareynolds-nava fa9ed38
add greenfield buckets
juliareynolds-nava 3f6a9eb
remove dynamo table config
juliareynolds-nava 4786972
remove dynamo table config
juliareynolds-nava 787ec9b
remove dynamo table config
juliareynolds-nava ce06b3d
remove dynamo table config
juliareynolds-nava ac2f8d7
add use_lockfile to backend s3
juliareynolds-nava 2ebbe71
add use_lockfile to backend s3. Upgrade to terraform 1.10 to support …
juliareynolds-nava ade7f0c
Upgrade to terraform 1.10 to support use_lockfile = true in tfstate/t…
juliareynolds-nava 6e6030e
Remove mgmt env for services
juliareynolds-nava 354264b
Remove mgmt env for services
juliareynolds-nava 65ce333
Remove mgmt env for services
juliareynolds-nava 2656185
Only delete dynamo table for greenfield
juliareynolds-nava 7a64dfd
restore table for legacy
juliareynolds-nava 40e8284
restore table for legacy mgmt
juliareynolds-nava a2d98e3
restore name for legacy non-prod access
juliareynolds-nava 487a543
restore name for legacy non-prod access
juliareynolds-nava 52b2c4d
revert legacy backend files
juliareynolds-nava 5d581ce
legacy access logs
juliareynolds-nava dc9edc5
use lockfile for gf
juliareynolds-nava acce017
Revert "PLT-917: Changing runner machine type to m6a.xlarge for bette…
juliareynolds-nava db6903f
revert
juliareynolds-nava 63f2af3
revert
juliareynolds-nava 10d0b38
revert
juliareynolds-nava 5c19de8
upgrade to tf 1.10.5
juliareynolds-nava 0e22aa0
tf fmt
juliareynolds-nava 596cd99
restore mgmt env
juliareynolds-nava 0831711
legacy bucket name
juliareynolds-nava 09e8c64
revert
juliareynolds-nava 9a2cfbb
revert
juliareynolds-nava 843d1fe
conditionally build dynamodb state table
juliareynolds-nava 2296799
PLT-800: Update WAF README.md (#210)
gfreeman-navapbc 37c885f
rollback
juliareynolds-nava d1d34ee
rollback
juliareynolds-nava 5b85feb
pr feedback
juliareynolds-nava fbedc4a
pr feedback
juliareynolds-nava bf62750
update sbx to sandbox
juliareynolds-nava 56cf0c7
update sbx to sandbox
juliareynolds-nava 4e8ee0c
Revert "update sbx to sandbox"
juliareynolds-nava 09f23c7
Drop changes that should not be in this PR
gsf 2dd016a
Fix newline at end of file
gsf 93db60c
Merge branch 'main' into jreynolds_plt_890_bucket_changes
gsf 87b3761
Add sandbox env as an option for tfstate
gsf f839348
added "sandbox" to environment options for services and modules.
juliareynolds-nava 933835b
correct terraform format
juliareynolds-nava e0b88e2
correct terraform format
juliareynolds-nava 729b8f5
add mgmt for legacy backends
juliareynolds-nava c55e86d
tf fmt
juliareynolds-nava 5be22e1
creating sandbox backends in non-prod
juliareynolds-nava 417ce68
revert
juliareynolds-nava efd2d82
Revert "added "sandbox" to environment options for services and modul…
juliareynolds-nava 7fb6293
Format gf backends
gsf 11a3b4f
created prod backends
juliareynolds-nava f7b6c26
created prod backends
juliareynolds-nava 79ed1c6
move dynamodb table
juliareynolds-nava 641930e
update ab2d dev
juliareynolds-nava afc5a72
Fix references in bucket module
gsf 87af94c
Drop extra comment hash
gsf 4118497
Fix ordering in variable error message
gsf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 +1 @@ | ||
| 1.5.5 | ||
| 1.10.5 |
This file contains hidden or 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,2 @@ | ||
| bucket = "ab2d-dev-tfstate-20250409213758051700000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "ab2d-prod-tfstate-20250411202936776600000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "ab2d-sandbox-tfstate-20250416200059224300000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "ab2d-test-tfstate-20250410134820763500000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "bcda-dev-tfstate-20250409202710600700000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "bcda-prod-tfstate-20250411203841436200000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "bcda-sandbox-tfstate-20250416201512973800000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "bcda-test-tfstate-20250409171646342600000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "cdap-mgmt-tfstate-20250416203557378600000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "dpc-dev-tfstate-20250409165915907400000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "dpc-prod-tfstate-20250411204900543700000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "dpc-sandbox-tfstate-20250416202240532700000001" | ||
| use_lockfile = true |
This file contains hidden or 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,2 @@ | ||
| bucket = "dpc-test-tfstate-20250410145524530000000001" | ||
| use_lockfile = true |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ terraform { | |
| source = "hashicorp/aws" | ||
| } | ||
| } | ||
| required_version = "~> 1.5.5" | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -5,5 +5,4 @@ terraform { | |
| version = "~> 5.8.0" | ||
| } | ||
| } | ||
| required_version = "~> 1.5.5" | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -5,5 +5,4 @@ terraform { | |
| version = "~> 5.8.0" | ||
| } | ||
| } | ||
| required_version = "~> 1.5.5" | ||
| } | ||
This file contains hidden or 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 hidden or 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,5 @@ | ||
| variable "legacy" { | ||
| description = "Is this deployment in the greenfield environment (false)?" | ||
| type = bool | ||
| default = true | ||
| } |
3 changes: 0 additions & 3 deletions
3
terraform/services/github-actions-runner/lambdas-download/versions.tf
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -13,5 +13,4 @@ terraform { | |
| backend "s3" { | ||
| key = "github-actions/terraform.tfstate" | ||
| } | ||
| required_version = "~> 1.5.5" | ||
| } | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,7 @@ provider "aws" { | |||||
| } | ||||||
|
|
||||||
| terraform { | ||||||
| # Comment out backend block and init without -backend-config for initial creation of resources | ||||||
| # # Comment out backend block and init without -backend-config for initial creation of resources | ||||||
|
||||||
| # # Comment out backend block and init without -backend-config for initial creation of resources | |
| # Comment out backend block and init without -backend-config for initial creation of resources |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.