Skip to content

Commit

Permalink
fix(docs): minor typo detected during PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
kral2 committed Sep 20, 2021
1 parent 473e1e5 commit 53db5b9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/terraformoptions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ No modules.
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_public_ip[oci_core_public_ip.public_ip] |resource
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume[oci_core_volume.volume] |resource
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_volume_attachment[oci_core_volume_attachment.volume_attachment] |resource
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_instance_credentials[oci_core_instance_credentials.crendential] |data source
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_instance_credentials[oci_core_instance_credentials.credential] |data source
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_private_ips[oci_core_private_ips.private_ips] |data source
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_shapes[oci_core_shapes.ad1] |data source
|https://registry.terraform.io/providers/hashicorp/oci/latest/docs/data-sources/core_subnet[oci_core_subnet.instance_subnet] |data source
Expand Down Expand Up @@ -150,7 +150,7 @@ No modules.
|no

|[[input_public_ip]] <<input_public_ip,public_ip>>
|Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL.
|Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL.
|`string`
|`"NONE"`
|no
Expand Down
2 changes: 1 addition & 1 deletion examples/instances_fixed_shape/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ variable "assign_public_ip" {
}

variable "public_ip" {
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
type = string
default = "NONE"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/instances_flex_shape/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ variable "ssh_public_keys" {
# networking parameters

variable "public_ip" {
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
type = string
default = "NONE"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/instances_reserved_public_ip/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ variable "ssh_authorized_keys" {
# networking parameters

variable "public_ip" {
description = "Whether to create a Public IP to attach to primary vnic and wwhich lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
description = "Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL."
type = string
default = "NONE"
}
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ resource "oci_core_instance" "instance" {
##################################
# Instance Credentials Datasource
##################################
data "oci_core_instance_credentials" "crendential" {
data "oci_core_instance_credentials" "credential" {
count = var.resource_platform != "linux" ? var.instance_count : 0
instance_id = oci_core_instance.instance[count.index].id
}
Expand Down
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ output "public_ip" {

output "instance_username" {
description = "Usernames to login to Windows instance. "
value = data.oci_core_instance_credentials.crendential.*.username
value = data.oci_core_instance_credentials.credential.*.username
}

output "instance_password" {
description = "Passwords to login to Windows instance. "
sensitive = true
value = data.oci_core_instance_credentials.crendential.*.password
value = data.oci_core_instance_credentials.credential.*.password
}

# New complete outputs for each resources with provider parity. Auto-updating.
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ variable "private_ips" {
}

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

Expand Down

0 comments on commit 53db5b9

Please sign in to comment.