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.
 +
#    resource "null_resource" "example" {
 +
#      triggers = {
 +
#        value = "A example resource that does nothing!"
 +
#      }
 +
#    }
 +
 +
 +
 
  [[resource]] "null_resource" "tags_as_list_of_maps" {
 
  [[resource]] "null_resource" "tags_as_list_of_maps" {
  

Revision as of 19:36, 7 February 2024

  1. # An example resource that does nothing.
  2. resource "null_resource" "example" {
  3. triggers = {
  4. value = "A example resource that does nothing!"
  5. }
  6. }


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: