forked from ned1313/Implementing-Terraform-on-AWS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
104 additions
and
33 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# We are going to create the CodeCommit, CodeBuild, and CodePipeline objects | ||
# This will NOT add code to CodeCommit, that must be done separately | ||
# You will need the name of the state_bucket created in 4-remote-state-setup | ||
|
||
# Rename terraform.tfvars.example to terraform.tfvars and update values | ||
|
||
# Initialize the terraform configuration | ||
terraform init | ||
|
||
# Plan the terraform deployment | ||
terraform plan -out code.tfplan | ||
|
||
# Apply the deployment | ||
terraform apply "code.tfplan" | ||
|
||
|
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,5 @@ | ||
region = "us-east-1" | ||
|
||
state_bucket = "STATE_BUCKET_NAME" | ||
|
||
dynamodb_table_name = "DYNAMODB_TABLE_NAME" |