-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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_grafana_license_association
does not import workspace ID
#34714
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
To strictly fix the reported issue, I submitted a PR to add the missing I am able to produce the problem using the I observed the behavior from enabling the trial license in the AWS Management Console, and it seems to be calling different APIs (seemingly the Marketplace API) during the license enablement process. So I am suspecting that the API might not be working properly with free trial license. Unfortunately I don't have the resources to open AWS support ticket to investigate the error further. This is the first time I am dealing with a provider issue that is seemingly caused by AWS-side issues, so I will defer to the regular maintainers to see how it should be best addressed. |
This functionality has been released in v5.34.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.6.5
AWS Provider Version
5.2.9
Affected Resource(s)
Using the terraform-aws-managed-service-grafana module to import a grafana_license_association results in an incomplete import, where the
workspace_id
is not included, leading to Terraform attempting to replace the license association.Expected Behavior
After running something like this:
The
workspace_id
should be populated in the Terraform statefile.Actual Behavior
After importing the resource, the statefile contains a
NULL
value for theworkspace_id
:Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Use Terraform CLI to import the
grafana_license_association
resourceRun
terraform plan
and observe that theworkspace_id
has not been populated in the state file as part of the import.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: