Skip to content

Commit

Permalink
Replacing %s and %d with actual examples (#2703)
Browse files Browse the repository at this point in the history
Raised by @petems
  • Loading branch information
tombuildsstuff authored and katbyte committed Jan 17, 2019
1 parent 6af93a3 commit 9d754ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions website/docs/r/ddos_protection_plan.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Manages an Azure DDoS Protection Plan.

```hcl
resource "azurerm_resource_group" "test" {
name = "testgroup"
name = "example-resources"
location = "West Europe"
}
resource "azurerm_ddos_protection_plan" "test" {
name = "testddospplan-%d"
name = "example-protection-plan"
location = "${azurerm_resource_group.test.location}"
resource_group_name = "${azurerm_resource_group.test.name}"
}
Expand All @@ -45,6 +45,7 @@ The following arguments are supported:
The following attributes are exported:

* `id` - The Resource ID of the DDoS Protection Plan

* `virtual_network_ids` - The Resource ID list of the Virtual Networks associated with DDoS Protection Plan.

## Import
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/policy_assignment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resource "azurerm_policy_definition" "test" {
name = "my-policy-definition"
policy_type = "Custom"
mode = "All"
display_name = "acctestpol-%d"
display_name = "my-policy-definition"
policy_rule = <<POLICY_RULE
{
Expand Down Expand Up @@ -57,7 +57,7 @@ resource "azurerm_policy_assignment" "test" {
scope = "${azurerm_resource_group.test.id}"
policy_definition_id = "${azurerm_policy_definition.test.id}"
description = "Policy Assignment created via an Acceptance Test"
display_name = "Acceptance Test Run %d"
display_name = "My Example Policy Assignment"
parameters = <<PARAMETERS
{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/storage_queue.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Manage an Azure Storage Queue.

```hcl
resource "azurerm_resource_group" "test" {
name = "acctestRG-%d"
name = "example-resources"
location = "westus"
}
resource "azurerm_storage_account" "test" {
name = "acctestacc%s"
name = "examplestorageacc"
resource_group_name = "${azurerm_resource_group.test.name}"
location = "westus"
location = "${azurerm_resource_group.test.location}"
account_tier = "Standard"
account_replication_type = "LRS"
}
Expand Down

0 comments on commit 9d754ff

Please sign in to comment.