Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default partition_count is null on aws_placement_group in 3.63.0 #21610

Closed
bacoboy-doordash opened this issue Nov 3, 2021 · 2 comments
Closed
Labels
bug Addresses a defect in current functionality. service/ec2 Issues and PRs that pertain to the ec2 service.

Comments

@bacoboy-doordash
Copy link

#15360 introduced partition_count as "optional" on aws_placement_group, but if the strategy is partitioned then the default says it should be 2, but is in fact null is applied resulting in a force replacement.

+/- resource "aws_placement_group" "origin_nodes" {
      ~ arn                = "arn:aws:ec2:us-east-2:XXXXXX:placement-group/my-pg" -> (known after apply)
      ~ id                 = "my-pg" -> (known after apply)
        name               = "my-pg"
      - partition_count    = 2 -> null # forces replacement
      ~ placement_group_id = "pg-07ee5cfebfa8ee032" -> (known after apply)
        # (2 unchanged attributes hidden)
    }

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/ec2 Issues and PRs that pertain to the ec2 service. labels Nov 3, 2021
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 3, 2021
@ewbankkit
Copy link
Contributor

@bacoboy-doordash Thanks for raising this issue.
It has already been noticed in #21446. I'm going to close this one as a duplicate so that we can concentrate discussion in the linked issue.
Please add any additional comments there.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

No branches or pull requests

2 participants