Skip to content
This repository was archived by the owner on Oct 31, 2019. It is now read-only.

Deprecation warnings and fixes #223

@oragitmsk

Description

@oragitmsk

Terraform Version

terraform -v Terraform v0.11.13 + provider.null v2.1.1 + provider.oci v3.24.0 + provider.random v2.1.1 + provider.template v2.1.1 + provider.tls v2.0.0

OCI Provider Version

terraform-provider-oci_v3.24.0 --help 2019/04/26 17:06:35 [INFO] terraform-provider-oci 3.24.0 This binary is a plugin. These are not meant to be executed directly. Please execute the program that consumes these plugins, which will load any plugins automatically

Terraform Installer for Kubernetes Version

Commit 1fda5c7

Input Variables

cat terraform.tfvars # OCI authentication

tenancy_ocid = "ocid1.tenancy.oc1..aaaaaaaay4j47u7kni3x7mxlnkhvlrf5rmlhculx46hw2pdws7woipkdauiq"
compartment_ocid = "ocid1.compartment.oc1..aaaaaaaa34ogvx5zjdojlyavxhlmskt5czghg73eyvav4x36yg4vnwyiqjga"
user_ocid = ...
fingerprint = ...
private_key_path = ...
private_key_password = ...
region = "us-ashburn-1"

CCM user

cloud_controller_user_ocid = ...
cloud_controller_user_fingerprint = ...
cloud_controller_user_private_key_path = ...

#etcdShape = "VM.Standard1.2"
#k8sMasterShape = "VM.Standard1.8"
#k8sWorkerShape = "VM.Standard1.8"

master_ol_image_name = "Oracle-Linux-7.6-2019.03.22-1"
worker_ol_image_name = "Oracle-Linux-7.6-2019.03.22-1"
etcd_ol_image_name = "Oracle-Linux-7.6-2019.03.22-1"
nat_ol_image_name = "Oracle-Linux-7.6-2019.03.22-1"

etcdAd1Count = "1"
etcdAd2Count = "0"
etcdAd3Count = "0"

k8sMasterAd1Count = "1"
k8sMasterAd2Count = "0"
k8sMasterAd3Count = "0"

k8sWorkerAd1Count = "1"
k8sWorkerAd2Count = "0"
k8sWorkerAd3Count = "0"

#etcdLBShape = "100Mbps"
#k8sMasterLBShape = "100Mbps"

#etcd_ssh_ingress = "10.0.0.0/16"
#etcd_ssh_ingress = "0.0.0.0/0"
#etcd_cluster_ingress = "10.0.0.0/16"
#master_ssh_ingress = "0.0.0.0/0"
#worker_ssh_ingress = "0.0.0.0/0"
#master_https_ingress = "0.0.0.0/0"
#worker_nodeport_ingress = "0.0.0.0/0"
#worker_nodeport_ingress = "10.0.0.0/16"

#control_plane_subnet_access = "public"
#k8s_master_lb_access = "public"
#natInstanceShape = "VM.Standard1.2"
#nat_instance_ad1_enabled = "true"
#nat_instance_ad2_enabled = "false"
#nat_instance_ad3_enabled = "true"
#nat_ssh_ingress = "0.0.0.0/0"
#public_subnet_http_ingress = "0.0.0.0/0"
#public_subnet_https_ingress = "0.0.0.0/0"

#worker_iscsi_volume_create is a bool not a string
#worker_iscsi_volume_create = true
#worker_iscsi_volume_size = 100

#etcd_iscsi_volume_create = true
#etcd_iscsi_volume_size = 50

Description of issue:

Had some deprecation warnings during terraform plan which I fixed. Submitting the patches as an issue rather than a pull request as I'm pulled off of my project with terraform:

file.mods.patch.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions