Closed kennedy closed 2 years ago
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
This PR was automatically closed because of stale in 10 days
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
The
availability_zone
of the instance is very useful information to use outside of the module. This PR provides that information.Motivation and Context
When creating an external or auxiliary
aws_ebs_volume
for the EC2 instance, it requires an availability zone argument. Often times, we would like to have the EBS volume in the same AZ as the EC2. Having that information would make that design much easier.Resolves #264
Breaking Changes
None
How Has This Been Tested?
examples/*
projectsIn terraform, I declared a ec2 module with my revisions and used the outputs for aws_volume_attachment and aws_ebs_volume arguements:
Environment: