Skip to content

🤖🤖🤖 r/aws_ec2_application_status_check_association: add resource and list resource - #49490

Open
shblue21 wants to merge 4 commits into
hashicorp:mainfrom
shblue21:f-ec2-application-status-check-association
Open

🤖🤖🤖 r/aws_ec2_application_status_check_association: add resource and list resource#49490
shblue21 wants to merge 4 commits into
hashicorp:mainfrom
shblue21:f-ec2-application-status-check-association

Conversation

@shblue21

@shblue21 shblue21 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

None.

Description

Note

This external-fork branch is stacked on #49487, so GitHub's Files changed view currently also includes changes from that PR.

Review the association-only diff. After #49487 merges, this branch will be rebased onto upstream main.

Adds the aws_ec2_application_status_check_association resource and corresponding List Resource. Associations can target an EC2 instance or instances matching a tag key-value pair. The resource supports Resource Identity and import by composite ID.

Fixes imports when optional Resource Identity attributes are omitted by preserving typed null values.

Relations

Closes #49391

Depends on #49487

References

Output from Acceptance Testing

% make testacc PKG=ec2 TESTS='^TestAccEC2ApplicationStatusCheckAssociation_'

--- PASS: TestAccEC2ApplicationStatusCheckAssociation_disappears (44.46s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_disappears_ApplicationStatusCheck (44.91s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_List_includeResource (45.33s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_List_basic (46.56s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_List_regionOverride (47.11s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_basic (47.86s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_Identity_basic (65.10s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_replaceTarget (65.19s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_Identity_regionOverride (66.36s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_instance (137.18s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/ec2  142.831s

🤖 This PR was created with AI assistance. The human author is responsible for all submitted code and understands it fully.

@dosubot dosubot Bot added new-list-resource Introduces list resource support. new-resource Introduces a new resource. labels Aug 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

… resource

```console
% make testacc PKG=ec2 TESTS='^TestAccEC2ApplicationStatusCheckAssociation_'

--- PASS: TestAccEC2ApplicationStatusCheckAssociation_disappears (44.46s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_disappears_ApplicationStatusCheck (44.91s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_List_includeResource (45.33s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_List_basic (46.56s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_List_regionOverride (47.11s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_basic (47.86s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_Identity_basic (65.10s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_replaceTarget (65.19s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_Identity_regionOverride (66.36s)
--- PASS: TestAccEC2ApplicationStatusCheckAssociation_instance (137.18s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/ec2  142.831s
```
@shblue21
shblue21 force-pushed the f-ec2-application-status-check-association branch from ce0649b to 3c58baf Compare August 14, 2026 08:03
@github-actions github-actions Bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/ec2 Issues and PRs that pertain to the ec2 service. provider Pertains to the provider itself, rather than any interaction with AWS. sweeper Pertains to changes to or issues with the sweeper. repository Repository modifications; GitHub Actions, developer docs, issue templates, codeowners, changelog. generators Relates to code generators. github_actions Pull requests that update Github_actions code size/XL Managed by automation to categorize the size of a PR. labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Introduces or discusses updates to documentation. generators Relates to code generators. github_actions Pull requests that update Github_actions code needs-triage Waiting for first response or review from a maintainer. new-list-resource Introduces list resource support. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. repository Repository modifications; GitHub Actions, developer docs, issue templates, codeowners, changelog. service/ec2 Issues and PRs that pertain to the ec2 service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EC2 application status checks

1 participant