Skip to content

eventbridge-sfn-terraform: Update AWS Provider to v6#3069

Open
kakakakakku wants to merge 2 commits into
aws-samples:mainfrom
kakakakakku:eventbridge-sfn-terraform
Open

eventbridge-sfn-terraform: Update AWS Provider to v6#3069
kakakakakku wants to merge 2 commits into
aws-samples:mainfrom
kakakakakku:eventbridge-sfn-terraform

Conversation

@kakakakakku
Copy link
Copy Markdown
Contributor

Issue #, if available:
N/A

Description of changes:
Hi😀 Thanks for the useful patterns!

To keep this pattern maintainable, I updated the AWS Provider to v6.

Check

terraform apply completed successfully and works good.

$ aws events put-events --entries file://event-A.json --region us-east-1
{
    "FailedEntryCount": 0,
    "Entries": [
        {
            "EventId": "c50fee9c-1316-0d0d-b8e1-e53d12c1289f"
        }
    ]
}

$ aws events put-events --entries file://event-B.json --region us-east-1
{
    "FailedEntryCount": 0,
    "Entries": [
        {
            "EventId": "5369ae64-7800-6347-1b6a-7a36d89b6c2a"
        }
    ]
}

$ aws events put-events --entries file://event-Fail.json --region us-east-1
{
    "FailedEntryCount": 0,
    "Entries": [
        {
            "EventId": "9710a0b6-a0bc-1471-28d6-1324da7c5bf5"
        }
    ]
}

Thank you😀


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

}

# Create an IAM policy for Eventbridge to be able to start a Step Function execution
# Create an IAM policy for Eventbridge to be able to start a Step Functions execution
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@parikhudit parikhudit May 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming: Request you to refer the official Lambda durable functions docs. Same applies in hitl-lambda-durable-function-cdk/README.md and fix pre-existing nits for AWS Service names, including this one.

@parikhudit
Copy link
Copy Markdown
Contributor

@kakakakakku Thanks for the v6 bump and the service name fix.

aws = {
source = "hashicorp/aws"
version = "~> 3.27"
version = "~> 6.0"
Copy link
Copy Markdown
Contributor

@parikhudit parikhudit May 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: jumping ~> 3.27 → ~> 6.0 skips v4 and v5. The Terraform v6 upgrade guide recommends stepping through the latest 5.x first. None of the resources used here seem to have v6 breaking changes, so for fresh deployments this works. However, please confirm in the PR description that you've run terraform init && terraform apply against ~> 6.0 end-to-end.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants