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

ecr_registry: repositry_url output doesn't support china/gov region #5741

Closed
ofirnn opened this issue Aug 30, 2018 · 5 comments · Fixed by #5748
Closed

ecr_registry: repositry_url output doesn't support china/gov region #5741

ofirnn opened this issue Aug 30, 2018 · 5 comments · Fixed by #5748
Labels
bug Addresses a defect in current functionality. partition/aws-cn Pertains to the aws-cn partition. service/ecr Issues and PRs that pertain to the ecr service.
Milestone

Comments

@ofirnn
Copy link

ofirnn commented Aug 30, 2018

Terraform Version

0.11.3

Affected Resource(s)

  • aws_ecr_repository

Terraform Configuration Files

output "e2e_ecr_url" {
value = "${aws_ecr_repository.attribution-cf-e2e.repository_url}"
}

Debug Output

Expected Behavior

URL ends with com.cn for cn-north-1 region

Actual Behavior

URL ends with com for cn-north-1 region

Steps to Reproduce

Create ECR repository in china
Try to output the URL

@bflad bflad added bug Addresses a defect in current functionality. service/ecr Issues and PRs that pertain to the ecr service. partition/aws-cn Pertains to the aws-cn partition. labels Aug 31, 2018
@bflad
Copy link
Contributor

bflad commented Aug 31, 2018

I have submitted a bug fix pull request for this resource to use the RepositoryUri attribute from the API (was not available when the resource was first created) instead of building it ourselves: #5748

@bflad bflad added this to the v1.35.0 milestone Aug 31, 2018
@bflad
Copy link
Contributor

bflad commented Aug 31, 2018

The fix for this has been merged into master and will release with version 1.35.0 of the AWS provider, likely middle of next week. 👍

@bflad
Copy link
Contributor

bflad commented Sep 6, 2018

This has been released in version 1.35.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 3, 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 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. partition/aws-cn Pertains to the aws-cn partition. service/ecr Issues and PRs that pertain to the ecr service.
Projects
None yet
2 participants