Skip to content

Commit

Permalink
Update resiliencehub_app.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LearningNewbie authored Nov 13, 2024
1 parent 86d8126 commit 56e73ca
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion docs/resources/resiliencehub_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,43 @@ description: |-

Resource Type Definition for AWS::ResilienceHub::App.


## Example Usage

```terraform
resource "awscc_resiliencehub_app" "main" {
name = "test-app"
resource_mappings = [{
physical_resource_id = {
identifier = "s3://terraform-state-files/test-app.tfstate"
type = "Native"
# Optional aws_region = ""
# Optional aws_account_id = ""
}
mapping_type = "Terraform"
# Optional resource_name = ""
# resource_type = ""
# logical_resource = {
# logical_resource_name = ""
# resource_mapping_name = ""
# resource_mapping_arn = awscc_resiliencehub_app.app.arn
}]
resiliency_policy_arn = "arn:aws:resiliencehub:us-west-1:<account-id>:resiliency-policy/<id>"
app_template_body = <<EOF
{ "resources": [], "appComponents": [], "excludedResources": { "logicalResourceIds": [] }, "version": 2 }
EOF
description = "This is a test app."
app_assessment_schedule = "Daily"
event_subscriptions = []
permission_model = {
type = "RoleBased"
# Optional invoker_role_name = "resilience-hub-test-app-role"
}
tags = [{
key = "Modified By"
value = "AWSCC"
}]
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down

0 comments on commit 56e73ca

Please sign in to comment.