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_logs_outgoing_webhook does not work when provider visibility set to private #5824

Open
ocofaigh opened this issue Nov 28, 2024 · 0 comments
Labels
service/Cloud Logs Issues related to Cloud Logs

Comments

@ocofaigh
Copy link
Contributor

ocofaigh commented Nov 28, 2024

ibm_logs_outgoing_webhook does not work when provider visibility set to private. You get the following error on refresh:

 2024/11/28 11:12:59 Terraform plan | Error: ---
 2024/11/28 11:12:59 Terraform plan | id: terraform-9f85d607
 2024/11/28 11:12:59 Terraform plan | summary: 'GetOutgoingWebhookWithContext failed: Get "https://957df4f6-fd58-481a-bebf-71cc023fc048.api.private.eu-de.logs.cloud.ibm.com/v1/outgoing_webhooks/5b0ba34c-2af0-4ba9-8175-5131a171c0a6":
 2024/11/28 11:12:59 Terraform plan |   EOF'
 2024/11/28 11:12:59 Terraform plan | severity: error
 2024/11/28 11:12:59 Terraform plan | resource: ibm_logs_outgoing_webhook
 2024/11/28 11:12:59 Terraform plan | operation: read
 2024/11/28 11:12:59 Terraform plan | component:
 2024/11/28 11:12:59 Terraform plan |   name: github.com/IBM-Cloud/terraform-provider-ibm
 2024/11/28 11:12:59 Terraform plan |   version: 1.71.2
 2024/11/28 11:12:59 Terraform plan | ---

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

Terraform CLI and Terraform IBM Provider Version

  • tf 1.9.2
  • provider 1.72.2

Affected Resource(s)

  • ibm_logs_outgoing_webhook

Terraform Configuration Files

https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances/blob/76577069900611729501d37489e263f21201cab6/modules/cloud_logs/main.tf#L109-L121

Debug Output

Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@github-actions github-actions bot added the service/Cloud Logs Issues related to Cloud Logs label Nov 28, 2024
ocofaigh pushed a commit to terraform-ibm-modules/terraform-ibm-observability-da that referenced this issue Nov 28, 2024
…itecture solution<br>* set the `provider_visibility` to default to `public` in the instances variation to workaround provider bug: IBM-Cloud/terraform-provider-ibm#5824 (#226)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Cloud Logs Issues related to Cloud Logs
Projects
None yet
Development

No branches or pull requests

1 participant