Skip to content

Add availability_zone output #264

Closed
Closed
@kennedy

Description

@kennedy

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

When trying to create additional EBS volumes, it requires the availability_zone. The EC2 module is not outputting the AZ of itself to use as reference.

Describe the solution you'd like.

It would be very helpful to get the EC2 instance's availability_zone in the output as reference.

Describe alternatives you've considered.

Would need to create a data.aws_instance resource using the module.ec2-instance.id for the availability_zone information.

Additional context

If the data.aws_instance resource has a for_each/count loop on the module, it would have an error indicating your would need to apply the module first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions