-
Notifications
You must be signed in to change notification settings - Fork 713
Open
Labels
service/App ConfigurationIssues related to App ConfigurationIssues related to App Configuration
Description
We are intermittently getting a Duplicate source name error when using ibm_app_config_integration_en, however there is not duplication. Its a brand new App Config instance with no previous EN source added. We are even using a random string in the source name to ensure its globally unique:
2025/12/10 11:27:38 Terraform plan | # module.app_config.ibm_app_config_integration_en.app_config_integration_en[0] will be created
2025/12/10 11:27:38 Terraform plan | + resource "ibm_app_config_integration_en" "app_config_integration_en" {
2025/12/10 11:27:38 Terraform plan | + created_time = (known after apply)
2025/12/10 11:27:38 Terraform plan | + description = "The App Configuration integration to send notifications of events to users from the Event Notifications instance GUID 7829cdb8-8462-4a7d-b0a1-525e6b165ae2"
2025/12/10 11:27:38 Terraform plan | + en_endpoint = "https://private.us-south.event-notifications.cloud.ibm.com"
2025/12/10 11:27:38 Terraform plan | + en_instance_crn = "crn:v1:bluemix:public:event-notifications:us-south:a/abac0df06b644a9cabc6e44f55b3880e:7829cdb8-8462-4a7d-b0a1-525e6b165ae2::"
2025/12/10 11:27:38 Terraform plan | + en_source_name = "rag-s-84t-app-config-en"
2025/12/10 11:27:38 Terraform plan | + guid = (known after apply)
2025/12/10 11:27:38 Terraform plan | + href = (known after apply)
2025/12/10 11:27:38 Terraform plan | + id = (known after apply)
2025/12/10 11:27:38 Terraform plan | + integration_id = (known after apply)
2025/12/10 11:27:38 Terraform plan | + integration_type = (known after apply)
2025/12/10 11:27:38 Terraform plan | + updated_time = (known after apply)
2025/12/10 11:27:38 Terraform plan | }
I suspect this is a provider bug where provider is incorrectly retrying after initial attempt actually succeeded. We have seen it in the past with other resources too. (e.g. #6533).
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
- terraform 1.12.2
- provider 1.85.0
Affected Resource(s)
- ibm_app_config_integration_en
Terraform Configuration Files
https://github.com/terraform-ibm-modules/terraform-ibm-app-configuration/blob/main/main.tf
Debug Output
2025/12/10 11:29:47 Terraform apply | Error: [ERROR] Create EN integration failed Conflict - Duplicate source name.
2025/12/10 11:29:47 Terraform apply | {
2025/12/10 11:29:47 Terraform apply | "StatusCode": 409,
2025/12/10 11:29:47 Terraform apply | "Headers": {
2025/12/10 11:29:47 Terraform apply | "Cache-Control": [
2025/12/10 11:29:47 Terraform apply | "no-store"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Cf-Cache-Status": [
2025/12/10 11:29:47 Terraform apply | "DYNAMIC"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Cf-Ray": [
2025/12/10 11:29:47 Terraform apply | "9abc67620d114f6d-IAD"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Content-Language": [
2025/12/10 11:29:47 Terraform apply | "en-US"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Content-Length": [
2025/12/10 11:29:47 Terraform apply | "66"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Content-Type": [
2025/12/10 11:29:47 Terraform apply | "application/json; charset=utf-8"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Date": [
2025/12/10 11:29:47 Terraform apply | "Wed, 10 Dec 2025 11:29:47 GMT"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Server": [
2025/12/10 11:29:47 Terraform apply | "cloudflare"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "Strict-Transport-Security": [
2025/12/10 11:29:47 Terraform apply | "max-age=31536000; includeSubDomains"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "X-Envoy-Upstream-Service-Time": [
2025/12/10 11:29:47 Terraform apply | "27836"
2025/12/10 11:29:47 Terraform apply | ],
2025/12/10 11:29:47 Terraform apply | "X-Powered-By": [
2025/12/10 11:29:47 Terraform apply | "Servlet/4.0"
2025/12/10 11:29:47 Terraform apply | ]
2025/12/10 11:29:47 Terraform apply | },
2025/12/10 11:29:47 Terraform apply | "Result": {
2025/12/10 11:29:47 Terraform apply | "code": "FTEC1025E",
2025/12/10 11:29:47 Terraform apply | "message": "Conflict - Duplicate source name."
2025/12/10 11:29:47 Terraform apply | },
2025/12/10 11:29:47 Terraform apply | "RawResult": null
2025/12/10 11:29:47 Terraform apply | }
2025/12/10 11:29:47 Terraform apply |
2025/12/10 11:29:47 Terraform apply |
2025/12/10 11:29:47 Terraform apply | with module.app_config.ibm_app_config_integration_en.app_config_integration_en[0],
2025/12/10 11:29:47 Terraform apply | on ../../main.tf line 356, in resource "ibm_app_config_integration_en" "app_config_integration_en":
2025/12/10 11:29:47 Terraform apply | 356: resource "ibm_app_config_integration_en" "app_config_integration_en" {
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
- #0000
ocofaigh
Metadata
Metadata
Assignees
Labels
service/App ConfigurationIssues related to App ConfigurationIssues related to App Configuration