Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 8bc8e2e

Browse files
authored
fix: remove workaround for provider issue - attachements will now be updated in place is config is being updated (for example changing the scope) (#289)
1 parent 6fbd497 commit 8bc8e2e

File tree

6 files changed

+4
-16
lines changed

6 files changed

+4
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ You need the following permissions to run this module.
6666
| Name | Version |
6767
|------|---------|
6868
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
69-
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >=1.76.0, <2.0.0 |
69+
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >=1.77.1, <2.0.0 |
7070
| <a name="requirement_time"></a> [time](#requirement\_time) | >= 0.12.1, <1.0.0 |
7171

7272
### Modules

examples/advanced/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
ibm = {
88
source = "IBM-Cloud/ibm"
9-
version = "1.76.0"
9+
version = "1.77.1"
1010
}
1111
}
1212
}

examples/basic/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
ibm = {
88
source = "IBM-Cloud/ibm"
9-
version = ">= 1.76.0"
9+
version = ">= 1.77.1"
1010
}
1111
}
1212
}

modules/attachment/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ No modules.
4242
| Name | Type |
4343
|------|------|
4444
| [ibm_scc_profile_attachment.profile_attachment](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/scc_profile_attachment) | resource |
45-
| [terraform_data.replacement](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |
4645
| [ibm_scc_profile.scc_profile](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/scc_profile) | data source |
4746
| [ibm_scc_profiles.scc_profiles](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/scc_profiles) | data source |
4847

modules/attachment/main.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,4 @@ resource "ibm_scc_profile_attachment" "profile_attachment" {
9999
threshold_limit = var.notification_threshold_limit
100100
}
101101
}
102-
103-
lifecycle {
104-
replace_triggered_by = [terraform_data.replacement]
105-
}
106-
107-
}
108-
109-
# workaround for https://github.com/IBM-Cloud/terraform-provider-ibm/issues/6044
110-
# approach based on https://developer.hashicorp.com/terraform/language/resources/terraform-data#example-usage-data-for-replace_triggered_by
111-
resource "terraform_data" "replacement" {
112-
input = var.scope_ids
113102
}

version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terraform {
66
required_providers {
77
ibm = {
88
source = "IBM-Cloud/ibm"
9-
version = ">=1.76.0, <2.0.0"
9+
version = ">=1.77.1, <2.0.0"
1010
}
1111

1212
time = {

0 commit comments

Comments
 (0)