Skip to content

Commit 53db5b9

Browse files
committed
fix(docs): minor typo detected during PR review
1 parent 473e1e5 commit 53db5b9

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/terraformoptions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ No modules.
2828
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_public_ip[oci_core_public_ip.public_ip] |resource
2929
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume[oci_core_volume.volume] |resource
3030
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_attachment[oci_core_volume_attachment.volume_attachment] |resource
31-
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_instance_credentials[oci_core_instance_credentials.crendential] |data source
31+
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_instance_credentials[oci_core_instance_credentials.credential] |data source
3232
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_private_ips[oci_core_private_ips.private_ips] |data source
3333
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_shapes[oci_core_shapes.ad1] |data source
3434
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_subnet[oci_core_subnet.instance_subnet] |data source
@@ -150,7 +150,7 @@ No modules.
150150
|no
151151

152152
|[[input_public_ip]] <<input_public_ip,public_ip>>
153-
|Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL.
153+
|Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL.
154154
|`string`
155155
|`"NONE"`
156156
|no

examples/instances_fixed_shape/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ variable "assign_public_ip" {
119119
}
120120

121121
variable "public_ip" {
122-
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
122+
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
123123
type = string
124124
default = "NONE"
125125
}

examples/instances_flex_shape/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ variable "ssh_public_keys" {
120120
# networking parameters
121121

122122
variable "public_ip" {
123-
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
123+
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
124124
type = string
125125
default = "NONE"
126126
}

examples/instances_reserved_public_ip/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ variable "ssh_authorized_keys" {
112112
# networking parameters
113113

114114
variable "public_ip" {
115-
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
115+
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
116116
type = string
117117
default = "NONE"
118118
}

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ resource "oci_core_instance" "instance" {
111111
##################################
112112
# Instance Credentials Datasource
113113
##################################
114-
data "oci_core_instance_credentials" "crendential" {
114+
data "oci_core_instance_credentials" "credential" {
115115
count = var.resource_platform != "linux" ? var.instance_count : 0
116116
instance_id = oci_core_instance.instance[count.index].id
117117
}

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ output "public_ip" {
3333

3434
output "instance_username" {
3535
description = "Usernames to login to Windows instance. "
36-
value = data.oci_core_instance_credentials.crendential.*.username
36+
value = data.oci_core_instance_credentials.credential.*.username
3737
}
3838

3939
output "instance_password" {
4040
description = "Passwords to login to Windows instance. "
4141
sensitive = true
42-
value = data.oci_core_instance_credentials.crendential.*.password
42+
value = data.oci_core_instance_credentials.credential.*.password
4343
}
4444

4545
# New complete outputs for each resources with provider parity. Auto-updating.

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ variable "private_ips" {
151151
}
152152

153153
variable "public_ip" {
154-
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
154+
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
155155
type = string
156156
default = "NONE"
157157

0 commit comments

Comments
 (0)