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

ibm_scc_profile: Plugin crashes when resource is updated #4883

Open
timoscho opened this issue Oct 25, 2023 · 0 comments
Open

ibm_scc_profile: Plugin crashes when resource is updated #4883

timoscho opened this issue Oct 25, 2023 · 0 comments
Labels
bug crash Panics on provider service/SCC Issues related to SCC

Comments

@timoscho
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • 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
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Affected Resource(s)

  • ibm_scc_profile

Issue Description

After successfully applying an ibm_scc_profile resource, the user updates the controls and repeat the apply. Instead of updating the resource properly, the plugin crashes.

Error

2023-10-25T11:42:49.083Z [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-10-25T11:42:49.106Z [ERROR] vertex "module.ibm_account_config[\"xxx\"].module.scc.ibm_scc_profile.scc_cis_profile_instance" error: Plugin did not respond

Stack trace from the terraform-provider-ibm_v1.59.0-beta0 plugin:

panic: interface conversion: interface {} is nil, not string

...

Error: The terraform-provider-ibm_v1.59.0-beta0 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
@github-actions github-actions bot added bug crash Panics on provider service/SCC Issues related to SCC labels Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash Panics on provider service/SCC Issues related to SCC
Projects
None yet
Development

No branches or pull requests

1 participant