Created
November 19, 2023 11:43
-
-
Save izmilia-prastika/f4f41788c31393ec6888eef200e3f111 to your computer and use it in GitHub Desktop.
Contoh module Terraform berisi nilai dari modul variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_tags = { | |
"Env" = "demo" | |
"Name" = "my-ec2-demo" | |
"FromTerraform" = "true" | |
} | |
ssh_key_file = "~/.ssh/id_rsa" | |
# Masukkan alamat IP dari komputer yang digunakan untuk mengakses server | |
# Jika ingin memperbolehkan semua IP maka gunakan "0.0.0.0/0" | |
# Jika lebih dari satu blok IP pisahkan dengan koma | |
ssh_allowed_ips = ["0.0.0.0/0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment