Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. locals {
  2. listA = [1, 2, 3, 4]
  3. listB = [2, 3, 4, 5]
  4. }
  5.  
  6. provider "local" {}
  7.  
  8. resource "local_file" "name" {
  9. content = "${join(" ", distinct(concat(local.listA, local.listB)))}"
  10. filename = "myfile.txt"
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement