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

Support the new ZoneId field on Availability Zones #6546

Closed
tecnobrat opened this issue Nov 21, 2018 · 4 comments · Fixed by #6686
Closed

Support the new ZoneId field on Availability Zones #6546

tecnobrat opened this issue Nov 21, 2018 · 4 comments · Fixed by #6686
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@tecnobrat
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The ec2 describe-availability-zones call now returns a ZoneId field which gives you the exact physical location of where that AZ is. For example, the cli now returns:

            "State": "available",
            "ZoneName": "us-east-1a",
            "Messages": [],
            "ZoneId": "use1-az1",
            "RegionName": "us-east-1"

This is powerful for being able to exclude certain availability zones when they don't have supported instance types or features (EKS is one)

New or Affected Resource(s)

data.aws_availability_zone
data.aws_availability_zones

Probably others.

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service. labels Nov 21, 2018
@ewbankkit
Copy link
Contributor

ewbankkit commented Nov 30, 2018

More information on Availability Zone IDs here and their use with RAM here.
Note that AvailabilityZoneId has also now been added to the CreateSubnet API as it is needed for VPC sharing.

@bflad bflad added this to the v1.51.0 milestone Dec 3, 2018
@bflad
Copy link
Contributor

bflad commented Dec 3, 2018

Support for zone ID in the two availability zone data sources has been merged and will release with version 1.51.0 of the AWS provider, likely in the next day or two. 👍

@bflad
Copy link
Contributor

bflad commented Dec 5, 2018

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

@ghost
Copy link

ghost commented Apr 2, 2020

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 Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants