This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Copyright 2023 yallalabs.com. All Rights Reserved. | |
| # | |
| --- | |
| description: |- | |
| ## Id | |
| Document Name: YALLALABS-StopDocdbCluster | |
| Copyright 2023 yallalabs.com. All Rights Reserved. | |
| ## What does this document do? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Copyright 2023 yallalabs.com. All Rights Reserved. | |
| # | |
| description: |- | |
| ## Id | |
| Document Name: YALLALABS-StartDocdbCluster | |
| Copyright 2023 yallalabs.com. All Rights Reserved. | |
| ## What does this document do? | |
| This document starts an Amazon DocumentDB cluster. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###### IAM ROLE AND POLICIES ###### | |
| resource "aws_iam_role" "example" { | |
| name = "mytest-schedule-role" | |
| assume_role_policy = data.aws_iam_policy_document.eventbridge_scheduler_assume.json | |
| } | |
| data "aws_iam_policy_document" "eventbridge_scheduler_assume" { | |
| statement { | |
| effect = "Allow" |