Skip to content

Commit 2ba4e77

Browse files
committed
Merge branch 'master' into migration-PR-sdk-test-donot-delete
2 parents 239ba63 + db1eb3f commit 2ba4e77

File tree

466 files changed

+17789
-315600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

466 files changed

+17789
-315600
lines changed

CHANGELOG.md

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,161 @@
1+
# 1.81.0 (July 31, 2025)
2+
3+
* Support for Cloud Internet Services
4+
- **Datasources**
5+
- ibm_cis_managed_lists
6+
- ibm_cis_custom_lists
7+
- ibm_cis_custom_list_items
8+
- **Resources**
9+
- ibm_cis_custom_list
10+
- ibm_cis_custom_list_items
11+
* Support for VPC Infrastructure
12+
- **Datasources**
13+
- ibm_is_public_address_ranges
14+
- ibm_is_public_address_range
15+
- ibm_is_image_bare_metal_server_profiles
16+
- ibm_is_image_instance_profiles
17+
- ibm_is_snapshot_instance_profiles
18+
- ibm_is_volume_instance_profiles
19+
- **Resources**
20+
- ibm_is_public_address_range
21+
* Support for Power Systems
22+
- **Datasources**
23+
- ibm_pi_software_tiers
24+
* Support for IAM
25+
- **Datasources**
26+
- ibm_iam_trusted_profile_identities
27+
28+
## Enhancements
29+
### CD Tekton Pipeline
30+
* add support for waiting runs limit ([6335](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6335))
31+
### Cloud Internet Services
32+
* trusted profile support for ibm_cis datasource ([6363](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6363))
33+
* Add support for managed and custom lists ([6310](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6310))
34+
### Hpcs
35+
* Support for trusted profile token ([6388](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6388))
36+
### IAM
37+
* Handle failed state assignments ([6372](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6372))
38+
* added trusted profile identities ([6316](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6316))
39+
### ODF
40+
* ODF 4.18 initial support ([6348](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6348))
41+
### Power Systems
42+
* [DataSource] [Resource] Add Software Tier support for data sources and resources ([6321](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6321))
43+
* Timeout changes ([6392](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6392))
44+
### VMware
45+
* update vmware service ([6329](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6329))
46+
### VPC Infrastructure
47+
* public address range development ([6341](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6341))
48+
* Added support for source_snapshot on instance template ([6364](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6364))
49+
* image capabilities changes ([6366](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6366))
50+
* Legacy vendor images support for vpc-services ([6357](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6357))
51+
* Added support for tags in is_vpn_server resource ([6295](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6295))
52+
* Added crn to virtual network interface for is_instance ([6297](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6297))
53+
54+
## Deprecation
55+
### IAM
56+
* deprecate iam_service_id and profile_id while creation of policies ([6345](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6345))
57+
58+
59+
## Bug Fixes
60+
### Cloud Internet Services
61+
* update error toolchain changes for cis ([6300](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6300))
62+
### Dns Services
63+
* update error toolchain changes for dns services ([6289](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6289))
64+
### IAM
65+
* Fix build failure issues ([6367](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6367))
66+
* Fixed documentation on access management templates ([6298](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6298))
67+
### Key Management
68+
* fix KMS example code and typos ([6337](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6337))
69+
### Logs
70+
* fix dashboard panic ([6374](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6374))
71+
### Power Systems
72+
* [Resource] [Datasource] Replace SSH Key API with new API ([6375](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6375))
73+
* Remove dhcp option and fix arp-broadcast bug ([6380](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6380))
74+
### Directlink
75+
* update error toolchain changes for direct link ([6272](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6272))
76+
### Transit Gateway
77+
* update error toolchain changes for transit gateway ([6274](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6274))
78+
### VPC Infrastructure
79+
* Added an empty check on allowed_use for is_instance ([6381](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6381))
80+
* handle nil pointer in VPN server route deletion wait ([6369](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6369))
81+
* is_lb docs for failsafe_policy_actions ([6393](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6393))
82+
83+
84+
# 1.81.0-beta1 (July 25, 2025)
85+
86+
## Bug Fixes
87+
88+
### VPC Infrastructure
89+
* Added an empty check on allowed_use for is_instance ([6381](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6381))
90+
91+
92+
# 1.81.0-beta0 (July 24, 2025)
93+
94+
## Bug Fixes
95+
96+
### Cloud Logs
97+
* fix dashboard panic ([6374](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6374))
98+
99+
### Key Management
100+
* fix KMS example code and typos ([6337](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6337))
101+
102+
### Direct Link
103+
* update error toolchain changes for direct link ([6272](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6272))
104+
105+
### IAM
106+
* Fix build failure issues ([6367](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6367))
107+
* Fixed documentation on access management templates ([6298](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6298))
108+
109+
### Power Systems
110+
* [Resource] [Datasource] Replace SSH Key API with new API ([6375](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6375))
111+
112+
### Transit Gateway
113+
* update error toolchain changes for transit gateway ([6274](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6274))
114+
115+
### VPC Infrastructure
116+
* handle nil pointer in VPN server route deletion wait ([6369](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6369))
117+
118+
## Enhancements
119+
120+
### CD Tekton Pipeline
121+
* add support for waiting runs limit ([6335](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6335))
122+
123+
### Cloud Internet Services
124+
* Add support for managed and custom lists ([6310](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6310))
125+
126+
### IAM
127+
* Handle failed state assignments ([6372](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6372))
128+
129+
### ODF
130+
* ODF 4.18 initial support ([6348](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6348))
131+
132+
### Power Systems
133+
* [DataSource] [Resource] Add Software Tier support for data sources and resources ([6321](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6321))
134+
135+
### VMware
136+
* update vmware service ([6329](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6329))
137+
138+
### VPC Infrastructure
139+
* added support for vpc-services ([6357](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6357))
140+
* public address range development ([6341](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6341))
141+
* Added support for tags in is_vpn_server resource ([6295](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6295))
142+
* Added support for source_snapshot on instance template ([6364](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6364))
143+
* image capabilities changes ([6366](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6366))
144+
* Added crn to virtual network interface for is_instance ([6297](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6297))
145+
146+
## Deprecations
147+
148+
### IAM
149+
* deprecate iam_service_id and profile_id while creation of policies ([6345](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6345))
150+
151+
152+
# 1.80.4 (July 15, 2025)
153+
## Bug Fixes
154+
155+
### Power Systems
156+
* Revert "[Resource] [Datasource] Replace SSH Key API with new API ([6355](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/6355))
157+
158+
1159
# 1.80.3 (July 11, 2025)
2160
## Bug Fixes
3161

examples/ibm-cis/main.tf

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,4 +855,42 @@ data ibm_cis_origin_certificates "test" {
855855
cis_id = ibm_cis.instance.id
856856
domain_id = ibm_cis_domain.example.id
857857
certificate_id = "25392180178235735583993116186144990011711092749"
858-
}
858+
}
859+
860+
# Get Managed lists
861+
data ibm_cis_managed_lists managed_lists {
862+
cis_id = ibm_cis.instance.id
863+
}
864+
865+
# Get custom lists
866+
data ibm_cis_custom_lists custom_lists {
867+
cis_id = ibm_cis.instance.id
868+
list_id = ibm_cis.lists.list_id
869+
}
870+
871+
# create custom list
872+
resource ibm_cis_custom_list custom_list {
873+
cis_id = ibm_cis.instance.id
874+
kind = var.list.kind
875+
name = var.list.name
876+
description = var.list.description
877+
}
878+
879+
# Get custom list items
880+
data ibm_cis_custom_list_items custom_list_items {
881+
cis_id = ibm_cis.instance.id
882+
list_id = ibm_cis.lists.list_id
883+
item_id = ibm_cis.lists.item.item_id
884+
}
885+
886+
# Create custom list items
887+
resource ibm_cis_custom_list_items items {
888+
cis_id = ibm_cis.instance.id
889+
list_id = ibm_cis.lists.list_id
890+
items {
891+
ip = var.ip1
892+
}
893+
items {
894+
ip = var.ip2
895+
}
896+
}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Examples for IAM Identity Services
2+
3+
These examples illustrate how to use the resources and data sources associated with IAM Identity Services.
4+
5+
The following resources are supported:
6+
* ibm_iam_trusted_profile_identities
7+
8+
The following data sources are supported:
9+
* ibm_iam_trusted_profile_identities
10+
11+
## Usage
12+
13+
To run this example, execute the following commands:
14+
15+
```bash
16+
$ terraform init
17+
$ terraform plan
18+
$ terraform apply
19+
```
20+
21+
Run `terraform destroy` when you don't need these resources.
22+
23+
## IAM Identity Services resources
24+
25+
### Resource: ibm_iam_trusted_profile_identities
26+
27+
```hcl
28+
resource "ibm_iam_trusted_profile_identities" "iam_trusted_profile_identities_instance" {
29+
profile_id = var.iam_trusted_profile_identities_profile_id
30+
if_match = var.iam_trusted_profile_identities_if_match
31+
identities = var.iam_trusted_profile_identities_identities
32+
}
33+
```
34+
35+
#### Inputs
36+
37+
| Name | Description | Type | Required |
38+
|------|-------------|------|---------|
39+
| ibmcloud\_api\_key | IBM Cloud API key | `string` | true |
40+
| profile_id | ID of the trusted profile. | `string` | true |
41+
| if_match | Entity tag of the Identities to be updated. Specify the tag that you retrieved when reading the Profile Identities. This value helps identify parallel usage of this API. Pass * to indicate updating any available version, which may result in stale updates. | `string` | true |
42+
| identities | List of identities. | `list()` | false |
43+
44+
## IAM Identity Services data sources
45+
46+
### Data source: ibm_iam_trusted_profile_identities
47+
48+
```hcl
49+
data "ibm_iam_trusted_profile_identities" "iam_trusted_profile_identities_instance" {
50+
profile_id = var.data_iam_trusted_profile_identities_profile_id
51+
}
52+
```
53+
54+
#### Inputs
55+
56+
| Name | Description | Type | Required |
57+
|------|-------------|------|---------|
58+
| profile_id | ID of the trusted profile. | `string` | true |
59+
60+
#### Outputs
61+
62+
| Name | Description |
63+
|------|-------------|
64+
| entity_tag | Entity tag of the profile identities response. |
65+
| identities | List of identities. |
66+
67+
## Assumptions
68+
69+
1. TODO
70+
71+
## Notes
72+
73+
1. TODO
74+
75+
## Requirements
76+
77+
| Name | Version |
78+
|------|---------|
79+
| terraform | ~> 0.12 |
80+
81+
## Providers
82+
83+
| Name | Version |
84+
|------|---------|
85+
| ibm | 1.13.1 |
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
provider "ibm" {
2+
ibmcloud_api_key = var.ibmcloud_api_key
3+
}
4+
5+
// Provision iam_trusted_profile_identities resource instance
6+
resource "ibm_iam_trusted_profile_identities" "iam_trusted_profile_identities_instance" {
7+
profile_id = var.iam_trusted_profile_identities_profile_id
8+
9+
dynamic "identities" {
10+
for_each = var.iam_trusted_profile_identities
11+
content {
12+
iam_id = identities.value.iam_id
13+
type = identities.value.type
14+
identifier = identities.value.identifier
15+
accounts = identities.value.accounts
16+
description = identities.value.description
17+
}
18+
}
19+
}
20+
21+
// Create iam_trusted_profile_identities data source
22+
data "ibm_iam_trusted_profile_identities" "iam_trusted_profile_identities_instance" {
23+
profile_id = var.iam_trusted_profile_identities_profile_id
24+
}
25+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This output allows iam_trusted_profile_identities data to be referenced by other resources and the terraform CLI
2+
// Modify this output if only certain data should be exposed
3+
output "ibm_iam_trusted_profile_identities" {
4+
value = ibm_iam_trusted_profile_identities.iam_trusted_profile_identities_instance
5+
description = "iam_trusted_profile_identities resource instance"
6+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
variable "ibmcloud_api_key" {
2+
description = "IBM Cloud API key"
3+
type = string
4+
}
5+
6+
// Resource arguments for iam_trusted_profile_identities
7+
variable "iam_trusted_profile_identities_profile_id" {
8+
description = "ID of the trusted profile."
9+
type = string
10+
default = "profile_id"
11+
}
12+
variable "iam_trusted_profile_identities_if_match" {
13+
description = "Entity tag of the Identities to be updated. Specify the tag that you retrieved when reading the Profile Identities. This value helps identify parallel usage of this API. Pass * to indicate updating any available version, which may result in stale updates."
14+
type = string
15+
default = "if_match"
16+
}
17+
variable "iam_trusted_profile_identities" {
18+
description = "List of identities for the trusted profile."
19+
type = list(object({
20+
iam_id = string
21+
type = string
22+
identifier = string
23+
accounts = list(string)
24+
description = string
25+
}))
26+
default = [
27+
{
28+
iam_id = "IBMid-5500082WK4"
29+
type = "user"
30+
identifier = "IBMid-5500082WK4"
31+
accounts = ["86a1004d3f1848a291de32874cb48120"]
32+
description = "tf_description_profile identity description"
33+
}
34+
]
35+
}
36+
37+
// Data source arguments for iam_trusted_profile_identities
38+
variable "data_iam_trusted_profile_identities_profile_id" {
39+
description = "ID of the trusted profile."
40+
type = string
41+
default = "profile_id"
42+
}
43+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
terraform {
2+
required_version = ">= 1.0"
3+
required_providers {
4+
ibm = {
5+
source = "IBM-Cloud/ibm"
6+
version = "1.51.0"
7+
}
8+
}
9+
}

examples/ibm-key-protect/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ data "ibm_kp_key" "test" {
2626
key_protect_id = "${ibm_kp_key.test.key_protect_id}"
2727
}
2828

29-
resource "ibm_cos_bucket" "flex-us-south" {
29+
resource "ibm_cos_bucket" "smart-us-south" {
3030
depends_on = [ibm_iam_authorization_policy.policy]
3131
bucket_name = var.bucket_name
3232
resource_instance_id = ibm_resource_instance.cos_instance.id
3333
region_location = "us-south"
34-
storage_class = "flex"
34+
storage_class = "smart"
3535
kms_key_crn = ibm_kp_key.test.id
3636
}

0 commit comments

Comments
 (0)