Skip to content

Commit d2536a6

Browse files
committed
Merge branch 'master' into vnip2
2 parents eb2f598 + dbf1256 commit d2536a6

File tree

102 files changed

+41927
-39653
lines changed

Some content is hidden

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

102 files changed

+41927
-39653
lines changed

CHANGELOG.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,77 @@
1+
# 1.58.0 (Sep 29, 2023)
2+
3+
Features
4+
* Support Satellite Cluster
5+
- **Resources**
6+
- ibm_satellite_storage_configuration
7+
- ibm_satellite_storage_assignment
8+
- **Datasources**
9+
- ibm_satellite_storage_configuration
10+
- ibm_satellite_storage_assignment
11+
* Support Security and Compliance
12+
- **Resources**
13+
- ibm_scc_rule
14+
- ibm_scc_control_library
15+
- ibm_scc_profile
16+
- ibm_scc_profile_attachment
17+
- ibm_scc_provider_type_instance
18+
- **Datasources**
19+
- ibm_scc_instance_settings
20+
- ibm_scc_control_library
21+
- ibm_scc_profile
22+
- ibm_scc_profile_attachment
23+
- ibm_scc_provider_type
24+
- ibm_scc_provider_type_collection
25+
- ibm_scc_provider_type_instance
26+
- ibm_scc_latest_reports
27+
- ibm_scc_report
28+
- ibm_scc_report_controls
29+
- ibm_scc_report_evaluations
30+
- ibm_scc_report_resources
31+
- ibm_scc_report_rule
32+
- ibm_scc_report_summary
33+
- ibm_scc_report_tags
34+
- ibm_scc_report_violation_drift
35+
- ibm_scc_rule
36+
37+
* Support CD Toolchain
38+
- **Datasources**
39+
- ibm_cd_toolchains
40+
* Support Virtual Private Cloud
41+
- **Resources**
42+
- ibm_is_vpc_dns_resolution_binding
43+
- **Datasources**
44+
- ibm_is_vpc_dns_resolution_binding
45+
- ibm_is_vpc_dns_resolution_bindings
46+
47+
48+
Enhancements
49+
* Added retry mechanism and new SDK generator 3.78 ([4776](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4776))
50+
* Add default cluster versions to cluster versions data source ([4799](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4799))
51+
* Add description for keys and force_delete for deleteKeyRings for IBM ([4767](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4767))
52+
* Retry cloud connection create/update when vpc is unavailable ([4766](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4766))
53+
* Adding support for COS Static Web hosting ([4766](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4766))
54+
* add support for endpoint parameter in cluster_config ([4793](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4793))
55+
* fix(IAM Policy Management): allow sourceServiceName to be optional for authorizational policies ([4804](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4804))
56+
57+
BugFixes
58+
* ops_manager User Creation ([4755](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4755))
59+
* fix(share-iops): Share Iops range fix for dp2 ([4807](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4807))
60+
* fix(VSI-Profile-patch): Remove validation for VSI profile patching ([4824](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4824))
61+
62+
63+
# 1.58.0-beta1 (Sep 25, 2023)
64+
Features
65+
* Support CD Toolchain
66+
- **Datasources**
67+
- ibm_cd_toolchains
68+
* Support Virtual Private Cloud
69+
- **Resources**
70+
- ibm_is_vpc_dns_resolution_binding
71+
- **Datasources**
72+
- ibm_is_vpc_dns_resolution_binding
73+
- ibm_is_vpc_dns_resolution_bindings
74+
175
# 1.58.0-beta0 (Sep 10, 2023)
276

377
Features

examples/ibm-atracker/README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
This example illustrates how to use the AtrackerV2
44

5-
These types of resources are supported:
5+
The following types of resources are supported:
66

77
* Activity Tracker Target
88
* Activity Tracker Route
99
* Activity Tracker Settings
1010

1111
## Usage
1212

13-
To run this example you need to execute:
13+
To run this example, execute the following commands:
1414

1515
```bash
1616
$ terraform init
@@ -29,15 +29,17 @@ atracker_target resource:
2929
resource "atracker_target" "atracker_target_instance" {
3030
name = var.atracker_target_name
3131
target_type = var.atracker_target_target_type
32+
region = var.atracker_target_region
3233
cos_endpoint = var.atracker_target_cos_endpoint
34+
logdna_endpoint = var.atracker_target_logdna_endpoint
35+
eventstreams_endpoint = var.atracker_target_eventstreams_endpoint
3336
}
3437
```
3538
atracker_route resource:
3639

3740
```hcl
3841
resource "atracker_route" "atracker_route_instance" {
3942
name = var.atracker_route_name
40-
receive_global_events = var.atracker_route_receive_global_events
4143
rules = var.atracker_route_rules
4244
}
4345
```
@@ -98,9 +100,15 @@ data "atracker_routes" "atracker_routes_instance" {
98100
| name | The name of the target. The name must be 1000 characters or less, and cannot include any special characters other than `(space) - . _ :`. | `string` | true |
99101
| target_type | The type of the target. | `string` | true |
100102
| cos_endpoint | Property values for a Cloud Object Storage Endpoint. | `` | true |
103+
| eventstreams_endpoint | Property values for the Event Streams Endpoint in responses. | `` | false |
101104
| name | The name of the route. The name must be 1000 characters or less and cannot include any special characters other than `(space) - . _ :`. | `string` | true |
102-
| receive_global_events | Indicates whether or not all global events should be forwarded to this region. | `bool` | true |
103-
| rules | Routing rules that will be evaluated in their order of the array. | `list()` | true |
105+
| rules | The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped. | `list()` | true |
106+
| default_targets | The target ID List. In the event that no routing rule causes the event to be sent to a target, these targets will receive the event. | `list(string)` | false |
107+
| permitted_target_regions | If present then only these regions may be used to define a target. | `list(string)` | false |
108+
| metadata_region_primary | To store all your meta data in a single region. | `string` | true |
109+
| metadata_region_backup | To store all your meta data in a backup region. | `string` | false |
110+
| private_api_endpoint_only | If you set this true then you cannot access api through public network. | `bool` | true |
111+
| region | Limit the query to the specified region. | `string` | false |
104112
| name | The name of the target resource. | `string` | false |
105113
| name | The name of the route. | `string` | false |
106114

examples/ibm-atracker/main.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ resource "ibm_atracker_target" atracker_target_eventstreams_instance {
4141
// Provision atracker_route resource instance
4242
resource "ibm_atracker_route" "atracker_route_instance" {
4343
name = var.atracker_route_name
44-
receive_global_events = var.atracker_route_receive_global_events
45-
rules = var.atracker_route_rules
44+
rules {
45+
target_ids = [ ibm_atracker_target.atracker_target_instance.id ]
46+
locations = [ "us-south" ]
47+
}
4648
}
4749

4850
// Provision atracker_settings resource instance

examples/ibm-atracker/variables.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ variable "atracker_target_target_type" {
1515
default = "cloud_object_storage"
1616
}
1717

18+
variable "atracker_target_region" {
19+
description = "Included this optional field if you used it to create a target in a different region other than the one you are connected."
20+
type = string
21+
default = "us-south"
22+
}
23+
1824
// Resource arguments for atracker_route
1925
variable "atracker_route_name" {
2026
description = "The name of the route. The name must be 1000 characters or less and cannot include any special characters other than `(space) - . _ :`."
@@ -66,5 +72,4 @@ variable "atracker_settings_permitted_target_regions" {
6672
type = list(string)
6773
default = [ "us-south" ]
6874
}
69-
7075
// Data source arguments for atracker_endpoints

examples/ibm-atracker/versions.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
terraform {
2-
required_version = ">= 0.12"
2+
required_version = ">= 1.0"
3+
required_providers {
4+
ibm = {
5+
source = "IBM-Cloud/ibm"
6+
version = "1.52.0-beta0"
7+
}
8+
}
39
}

examples/ibm-cos-bucket/main.tf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,11 @@ resource "ibm_cos_bucket" "cos_bucket_website_configuration" {
410410
storage_class = var.standard_storage_class
411411

412412
}
413+
414+
data "ibm_iam_access_group" "public_access_group" {
415+
access_group_name = "Public Access"
416+
}
417+
413418
# Give public access to above mentioned bucket
414419
resource "ibm_iam_access_group_policy" "policy" {
415420
depends_on = [ibm_cos_bucket.cos_bucket_website_configuration]
@@ -419,8 +424,8 @@ resource "ibm_iam_access_group_policy" "policy" {
419424
resources {
420425
service = "cloud-object-storage"
421426
resource_type = "bucket"
422-
resource_instance_id = "COS instance guid"
423-
resource = data.ibm_cos_bucket.cos_bucket_website_configuration.bucket_name
427+
resource_instance_id = "COS instance guid" # eg : 94xxxxxx-3xxx-4xxx-8xxx-7xxxxxxxxx7
428+
resource = ibm_cos_bucket.cos_bucket_website_configuration.bucket_name
424429
}
425430
}
426431

examples/ibm-metrics-router/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Example for IBM Cloud Metrics Routing V3 Example
1+
# Example for IBM Cloud Metrics Routing
22

33
This example illustrates how to use the MetricsRouterV3
44

examples/ibm-metrics-router/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ variable "metrics_router_target_name" {
1010
default = "my-mr-target"
1111
}
1212
variable "metrics_router_target_destination_crn" {
13-
description = "The CRN of a destination service instance or resource."
13+
description = "The CRN of a destination service instance or resource. Ensure you have a service authorization between IBM Cloud Metrics Routing and your Cloud resource. Read [S2S authorization](https://cloud.ibm.com/docs/metrics-router?topic=metrics-router-target-monitoring&interface=ui#target-monitoring-ui) for details."
1414
type = string
1515
default = "crn:v1:bluemix:public:sysdig-monitor:us-south:a/0be5ad401ae913d8ff665d92680664ed:22222222-2222-2222-2222-222222222222::"
1616
}

examples/ibm-scc/control_library/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
resource "ibm_scc_control_library" "scc_demo_control_library" {
2+
instance_id = "00000000-1111-2222-3333-444444444444"
23
control_library_name = var.scc_control_library_name
34
control_library_description = var.scc_control_library_description
45
control_library_type = "custom"

examples/ibm-scc/integration/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
resource "ibm_scc_provider_type_instance" "scc_provider_type_instance_instance" {
2+
instance_id = "00000000-1111-2222-3333-444444444444"
23
provider_type_id = var.scc_provider_type_id
34
name = var.scc_provider_type_instance_instance
45
attributes = var.scc_provider_type_instance_attributes

0 commit comments

Comments
 (0)