Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added placement_group/target documentation in instance_template #3210

Merged
merged 1 commit into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions website/docs/d/is_instance_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ You can access the following attribute references after your data source is crea
- `primary_ipv4_address` - (String) The IPv4 address assigned to the network interface.
- `subnet` - (String) The VPC subnet to assign to the interface.
- `security_groups` - (String) List of security groups of the subnet.

- `placement_target` - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for `placement_target`:
- `crn` - (String) The unique identifier for this placement target.
- `href` - (String) The CRN for this placement target.
- `id` - (String) The URL for this placement target.

- `profile` - (String) The number of instances created in the instance group.
- `primary_network_interfaces` - (List) A nested block describes the primary network interface for the template.

Expand Down
5 changes: 5 additions & 0 deletions website/docs/d/is_instance_templates.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ You can access the following attribute references after your data source is crea
- `primary_ipv4_address` - (String) The IPv4 address assigned to the network interface.
- `subnet` - (String) The VPC subnet to assign to the interface.
- `security_groups` - (String) List of security groups of the subnet.
- `placement_target` - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for `placement_target`:
- `crn` - (String) The unique identifier for this placement target.
- `href` - (String) The CRN for this placement target.
- `id` - (String) The URL for this placement target.
- `profile` - (String) The number of instances created in the instance group.
- `primary_network_interfaces` - (List) A nested block describes the primary network interface for the template.

Expand Down
18 changes: 18 additions & 0 deletions website/docs/r/is_instance_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,23 @@ Review the argument references that you can specify for your resource.
- `encryption` - (Optional, String) The encryption key CRN to encrypt the boot volume attached.
- `name` - (Optional, String) The name of the boot volume.
- `dedicated_host` - (Optional, Force new resource,String) The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host where the instance is placed.

**NOTE:**
- only one of [**dedicated_host**, **dedicated_host_group**, **placement_group**] can be used

- `dedicated_host_group` - (Optional, Force new resource, String) The placement restrictions to use for the virtual server instance. Unique Identifier of the dedicated host group where the instance is placed.

**NOTE:**
- only one of [**dedicated_host**, **dedicated_host_group**, **placement_group**] can be used

- `image` - (Required, String) The ID of the image to create the template.
- `keys` - (Required, List) List of SSH key IDs used to allow log in user to the instances.
- `name` - (Required, String) The name of the instance template.
- `placement_group` - (Optional, Force new resource, String) The placement restrictions to use for the virtual server instance. Unique Identifier of the placement group where the instance is placed.

**NOTE:**
- only one of [**dedicated_host**, **dedicated_host_group**, **placement_group**] can be used

- `profile` - (Required, String) The number of instances created in the instance group.
- `primary_network_interfaces` (Required, List) A nested block describes the primary network interface for the template.

Expand Down Expand Up @@ -220,6 +233,11 @@ In addition to all arguments listed, you can access the following attribute refe

- `crn` - (String) The CRN for this instance template.
- `id` - (String) The ID of an instance template.
- `placement_target` - (List) The placement restrictions to use for the virtual server instance.
Nested scheme for `placement_target`:
- `crn` - (String) The unique identifier for this placement target.
- `href` - (String) The CRN for this placement target.
- `id` - (String) The URL for this placement target.

## Import
The `ibm_is_instance_template` resource can be imported by using instance template ID.
Expand Down