Skip to content

Commit

Permalink
use "${}" in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
k24d committed Feb 14, 2020
1 parent 65302bf commit dc12f2c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions website/docs/r/amplify_branch.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "aws_amplify_app" "app" {
}
resource "aws_amplify_branch" "master" {
app_id = aws_amplify_app.app.id
app_id = "${aws_amplify_app.app.id}"
branch_name = "master"
framework = "React"
Expand All @@ -38,7 +38,7 @@ resource "aws_amplify_app" "app" {
}
resource "aws_amplify_branch" "master" {
app_id = aws_amplify_app.app.id
app_id = "${aws_amplify_app.app.id}"
branch_name = "master"
basic_auth_config {
Expand All @@ -61,7 +61,7 @@ resource "aws_amplify_app" "app" {
}
resource "aws_amplify_branch" "master" {
app_id = aws_amplify_app.app.id
app_id = "${aws_amplify_app.app.id}"
branch_name = "master"
// Enable SNS notifications.
Expand All @@ -77,10 +77,10 @@ resource "aws_cloudwatch_event_rule" "amplify_app_master" {
event_pattern = jsonencode({
"detail" = {
"appId" = [
aws_amplify_app.app.id
"${aws_amplify_app.app.id}"
]
"branchName" = [
aws_amplify_branch.master.branch_name
"${aws_amplify_branch.master.branch_name}"
],
"jobStatus" = [
"SUCCEED",
Expand All @@ -98,9 +98,9 @@ resource "aws_cloudwatch_event_rule" "amplify_app_master" {
}
resource "aws_cloudwatch_event_target" "amplify_app_master" {
rule = aws_cloudwatch_event_rule.amplify_app_master.name
target_id = aws_amplify_branch.master.branch_name
arn = aws_sns_topic.amplify_app_master.arn
rule = "${aws_cloudwatch_event_rule.amplify_app_master.name}"
target_id = "${aws_amplify_branch.master.branch_name}"
arn = "${aws_sns_topic.amplify_app_master.arn}"
input_transformer {
input_paths = {
Expand Down Expand Up @@ -139,14 +139,14 @@ data "aws_iam_policy_document" "amplify_app_master" {
}
resources = [
aws_sns_topic.amplify_app_master.arn,
"${aws_sns_topic.amplify_app_master.arn}",
]
}
}
resource "aws_sns_topic_policy" "amplify_app_master" {
arn = aws_sns_topic.amplify_app_master.arn
policy = data.aws_iam_policy_document.amplify_app_master.json
arn = "${aws_sns_topic.amplify_app_master.arn}"
policy = "${data.aws_iam_policy_document.amplify_app_master.json}"
}
```

Expand Down

0 comments on commit dc12f2c

Please sign in to comment.