-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
aws/s3_bucket: Expose region + hosted zone ID #1769
Comments
@radeksimko would the The zone ID is interesting. |
@justincampbell Basically I think that the best way to approach the problem would be to change |
And in that case ^ region may not be necessary, but I would export it anyway, if we allow creating buckets in different regions in the future (not just in the region coming from provider). |
👍 I'll either do it in that PR or open a new right after, within a few days |
Needed to support hashicorp/terraform#1769
Needed to support hashicorp/terraform#1769
Needed to support hashicorp/terraform#1769
Done in master...justincampbell:s3-region-zone Either need to wait for feedback on aws/aws-sdk-go#222, or add it to Terraform temporarily. |
@radeksimko aws/aws-sdk-go#222 was rejected. I don't think this logic belongs in TF, but I'd like others to chime in. |
Hm, that sucks... but I still believe that letting user to look for this in the official AWS documentation is a bad approach. |
Worst case scenario, we can at least link to the documentation from the route53_record ALIAS section. |
While I agree it doesn't ultimately belong in TF, I'd toss my vote in for UX over cleanliness here and say we include the metadata. Terraform already holds knowledge of things like historically common config env variables for user benefit, and I don't think it's too much of a stretch to consider this mapping to be in the same arena. That being said, if it's metadata we expect to change more than, say, once every 1-2 years, then perhaps we throw our hands up. |
Done! |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This is likely related to #1738, it can either be done in that PR, or separately once that PR is merged.
Some resources (probably should go into code as a hard-coded map):
http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints
This will be necessary for managing Route 53 ALIAS records pointing to S3 buckets.
cc @justincampbell
The text was updated successfully, but these errors were encountered: