Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- locals {
- listA = [1, 2, 3, 4]
- listB = [2, 3, 4, 5]
- }
- provider "local" {}
- resource "local_file" "name" {
- content = "${join(" ", distinct(concat(local.listA, local.listB)))}"
- filename = "myfile.txt"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement