Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
module.XXXXX.aws_grafana_workspace.this[0] will be updated in-place
~ resource "aws_grafana_workspace" "this" {
id = "g-XXXXXX"
name = "XXXXXX"
tags = {}
Add grafana resource with a network resource. Attempt to update grafana resource to go to an unconfigured network access control: network_access_control = {
prefix_list_ids = []
vpce_ids = []
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.8.5
AWS Provider Version
5.57
Affected Resource(s)
resource "aws_grafana_workspace"
Expected Behavior
Update state to recognize there is no NACL on the resource
Actual Behavior
Crash.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place
Terraform will perform the following actions:
module.XXXXX.aws_grafana_workspace.this[0] will be updated in-place
~ resource "aws_grafana_workspace" "this" { id = "g-XXXXXX" name = "XXXXXX" tags = {}
(16 unchanged attributes hidden)
module.XXXXXX.aws_grafana_workspace.this[0] will be updated in-place
~ resource "aws_grafana_workspace" "this" { id = "g-XXXXXX" name = "XXXXXX" tags = {}
(16 unchanged attributes hidden)
Steps to Reproduce
Add grafana resource with a network resource. Attempt to update grafana resource to go to an unconfigured network access control: network_access_control = { prefix_list_ids = [] vpce_ids = [] }
Get errors during the Terraform update:
│ Error: updating Grafana Workspace (g-XXXX): InvalidParameter: 2 validation error(s) found. │ - missing required field, UpdateWorkspaceInput.NetworkAccessControl.PrefixListIds. │ - missing required field, UpdateWorkspaceInput.NetworkAccessControl.VpceIds.
Use AWS Console to reconfigure Grafana workspace to open access.
Change TF config to empty values, run TF, provider crashes.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None