Difference between revisions of "Terraform resource: null resource"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
#    # An example resource that does nothing.
+
    # An example resource that does nothing.
#    resource "null_resource" "example" {
+
    resource "null_resource" "example" {
#      triggers = {
+
      triggers = {
#        value = "A example resource that does nothing!"
+
        value = "A example resource that does nothing!"
#      }
+
      }
#    }
+
    }
  
  

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

Advertising: