Skip to content

Commit

Permalink
fix language tags
Browse files Browse the repository at this point in the history
  • Loading branch information
judell committed Jun 27, 2024
1 parent 8c2455f commit fa01034
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ In [Enable event handlers for fast change detection]() we added the minimum perm

Attach the policy to the role.

```
json
```json
{
        "Version": "2012-10-17",
        "Statement": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ Back in the policy builder, under `Test Resource`, choose your test bucket and,

Paste this code into the Nunjucks template.

```
nunjucks
```nunjucks
{% set tag_exists = false %}
{% if 'SkipVersioning' in $.bucket.turbot.tags %}
  {% set tag_exists = true %}
Expand All @@ -92,8 +91,7 @@ Our ultimate goal here is to return a valid value for the `AWS > S3 > Bucket > V

Paste this code into the template.

```
nunjucks
```nunjucks
{% set result = 'Check: Enabled' %}
{% if 'SkipVersioning' in $.bucket.turbot.tags %}
  {% set result = 'Skip' %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ Select `Turbot` as the resource. This policy must apply at that level.

Enter these rules, along with one or more email addresses you want to notify.

```
yaml
```yaml
- rules: |
          NOTIFY $.oldControl.state:alarm $.control.state:skipped
          NOTIFY $.oldControl.state:skipped $.control.state:alarm
Expand Down

0 comments on commit fa01034

Please sign in to comment.