Skip to content

Conversation

@ocofaigh
Copy link
Contributor

@ocofaigh ocofaigh commented Dec 10, 2025

Description

There seems to be some timing issue that intermittently causes the following error in the terraform-ibm-app-configuration module:

 2025/12/10 11:29:13 Terraform apply | Error: ---
 2025/12/10 11:29:13 Terraform apply | id: terraform-ded3d559
 2025/12/10 11:29:13 Terraform apply | summary: 'ReplaceSettingsWithContext failed: given app-config instance is not found'
 2025/12/10 11:29:13 Terraform apply | severity: error
 2025/12/10 11:29:13 Terraform apply | resource: ibm_config_aggregator_settings
 2025/12/10 11:29:13 Terraform apply | operation: create
 2025/12/10 11:29:13 Terraform apply | component:
 2025/12/10 11:29:13 Terraform apply |   name: github.com/IBM-Cloud/terraform-provider-ibm
 2025/12/10 11:29:13 Terraform apply |   version: 1.85.0
 2025/12/10 11:29:13 Terraform apply | ---
 2025/12/10 11:29:13 Terraform apply | 
 2025/12/10 11:29:13 Terraform apply | 
 2025/12/10 11:29:13 Terraform apply |   with module.app_config.ibm_config_aggregator_settings.config_aggregator_settings[0],
 2025/12/10 11:29:13 Terraform apply |   on ../../main.tf line 179, in resource "ibm_config_aggregator_settings" "config_aggregator_settings":
 2025/12/10 11:29:13 Terraform apply |  179: resource "ibm_config_aggregator_settings" "config_aggregator_settings" {

I have raised this with App Config team.I suspect if we add a sleep (30sec?) between the ibm_resource_instance.app_config and ibm_config_aggregator_settings.config_aggregator_settings we may be able to reduce the probability of this error occurring.

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@ocofaigh
Copy link
Contributor Author

/run pipeline

@ocofaigh
Copy link
Contributor Author

/run pipeline

@ocofaigh
Copy link
Contributor Author

Error: [ERROR] Create EN integration failed Conflict - Duplicate source name.
Known issue -> IBM-Cloud/terraform-provider-ibm#6588

Retrying..

@ocofaigh
Copy link
Contributor Author

/run pipeline

@ocofaigh
Copy link
Contributor Author

@imprateeksh @mukulpalit-ibm Looking for a review please so I can add to the Cloud-native AI stack

Copy link
Contributor

@mukulpalit-ibm mukulpalit-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ocofaigh ocofaigh merged commit 960733d into main Dec 10, 2025
2 checks passed
@ocofaigh ocofaigh deleted the workaround branch December 10, 2025 20:36
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 1.14.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants