Difference between revisions of "Terraform resource: null resource"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{lc}}
 
  
#    # An example resource that does nothing.
+
 
#    resource "null_resource" "example" {
+
    # An example resource that does nothing.
#      triggers = {
+
    resource "null_resource" "example" {
#        value = "A example resource that does nothing!"
+
      triggers = {
#      }
+
        value = "A example resource that does nothing!"
#    }
+
      }
 +
    }
  
  

Latest revision as of 19:36, 7 February 2024


    # An example resource that does nothing.
    resource "null_resource" "example" {
      triggers = {
        value = "A example resource that does nothing!"
      }
    }


resource "null_resource" "tags_as_list_of_maps" {


  • terraform_data is a new builtin managed resource type, which can replace the use of null_resource, and can store data of any type [GH-31757]

See also[edit]

Advertising: