-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kops] Parameterize state backend (#34)
* Parameterize kops setup * Add domain_enabled flag to support gossip mode * Add `force_destroy` flag to facilitate testing * Autoapprove destroy parameter
- Loading branch information
Showing
6 changed files
with
52 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ build-harness | |
*.tfstate.* | ||
.idea | ||
*.iml | ||
.viminfo | ||
.terraform.d |
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,15 @@ | ||
## Initialize terraform remote state | ||
init: | ||
init-terraform | ||
|
||
## Show terraform plan for this project | ||
plan: init | ||
terraform plan | ||
|
||
## Apply terraform plan for this project | ||
apply: init | ||
terraform apply $(TERRAFORM_ARGS) | ||
|
||
## Destroy terraform project | ||
destroy: init | ||
terraform destroy $(TERRAFORM_ARGS) |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ namespace="cp" | |
stage="staging" | ||
region="us-west-2" | ||
zone_name="us-west-2.cloudposse.co" | ||
domain_enabled="true" |
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