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

The terraform-provider-awscc_v1.12.0_x5 plugin crashed | Using Datazone Module #2057

Closed
ericpachecosousa opened this issue Oct 8, 2024 · 4 comments · Fixed by #2027
Closed

Comments

@ericpachecosousa
Copy link

Hi team,

Regardless of the awscc version I'm using, I started encountering this issue today. It doesn't appear to be related to the version, as I have different codebases using various versions, and all are experiencing the same problem.

│ Error: Plugin did not respond

│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.


│ Error: Plugin did not respond

│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.

Stack trace from the terraform-provider-awscc_v1.12.0_x5 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xb43872]

goroutine 90 [running]:
github.com/hashicorp/terraform-provider-awscc/internal/generic.(*genericResource).Create(0xc001372d20, {0x33929c8?, 0xc003448990?}, {{{{0x3398cb0, 0xc00345dad0}, {0x21fe160, 0xc003456810}}, {0x33c9058, 0xc000529400}}, {{{0x3398cb0, ...}, ...}, ...}, ...}, ...)
github.com/hashicorp/terraform-provider-awscc/internal/generic/resource.go:397 +0x792

@ericpachecosousa ericpachecosousa changed the title The terraform-provider-awscc_v1.12.0_x5 plugin crashed The terraform-provider-awscc_v1.12.0_x5 plugin crashed | Using Datazone Module Oct 8, 2024
@jar-b
Copy link
Member

jar-b commented Oct 9, 2024

Relates #1480

progressEvent needs a nil check prior to referencing Identifier.

var progressEvent *cctypes.ProgressEvent
waiter := cloudcontrol.NewResourceRequestSuccessWaiter(conn, func(o *cloudcontrol.ResourceRequestSuccessWaiterOptions) {
o.Retryable = tfcloudcontrol.RetryGetResourceRequestStatus(&progressEvent)
})
err = waiter.Wait(ctx, &cloudcontrol.GetResourceRequestStatusInput{RequestToken: output.ProgressEvent.RequestToken}, r.createTimeout)
id := aws.ToString(progressEvent.Identifier)

@ericpachecosousa
Copy link
Author

Hi guys like i said i tryed in different currency and i had the same problem as in bellow


│ Error: Plugin did not respond

│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.


│ Error: Plugin did not respond

│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ApplyResourceChange call. The plugin logs may
│ contain more details.

Stack trace from the terraform-provider-awscc_v1.15.0_x5 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xb4e0b2]

goroutine 163 [running]:
github.com/hashicorp/terraform-provider-awscc/internal/generic.(*genericResource).Create(0xc0014a15e0, {0x364fc28?, 0xc003848db0?}, {{{{0x3656050, 0xc003a59800}, {0x22dd5e0, 0xc003849e90}}, {0x3687078, 0xc000a07e00}}, {{{0x3656050, ...}, ...}, ...}, ...}, ...)
github.com/hashicorp/terraform-provider-awscc/internal/generic/resource.go:397 +0x792

module.datazone[0].awscc_datazone_environment_blueprint_configuration.this["DefaultDataWarehouse"] will be created

  • resource "awscc_datazone_environment_blueprint_configuration" "this" {
    • created_at = (known after apply)
    • domain_id = (known after apply)
    • domain_identifier = ""
    • enabled_regions = [
      • "sa-east-1",
      • "us-east-1",
        ]
    • environment_blueprint_id = (known after apply)
    • environment_blueprint_identifier = "DefaultDataWarehouse"
    • id = (known after apply)
    • manage_access_role_arn = "arn:aws:iam:::role/AmazonDataZoneRedshiftManageAccess-prd"
    • provisioning_role_arn = "arn:aws:iam:::role/AmazonDataZoneDomainProvisioning-prd"
    • regional_parameters = (known after apply)
    • updated_at = (known after apply)
      }

@ericpachecosousa
Copy link
Author

Hi team, there is some deadline to fix this problem ? I saw that there is a fix related, but i didn't see any new version

@jar-b
Copy link
Member

jar-b commented Oct 15, 2024

Hi @ericpachecosousa - This will be included in the next release, currently scheduled for this Thursday, October 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants