Skip to content

Commit f80ca6c

Browse files
author
ccushing
committed
Instance resource docs state instance metadata update constraints
1 parent e771f41 commit f80ca6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/docs/r/core_instance.html.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ The following arguments are supported:
177177

178178
curl http://169.254.169.254/opc/v1/instance/ curl http://169.254.169.254/opc/v1/instance/metadata/ curl http://169.254.169.254/opc/v1/instance/metadata/<any-key-name>
179179

180-
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
180+
You'll get back a response that includes all the instance information; only the metadata information; or the metadata information for the specified key name, respectively.
181+
182+
**Note:** Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance has launched. Any request which updates, removes, or adds either of these fields will be rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that already exist on the instance.
181183
* `preserve_boot_volume` - (Optional) Specifies whether to delete or preserve the boot volume when terminating an instance. The default value is false. Note: This value only applies to destroy operations initiated by Terraform.
182184
* `shape` - (Required) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
183185

0 commit comments

Comments
 (0)