terraform-provider-kakaocloud

KakaoCloud Provider

The KakaoCloud provider is used to interact with KakaoCloud services.
It enables users to provision, configure, and manage various cloud resources including compute instances, networks, storage, and container services.
The provider must be configured with the proper credentials before it can be used.

!> Warning This provider is supported on Terraform Version 1.11 or later.

Example Usage

terraform {
  required_providers {
    kakaocloud = {
      source  = "kakaoenterprise/kakaocloud"
      version = "0.1.0"
    }
  }
}

provider "kakaocloud" {
  application_credential_id     = var.application_credential_id
  application_credential_secret = var.application_credential_secret
}

See the Authentication section below for details on configuring provider credentials.

Authentication

The KakaoCloud provider supports two methods for authentication and credential management.

It checks for credentials in the following order, as detailed below:

  1. Static credentials
  2. Environment variables

1. Static credentials

Static credentials can be specified directly in the KakaoCloud provider block using the application_credential_id and application_credential_secret arguments.

terraform {
  required_providers {
    kakaocloud = {
      source  = "kakaoenterprise/kakaocloud"
      version = "0.1.0"
    }
  }
}

provider "kakaocloud" {
  application_credential_id     = var.application_credential_id
  application_credential_secret = var.application_credential_secret
}

2. Environment variables

Credentials can be supplied using the KAKAOCLOUD_APPLICATION_CREDENTIAL_ID and KAKAOCLOUD_APPLICATION_CREDENTIAL_SECRET environment variables, which correspond to the application credential ID and secret for KakaoCloud.

Provider Example

terraform {
  required_providers {
    kakaocloud = {
      source  = "kakaoenterprise/kakaocloud"
      version = "0.1.0"
    }
  }
}

provider "kakaocloud" {}

Environment Variables

$ export KAKAOCLOUD_APPLICATION_CREDENTIAL_ID="application-credential-id"
$ export KAKAOCLOUD_APPLICATION_CREDENTIAL_SECRET="application-credential-secret"
$ terraform plan

-> Note Application credentials can be generated from the KakaoCloud console. Please refer to the KakaoCloud documentation > Credentials for detailed instructions on generating application credentials.

Argument Reference

The following arguments are supported:

See Also