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

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<code>[[aws_secretsmanager_secret]]</code> ([https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret ref])
  
 +
resource "aws_secretsmanager_secret" "example" {
 +
  name = "example"
 +
}
  
 
+
  # aws_secretsmanager_secret.your_secret will be created
* [[Terraform AWS data: aws secretsmanager secret]]
+
  + 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>
 +
* <code>[[aws_secretsmanager_secret_rotation]]</code>
 +
* <code>[[aws secretsmanager create-secret]]</code>
 +
* <code>[[aws_secretsmanager_secret_version]]</code>
  
 +
== See also ==
 +
* {{tf secretsmanager}}
 
* {{aws secretsmanager}}
 
* {{aws secretsmanager}}
 
* {{tf aws}}
 
* {{tf aws}}
 +
 +
[[Category:Terraform]]

Latest revision as of 09:16, 17 June 2024

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[edit]

See also[edit]

Advertising: