Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save izmilia-prastika/0b26ead4a3ae5487796cb072f751113e to your computer and use it in GitHub Desktop.
Save izmilia-prastika/0b26ead4a3ae5487796cb072f751113e to your computer and use it in GitHub Desktop.
Contoh module Terraform berisi variabel AWS
variable "default_tags" {
type = map
default = null
}
variable "ssh_allowed_ips" {
type = list(string)
default = null
description = "Daftar alamat IP yang dapat melakukan ssh ke server"
}
variable "ssh_key_file" {
type = string
description = "Nama file dari SSH private key yang digunakan untuk koneksi ke server"
default = null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment