You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 340a11f
Browse filesBrowse the repository at this point in the historyBrowse files
218 terraform lockfiles use s3 not dynamodb (#219)
* Use S3 native state locking instead of DynamoDB (#218)
Replace the deprecated dynamodb_table backend parameter with
use_lockfile = true, drop the DynamoDB statement from the live
IncubatorTfPlanSecretsRead policy, and remove the lock-table setup
from CONTRIBUTING.md and the pre-work issue template.
The backend.tf comment makes the terraform-plan/apply workflows
trigger, since they only filter on **/*.tf.
* Clarify changes migrating lockfiles to s3 from dynamodb
Continues #218
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/pre-work-template-devops-security.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,8 @@ As a new member on the HfLA devops-security team, fill in the following fields a
35
35
-[ ][Generating user access keys](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#generating-access-keys-for-aws-cli)
36
36
-[ ] Complete the instructions in [AWS Documentation](https://docs.aws.amazon.com/cli/v1/userguide/cli-chap-install.html) and choose your operating system to install AWS CLI.
37
37
-[ ] Complete the instruction in [AWS Documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-short-term.html) to setup the AWS CLI.
38
-
-[ ] Follow the instructions in [Creating a backend state](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#creating-backend-state) to create the S3 bucket and DynamoDB table.
39
-
-[ ] Create the S3 bucket
40
-
-[ ] Create the DynamoDB table
38
+
-[ ] Follow the instructions in [Creating a backend state](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#creating-backend-state) to create the S3 bucket.
39
+
-[ ] Create the S3 bucket
41
40
-[ ] Install Terraform locally by following the instructions of the installation guide mentioned in [Installing Terraform](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#installing-terraform)
42
41
-[ ] Install Terraform Docs locally by following the instructions of the installation guide mentioned in [Installing Terraform docs](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#installing-terraform-docs)
43
42
-[ ] Complete the instructions in [Clone the repository](https://github.com/hackforla/devops-security/blob/main/CONTRIBUTING.md#clone-the-repository)
@@ -78,7 +77,7 @@ Note: You must be authenticated to your AWS account via the CLI for the next com
78
77
If you are unable to authenticate from your local machine using the CLI, post in the #ops channel in Slack so that the team can help you get unblocked.
79
78
- [ ] Execute the command`terraform init` to initialize terraform in the directory. Address any failures that arise (if any).
80
79
- [ ] Execute the command`terraform plan` this will output a plan replicating the same IAM resources as the devops security account. Address any failures that arise (if any).
81
-
- [ ] Then execute the command`terraform apply` this will create all of the resources that are currently managed by Devops Security. All of the resources created here incur zero cost except forthe Dynamo DB installation, which should remainin the free tier. **
80
+
- [ ] Then execute the command`terraform apply` this will create all of the resources that are currently managed by Devops Security. All of the resources created here incur zero cost.
82
81
- [ ] **If you have cost concerns, Run a Terraform Destroy to take down all of the resources you created (don't worry, you can recreate them just as quickly). If you create resources outside of what's described in this issue, you may incur charges.**
83
82
- [ ] Update the README using Terraform Docs to document changes
0 commit comments