Skip to content

data-source/aws_availability_zones: Fix group_names attribute to be Computed instead of Optional#14412

Merged
bflad merged 1 commit into
masterfrom
b-aws_availability_zones-group_names-Computed
Jul 31, 2020
Merged

data-source/aws_availability_zones: Fix group_names attribute to be Computed instead of Optional#14412
bflad merged 1 commit into
masterfrom
b-aws_availability_zones-group_names-Computed

Conversation

@bflad

@bflad bflad commented Jul 30, 2020

Copy link
Copy Markdown
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #14405

Release note for CHANGELOG:

* data-source/aws_availability_zones: Prevent unexpected plan output every apply with `group_names` attribute

Output from acceptance testing:

--- PASS: TestAccAWSAvailabilityZones_Filter (7.67s)
--- PASS: TestAccAWSAvailabilityZones_basic (7.83s)
--- PASS: TestAccAWSAvailabilityZones_AllAvailabilityZones (7.88s)
--- PASS: TestAccAWSAvailabilityZones_stateFilter (7.88s)
--- PASS: TestAccAWSAvailabilityZones_ExcludeNames (9.35s)
--- PASS: TestAccAWSAvailabilityZones_ExcludeZoneIds (9.41s)

…omputed instead of Optional

Reference: #14405

Output from acceptance testing:

```
--- PASS: TestAccAWSAvailabilityZones_Filter (7.67s)
--- PASS: TestAccAWSAvailabilityZones_basic (7.83s)
--- PASS: TestAccAWSAvailabilityZones_AllAvailabilityZones (7.88s)
--- PASS: TestAccAWSAvailabilityZones_stateFilter (7.88s)
--- PASS: TestAccAWSAvailabilityZones_ExcludeNames (9.35s)
--- PASS: TestAccAWSAvailabilityZones_ExcludeZoneIds (9.41s)
```
@bflad bflad added the bug Addresses a defect in current functionality. label Jul 30, 2020
@bflad bflad requested a review from a team July 30, 2020 16:06
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. labels Jul 30, 2020

@anGie44 anGie44 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@bflad bflad added this to the v3.1.0 milestone Jul 31, 2020
@bflad bflad merged commit d3c1160 into master Jul 31, 2020
@bflad bflad deleted the b-aws_availability_zones-group_names-Computed branch July 31, 2020 02:24
bflad added a commit that referenced this pull request Jul 31, 2020
@ghost

ghost commented Aug 7, 2020

Copy link
Copy Markdown

This has been released in version 3.1.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost

ghost commented Aug 30, 2020

Copy link
Copy Markdown

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Aug 30, 2020
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. size/XS Managed by automation to categorize the size of a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws_availability_zones started proposing changes on each apply

2 participants