Difference between revisions of "Terraform resource: aws secretsmanager secret"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  }
 
  }
  
 +
  # aws_secretsmanager_secret.your_secret will be created
 +
  + resource "aws_secretsmanager_secret" "your_secret" {
 +
      + arn                            = (known after apply)
 +
      + force_overwrite_replica_secret = false
 +
      + id                            = (known after apply)
 +
      + name                          = "your_secret"
 +
      + name_prefix                    = (known after apply)
 +
      + policy                        = (known after apply)
 +
      + recovery_window_in_days        = 30
 +
      + rotation_enabled              = (known after apply)
 +
      + rotation_lambda_arn            = (known after apply)
 +
      + tags_all                      = (known after apply)
 +
    }
 +
 +
Plan: 1 to add, 0 to change, 0 to destroy.
 +
 +
 +
== Related ==
 
* Terraform AWS data: <code>[[Terraform AWS data: aws_secretsmanager_secret|aws_secretsmanager_secret]]</code>
 
* Terraform AWS data: <code>[[Terraform AWS data: aws_secretsmanager_secret|aws_secretsmanager_secret]]</code>
 
  
 
== See also ==
 
== See also ==

Revision as of 11:19, 18 May 2023

aws_secretsmanager_secret (ref)

resource "aws_secretsmanager_secret" "example" {
  name = "example"
}
 # aws_secretsmanager_secret.your_secret will be created
 + resource "aws_secretsmanager_secret" "your_secret" {
     + arn                            = (known after apply)
     + force_overwrite_replica_secret = false
     + id                             = (known after apply)
     + name                           = "your_secret"
     + name_prefix                    = (known after apply)
     + policy                         = (known after apply)
     + recovery_window_in_days        = 30
     + rotation_enabled               = (known after apply)
     + rotation_lambda_arn            = (known after apply)
     + tags_all                       = (known after apply)
   }

Plan: 1 to add, 0 to change, 0 to destroy.


Related

See also

Advertising: