#terraform
Read more stories on Hashnode
Articles with this tag
Giả sử bạn cần tạo template có chứa các policy liên quan đến S3, nhưng lại không biết trước được S3 bucket tên là gì. Mà IAM policy thì cần chỉ định...
1. Tình huống Giả sử ta có 1 resource Lambda function và sns topic như sau: resource "aws_lambda_function" "test_lambda" { filename =...
Object Ta có biến object như sau: sensitive_labels = optional(object({ auth_token = optional(string) password = optional(string) ...
Link docs: https://developer.hashicorp.com/terraform/language/expressions/for#grouping-results Code: input: [ { "name": "tcp-3306", ...
Vấn đề với try và default value của biến: Ta có đoạn code như sau: variable "example" { type = string default = null } resource "aws_instance"...
1. Tình huống Object variable: variable "autoscaling_read" { description = "A map of read autoscaling settings." type = object({ ...