diff --git a/common/github.com/vpc-go-sdk/vpcv1/vpc_v1.go b/common/github.com/vpc-go-sdk/vpcv1/vpc_v1.go index 3798912015..ba95ad6a9e 100644 --- a/common/github.com/vpc-go-sdk/vpcv1/vpc_v1.go +++ b/common/github.com/vpc-go-sdk/vpcv1/vpc_v1.go @@ -4930,7 +4930,7 @@ func (vpc *VpcV1) ListInstanceProfilesWithContext(ctx context.Context, listInsta builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instance/profiles`, nil) if err != nil { @@ -4995,7 +4995,7 @@ func (vpc *VpcV1) GetInstanceProfileWithContext(ctx context.Context, getInstance builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instance/profiles/{name}`, pathParamsMap) if err != nil { @@ -5052,7 +5052,7 @@ func (vpc *VpcV1) ListInstanceTemplatesWithContext(ctx context.Context, listInst builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instance/templates`, nil) if err != nil { @@ -5117,7 +5117,7 @@ func (vpc *VpcV1) CreateInstanceTemplateWithContext(ctx context.Context, createI builder := core.NewRequestBuilder(core.POST) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instance/templates`, nil) if err != nil { @@ -5239,7 +5239,7 @@ func (vpc *VpcV1) GetInstanceTemplateWithContext(ctx context.Context, getInstanc builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instance/templates/{id}`, pathParamsMap) if err != nil { @@ -5367,7 +5367,7 @@ func (vpc *VpcV1) ListInstancesWithContext(ctx context.Context, listInstancesOpt builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instances`, nil) if err != nil { @@ -5478,7 +5478,7 @@ func (vpc *VpcV1) CreateInstanceWithContext(ctx context.Context, createInstanceO builder := core.NewRequestBuilder(core.POST) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instances`, nil) if err != nil { @@ -5605,7 +5605,7 @@ func (vpc *VpcV1) GetInstanceWithContext(ctx context.Context, getInstanceOptions builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instances/{id}`, pathParamsMap) if err != nil { @@ -5671,7 +5671,7 @@ func (vpc *VpcV1) UpdateInstanceWithContext(ctx context.Context, updateInstanceO builder := core.NewRequestBuilder(core.PATCH) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/instances/{id}`, pathParamsMap) if err != nil { @@ -8902,6 +8902,8 @@ func (vpc *VpcV1) ListReservationsWithContext(ctx context.Context, listReservati builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) + builder.AddQuery("maturity", "development") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/reservations`, nil) if err != nil { @@ -8978,7 +8980,7 @@ func (vpc *VpcV1) CreateReservationWithContext(ctx context.Context, createReserv builder := core.NewRequestBuilder(core.POST) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/reservations`, nil) if err != nil { @@ -9072,7 +9074,7 @@ func (vpc *VpcV1) DeleteReservationWithContext(ctx context.Context, deleteReserv builder := core.NewRequestBuilder(core.DELETE) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/reservations/{id}`, pathParamsMap) if err != nil { @@ -9137,7 +9139,7 @@ func (vpc *VpcV1) GetReservationWithContext(ctx context.Context, getReservationO builder := core.NewRequestBuilder(core.GET) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/reservations/{id}`, pathParamsMap) if err != nil { @@ -9203,7 +9205,7 @@ func (vpc *VpcV1) UpdateReservationWithContext(ctx context.Context, updateReserv builder := core.NewRequestBuilder(core.PATCH) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/reservations/{id}`, pathParamsMap) if err != nil { @@ -9274,7 +9276,7 @@ func (vpc *VpcV1) ActivateReservationWithContext(ctx context.Context, activateRe builder := core.NewRequestBuilder(core.POST) builder = builder.WithContext(ctx) builder.AddQuery("maturity", "development") - builder.AddQuery("version", "2023-11-20") + builder.AddQuery("version", "2023-11-21") builder.EnableGzipCompression = vpc.GetEnableGzipCompression() _, err = builder.ResolveRequestURL(vpc.Service.Options.URL, `/reservations/{id}/activate`, pathParamsMap) if err != nil { diff --git a/ibm/service/vpc/data_source_ibm_is_reservation.go b/ibm/service/vpc/data_source_ibm_is_reservation.go index d943c688d7..4cfb7d5cc7 100644 --- a/ibm/service/vpc/data_source_ibm_is_reservation.go +++ b/ibm/service/vpc/data_source_ibm_is_reservation.go @@ -236,7 +236,8 @@ func dataSourceIBMIsReservationRead(context context.Context, d *schema.ResourceD } reservation = reservationInfo - } else if v, ok := d.GetOk("name"); ok { + } + if v, ok := d.GetOk("name"); ok { name := v.(string) start := "" diff --git a/ibm/service/vpc/data_source_ibm_is_reservation_test.go b/ibm/service/vpc/data_source_ibm_is_reservation_test.go index d51926cc28..f8f7f13f6c 100644 --- a/ibm/service/vpc/data_source_ibm_is_reservation_test.go +++ b/ibm/service/vpc/data_source_ibm_is_reservation_test.go @@ -46,13 +46,13 @@ func testDSCheckIBMISReservationConfig() string { term = "one_year" } profile { - name = "ba2-2x8" + name = "cx2-2x4" resource_type = "instance_profile" } - zone = "us-east-3" + zone = "us-south-1" name = "reservation-name" } data "ibm_is_reservation" "ds_res" { - name = ibm_is_reservation.res.id + identifier = ibm_is_reservation.res.id }`) } diff --git a/ibm/service/vpc/data_source_ibm_is_reservations.go b/ibm/service/vpc/data_source_ibm_is_reservations.go index 9a285461dc..930e8d156e 100644 --- a/ibm/service/vpc/data_source_ibm_is_reservations.go +++ b/ibm/service/vpc/data_source_ibm_is_reservations.go @@ -242,7 +242,7 @@ func dataSourceIBMIsReservationsRead(context context.Context, d *schema.Resource resourceGroupId := d.Get("resource_group").(string) start := "" - matchReservations := []vpcv1.Reservation{} + reservations := []vpcv1.Reservation{} var name string if v, ok := d.GetOk("name"); ok { @@ -272,7 +272,7 @@ func dataSourceIBMIsReservationsRead(context context.Context, d *schema.Resource break } start = flex.GetNext(reservationCollection.Next) - matchReservations = append(matchReservations, reservationCollection.Reservations...) + reservations = append(reservations, reservationCollection.Reservations...) if start == "" { break } @@ -280,8 +280,8 @@ func dataSourceIBMIsReservationsRead(context context.Context, d *schema.Resource d.SetId(dataSourceIBMIsReservationsID(d)) - if matchReservations != nil { - err = d.Set("reservations", dataSourceReservationCollectionFlattenReservations(matchReservations)) + if reservations != nil { + err = d.Set("reservations", dataSourceReservationCollectionFlattenReservations(reservations)) if err != nil { return diag.FromErr(fmt.Errorf("[ERROR] Error setting reservations %s", err)) } diff --git a/ibm/service/vpc/resource_ibm_is_instance.go b/ibm/service/vpc/resource_ibm_is_instance.go index c1b8efa3f6..81fad6f258 100644 --- a/ibm/service/vpc/resource_ibm_is_instance.go +++ b/ibm/service/vpc/resource_ibm_is_instance.go @@ -3779,22 +3779,26 @@ func instanceUpdate(d *schema.ResourceData, meta interface{}) error { var resAffinityPatch = &vpcv1.InstanceReservationAffinityPatch{} policy, ok := resAff["policy"] policyStr := policy.(string) + idStr := "" if policyStr != "" && ok { resAffinityPatch.Policy = &policyStr } - poolIntf, okPool := resAff[isReservationAffinityPool] - if okPool { - pool := poolIntf.([]interface{})[0].(map[string]interface{}) - id, okId := pool["id"] - if okId { - idStr, ok := id.(string) - if idStr != "" && ok { - var resAffPool = make([]vpcv1.ReservationIdentityIntf, 1) - resAffPool[0] = &vpcv1.ReservationIdentity{ - ID: &idStr, + if d.HasChange(resPool) { + poolIntf, okPool := resAff[isReservationAffinityPool] + if okPool { + pool := poolIntf.([]interface{})[0].(map[string]interface{}) + id, okId := pool["id"] + if okId { + idStr, ok = id.(string) + if idStr != "" && ok { + var resAffPool = make([]vpcv1.ReservationIdentityIntf, 1) + resAffPool[0] = &vpcv1.ReservationIdentity{ + ID: &idStr, + } + resAffinityPatch.Pool = resAffPool } - resAffinityPatch.Pool = resAffPool } + } } @@ -3806,7 +3810,7 @@ func instanceUpdate(d *schema.ResourceData, meta interface{}) error { return fmt.Errorf("[ERROR] Error calling asPatch with reservation affinity: %s", err) } //Detaching the reservation from the reserved instance - if policyStr == "disabled" { + if policyStr == "disabled" && idStr == "" { resAffMap := mpatch["reservation_affinity"].(map[string]interface{}) resAffMap["pool"] = nil mpatch["reservation_affinity"] = resAffMap diff --git a/ibm/service/vpc/resource_ibm_is_reservation_test.go b/ibm/service/vpc/resource_ibm_is_reservation_test.go index 2cc8a45d8d..28a53efddb 100644 --- a/ibm/service/vpc/resource_ibm_is_reservation_test.go +++ b/ibm/service/vpc/resource_ibm_is_reservation_test.go @@ -20,7 +20,7 @@ import ( func TestAccIBMISReservation_basic(t *testing.T) { var reservation string name := fmt.Sprintf("tfres-name-%d", acctest.RandIntRange(10, 100)) - zone := "us-east-3" + zone := "us-south-1" resource.Test(t, resource.TestCase{ PreCheck: func() { acc.TestAccPreCheck(t) }, @@ -102,7 +102,7 @@ func testAccCheckIBMISReservationConfig(name, zone string) string { term = "one_year" } profile { - name = "ba2-2x8" + name = "cx2-2x4" resource_type = "instance_profile" } name = "%s" diff --git a/website/docs/d/is_instance.html.markdown b/website/docs/d/is_instance.html.markdown index 8f350c064b..781a9635df 100644 --- a/website/docs/d/is_instance.html.markdown +++ b/website/docs/d/is_instance.html.markdown @@ -238,18 +238,18 @@ In addition to all argument reference list, you can access the following attribu Nested scheme for `reservation_affinity`: - `policy` - (String) The reservation affinity policy to use for this virtual server instance. - - `pool` - (List) The pool of reservations available for use by this virtual server instance. + - `pool` - (List) The pool of reservations available for use by this virtual server instance. - Nested `pool` blocks have the following structure: - - `crn` - (String) The CRN for this reservation. - - `deleted` - (List) If present, this property indicates the referenced resource has been deleted, and provides some supplementary information. - - Nested `deleted` blocks have the following structure: - - `more_info` - (String) Link to documentation about deleted resources. - - `href` - (String) The URL for this reservation. - - `id` - (String) The unique identifier for this reservation. - - `name` - (string) The name for this reservation. The name is unique across all reservations in the region. - - `resource_type` - (string) The resource type. + Nested `pool` blocks have the following structure: + - `crn` - (String) The CRN for this reservation. + - `deleted` - (List) If present, this property indicates the referenced resource has been deleted, and provides some supplementary information. + + Nested `deleted` blocks have the following structure: + - `more_info` - (String) Link to documentation about deleted resources. + - `href` - (String) The URL for this reservation. + - `id` - (String) The unique identifier for this reservation. + - `name` - (string) The name for this reservation. The name is unique across all reservations in the region. + - `resource_type` - (string) The resource type. - `resource_controller_url` - (String) The URL of the IBM Cloud dashboard that you can use to see details for your instance. - `resource_group` - (String) The resource group id, where the instance was created. - `status` - (String) The status of the instance. diff --git a/website/docs/d/is_instance_template.html.markdown b/website/docs/d/is_instance_template.html.markdown index c5b9b93629..9cf02bafaa 100644 --- a/website/docs/d/is_instance_template.html.markdown +++ b/website/docs/d/is_instance_template.html.markdown @@ -107,9 +107,10 @@ You can access the following attribute references after your data source is crea - `reservation_affinity` - (Optional, List) The reservation affinity for the instance Nested scheme for `reservation_affinity`: - `policy` - (Optional, String) The reservation affinity policy to use for this virtual server instance. + ->**policy** -
• disabled: Reservations will not be used -
• manual: Reservations in pool will be available for use + • disabled: Reservations will not be used +
• manual: Reservations in pool will be available for use - `pool` - (string) The unique identifier for this reservation - `resource_group` - (String) The resource group ID. - `total_volume_bandwidth` - (Integer) The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes diff --git a/website/docs/d/is_instance_templates.html.markdown b/website/docs/d/is_instance_templates.html.markdown index 984270b606..dbed846fdd 100644 --- a/website/docs/d/is_instance_templates.html.markdown +++ b/website/docs/d/is_instance_templates.html.markdown @@ -94,9 +94,10 @@ You can access the following attribute references after your data source is crea - `reservation_affinity` - (Optional, List) The reservation affinity for the instance Nested scheme for `reservation_affinity`: - `policy` - (Optional, String) The reservation affinity policy to use for this virtual server instance. - ->**policy** -
• disabled: Reservations will not be used -
• manual: Reservations in pool will be available for use + + ->**policy** + • disabled: Reservations will not be used +
• manual: Reservations in pool will be available for use - `pool` - (string) The unique identifier for this reservation - `resource_group` - (String) The resource group ID. - `total_volume_bandwidth` - (Integer) The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes diff --git a/website/docs/d/is_instances.html.markdown b/website/docs/d/is_instances.html.markdown index 82d876922b..928c42d04b 100644 --- a/website/docs/d/is_instances.html.markdown +++ b/website/docs/d/is_instances.html.markdown @@ -168,20 +168,21 @@ In addition to all argument reference list, you can access the following attribu - `name` - (string) The name for this reservation. The name is unique across all reservations in the region. - `resource_type` - (string) The resource type. - `reservation_affinity`- (List) The instance reservation affinity. - Nested scheme for `reservation_affinity`: - - `policy` - (String) The reservation affinity policy to use for this virtual server instance. - - `pool` - (List) The pool of reservations available for use by this virtual server instance. - Nested `pool` blocks have the following structure: - - `crn` - (String) The CRN for this reservation. - - `deleted` - (List) If present, this property indicates the referenced resource has been deleted, and provides some supplementary information. + Nested scheme for `reservation_affinity`: + - `policy` - (String) The reservation affinity policy to use for this virtual server instance. + - `pool` - (List) The pool of reservations available for use by this virtual server instance. + + Nested `pool` blocks have the following structure: + - `crn` - (String) The CRN for this reservation. + - `deleted` - (List) If present, this property indicates the referenced resource has been deleted, and provides some supplementary information. Nested `deleted` blocks have the following structure: - - `more_info` - (String) Link to documentation about deleted resources. - - `href` - (String) The URL for this reservation. - - `id` - (String) The unique identifier for this reservation. - - `name` - (string) The name for this reservation. The name is unique across all reservations in the region. - - `resource_type` - (string) The resource type. + - `more_info` - (String) Link to documentation about deleted resources. + - `href` - (String) The URL for this reservation. + - `id` - (String) The unique identifier for this reservation. + - `name` - (string) The name for this reservation. The name is unique across all reservations in the region. + - `resource_type` - (string) The resource type. - `status` - (String) The status of the instance. - `status_reasons` - (List) Array of reasons for the current status. diff --git a/website/docs/d/is_reservation.html.markdown b/website/docs/d/is_reservation.html.markdown index 387f4a903d..a1d4fc6fcf 100644 --- a/website/docs/d/is_reservation.html.markdown +++ b/website/docs/d/is_reservation.html.markdown @@ -16,7 +16,7 @@ VPC infrastructure services are a regional specific based endpoint, by default t ```terraform provider "ibm" { - region = "eu-gb" + region = "us-south" } ``` diff --git a/website/docs/d/is_reservations.html.markdown b/website/docs/d/is_reservations.html.markdown index 6ed2bf458d..fd26f9572b 100644 --- a/website/docs/d/is_reservations.html.markdown +++ b/website/docs/d/is_reservations.html.markdown @@ -16,7 +16,7 @@ VPC infrastructure services are a regional specific based endpoint, by default t ```terraform provider "ibm" { - region = "eu-gb" + region = "us-south" } ``` diff --git a/website/docs/r/is_instance.html.markdown b/website/docs/r/is_instance.html.markdown index ef016c4066..2d1332c150 100644 --- a/website/docs/r/is_instance.html.markdown +++ b/website/docs/r/is_instance.html.markdown @@ -130,22 +130,6 @@ resource "ibm_is_instance" "example1" { ### Sample for creating an instance in a VPC with reservation ```terraform -resource "ibm_is_vpc" "example" { - name = "example-vpc" -} - -resource "ibm_is_subnet" "example" { - name = "example-subnet" - vpc = ibm_is_vpc.example.id - zone = "us-south-1" - ipv4_cidr_block = "10.240.0.0/24" -} - -resource "ibm_is_ssh_key" "example" { - name = "example-ssh" - public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKVmnMOlHKcZK8tpt3MP1lqOLAcqcJzhsvJcjscgVERRN7/9484SOBJ3HSKxxNG5JN8owAjy5f9yYwcUg+JaUVuytn5Pv3aeYROHGGg+5G346xaq3DAwX6Y5ykr2fvjObgncQBnuU5KHWCECO/4h8uWuwh/kfniXPVjFToc+gnkqA+3RKpAecZhFXwfalQ9mMuYGFxn+fwn8cYEApsJbsEmb0iJwPiZ5hjFC8wREuiTlhPHDgkBLOiycd20op2nXzDbHfCHInquEe/gYxEitALONxm0swBOwJZwlTDOB7C6y2dzlrtxr1L59m7pCkWI4EtTRLvleehBoj3u7jB4usR" -} - resource "ibm_is_reservation" "example" { capacity { total = 5 @@ -200,11 +184,6 @@ resource "ibm_is_instance" "example" { delete = "15m" } } -// primary_ipv4_address deprecation -output "primary_ipv4_address" { - # value = ibm_is_instance.example.primary_network_interface.0.primary_ipv4_address // will be deprecated in future - value = ibm_is_instance.example.primary_network_interface.0.primary_ip.0.address // use this instead -} ``` ### Sample for creating an instance with custom security group rules. @@ -606,8 +585,9 @@ Review the argument references that you can specify for your resource. - `reservation_affinity` - (Optional, List) The reservation affinity for the instance Nested scheme for `reservation_affinity`: - `policy` - (Optional, String) The reservation affinity policy to use for this virtual server instance. - ->**policy** -
• disabled: Reservations will not be used + + ->**policy** + • disabled: Reservations will not be used
• manual: Reservations in pool will be available for use - `pool` - (Optional, String) The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for `pool`: diff --git a/website/docs/r/is_instance_template.html.markdown b/website/docs/r/is_instance_template.html.markdown index 2548d8a304..ac161974c1 100644 --- a/website/docs/r/is_instance_template.html.markdown +++ b/website/docs/r/is_instance_template.html.markdown @@ -272,8 +272,9 @@ Review the argument references that you can specify for your resource. - `reservation_affinity` - (Optional, List) The reservation affinity for the instance Nested scheme for `reservation_affinity`: - `policy` - (Optional, String) The reservation affinity policy to use for this virtual server instance. - ->**policy** -
• disabled: Reservations will not be used + + ->**policy** + • disabled: Reservations will not be used
• manual: Reservations in pool will be available for use - `pool` - (Optional, String) The pool of reservations available for use by this virtual server instance. Specified reservations must have a status of active, and have the same profile and zone as this virtual server instance. The pool must be empty if policy is disabled, and must not be empty if policy is manual. Nested scheme for `pool`: diff --git a/website/docs/r/is_reservation.html.markdown b/website/docs/r/is_reservation.html.markdown index 4644dc0303..48ad9114ff 100644 --- a/website/docs/r/is_reservation.html.markdown +++ b/website/docs/r/is_reservation.html.markdown @@ -17,7 +17,7 @@ VPC infrastructure services are a regional specific based endpoint, by default t ```terraform provider "ibm" { - region = "eu-gb" + region = "us-south" } ``` diff --git a/website/docs/r/is_reservation_activate.html.markdown b/website/docs/r/is_reservation_activate.html.markdown index 551e17cbf1..723b6097ad 100644 --- a/website/docs/r/is_reservation_activate.html.markdown +++ b/website/docs/r/is_reservation_activate.html.markdown @@ -18,7 +18,7 @@ VPC infrastructure services are a regional specific based endpoint, by default t ```terraform provider "ibm" { - region = "eu-gb" + region = "us-south" } ```