Repository navigation
Conversation
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.
|
Terraform plan in terraform Plan: 0 to add, 1 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# module.aws_custom_policies.aws_iam_policy.custom_policy["IncubatorTfPlanSecretsRead"] will be updated in-place
!~ resource "aws_iam_policy" "custom_policy" {
id = "arn:aws:iam::035866691871:policy/IncubatorTfPlanSecretsRead"
name = "IncubatorTfPlanSecretsRead"
!~ policy = jsonencode(
!~ {
!~ Statement = [
# (1 unchanged element hidden)
{
Action = [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:ListBucket",
"s3:GetBucketLocation",
]
Effect = "Allow"
Resource = [
"arn:aws:s3:::hfla-ops-terraform-state",
"arn:aws:s3:::hfla-ops-terraform-state/*",
]
Sid = "AllowS3BackendAccessForTerraformPlan"
},
- {
- Action = [
- "dynamodb:PutItem",
- "dynamodb:DeleteItem",
- "dynamodb:GetItem",
- "dynamodb:UpdateItem",
- "dynamodb:DescribeTable",
]
- Effect = "Allow"
- Resource = [
- "arn:aws:dynamodb:us-west-2:035866691871:table/hfla_ops_terraform_table",
]
- Sid = "AllowDynamoDBLockTableAccessForTerraformPlan"
},
]
# (1 unchanged attribute hidden)
}
)
tags = {}
# (7 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.📝 Plan generated in Write Terraform Plan to Pull Request #124 |
10 of 22 tasks
Member
|
@here this looks good, but can you please the issue-pr link in the pr description, for yours it should be "refs hackforla/devops#218" instead of "Fixes #replace_this_text_with_the_issue_number" |
ale210
requested changes
Oct 22, 2026
ale210
left a comment
Member
There was a problem hiding this comment.
please update the first line of the PR that does the issue link
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #replace_this_text_with_the_issue_number
What changes did you make?
Why did you make the changes (we will use this info to test)?
Expect exactly one terraform plan change: an in-place update of module.aws_custom_policies.aws_iam_policy.custom_policy["IncubatorTfPlanSecretsRead"], from the JSON edit. Anything else — any replacement, any second resource — is a stop-and-raise.
After the PR merges, confirm Apply Terraform changes on merge succeeds with no Deprecated Parameter warning, and that the policy's new default version no longer contains the DynamoDB statement.
After the merge, re-open /issues/new/choose and confirm the pre-work template renders without the DynamoDB step. GitHub renders issue templates from the default branch only, so this genuinely cannot be checked from the branch.