-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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]: aws_apprunner_service returns empty value for "service_url" #27861
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
It looks the error is not in the aws provider nor in the sdk. It's in AWS api. |
What do you recomend me to do ? |
I think this will take time. I am going to raise an issue in the SDK repo hoping this will passed along the teams and fix it. |
After digging a bit more, it looks the problem occurs only if the service is deployed privately and not publicly accessible. However the console returns the Url in any case. |
That is correct the amazon console returns the proper URL in both cases. |
I worked around this by using the dns_target attribute of the aws_apprunner_custom_domain_association resource. |
This functionality has been released in v5.27.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.1.0
AWS Provider Version
Affected Resource(s)
aws_apprunner_service
Expected Behavior
service_url is not empty
Actual Behavior
service_url = null
Relevant Error/Panic Output Snippet
Terraform Configuration Files
apprunner-error.zip
Steps to Reproduce
decompress the zip file and run:
terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: