-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: In aws_lightsail_instance
, availability_zone
is limited to those belong to the region in provider "aws"
#28869
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hey @np36 👋 My read on those docs is that those are the availability zones that currently support Lightsail. You could, however, utilize different regions by using provider aliasing and passing the |
We should add validation to the |
@gdavison I am looking at providing a fix for this. How would one access the providers region within the schema? |
@brittandeyoung you'll need to use a Thanks for picking this up! |
This functionality has been released in v4.59.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. Thank you! |
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. |
Terraform Core Version
1.3.7
AWS Provider Version
4.45.0
Affected Resource(s)
Expected Behavior
availability_zone
inaws_lightsail_instance
could be set to any one that listed in Terraform Doc/aws/Resource: aws_lightsail_instance/Availability Zones:Actual Behavior
if set
provider
like this:and set
aws_lightsail_instance
like this:terraform apply
would complain:Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
if set
provider
like this:and set
aws_lightsail_instance
like this:terraform apply
would complain:Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: