hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.83k stars 9.18k forks source link

service/networkmanager: Defects in attachment resources #34502

Open gdavison opened 11 months ago

gdavison commented 11 months ago

Terraform Core Version

N/A

AWS Provider Version

5.26.0

Affected Resource(s)

Expected Behavior

N/A

Actual Behavior

While investigating #34501, I discovered the following issues:

  1. aws_networkmanager_attachment_accepter:

    • [ ] deleting aws_networkmanager_attachment_accepter does not revoke the attachment
      • addressed for VPC attachment in #34547
  2. aws_networkmanager_vpc_attachment:

    • [x] acceptance tests do not associate VPC attachment with a network segment, which is required for correct configuration #34547
    • [x] acceptance tests do not test behaviour when acceptance is required #34547
  3. aws_networkmanager_connect_attachment:

    • [ ] incorrectly returns error stating that non-accepted attachments cannot be deleted
    • [ ] acceptance tests do not test behaviour when acceptance is required
  4. aws_networkmanager_site_to_site_vpn_attachment:

    • [ ] incorrectly returns error stating that non-accepted attachments cannot be deleted
    • [ ] acceptance tests do not test behaviour when acceptance is required
  5. aws_networkmanager_transit_gateway_route_table_attachment:

    • [ ] acceptance tests do not associate VPC attachment with a network segment, which is required for correct configuration
    • [ ] acceptance tests do not test behaviour when acceptance is required

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

N/A

Steps to Reproduce

N/A

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 11 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue