github.com/hugorut/terraform@v1.1.3/src/backend/local/testdata/plan-outputs-changed/main.tf (about)

     1  module "submodule" {
     2    source = "./submodule"
     3  }
     4  
     5  output "changed" {
     6    value = "after"
     7  }
     8  
     9  output "sensitive_before" {
    10    value = "after"
    11    # no sensitive = true here, but the prior state is marked as sensitive in the test code
    12  }
    13  
    14  output "sensitive_after" {
    15    value = "after"
    16  
    17    # This one is _not_ sensitive in the prior state, but is transitioning to
    18    # being sensitive in our new plan.
    19    sensitive = true
    20  }
    21  
    22  output "added" { // not present in the prior state
    23    value = "after"
    24  }
    25  
    26  output "unchanged" {
    27    value = "before"
    28  }