Fixed indentation in Azure documentation.
This commit is contained in:
parent
a76105b0f1
commit
c1ac72683d
|
@ -14,10 +14,10 @@ Creates a new hosted service on Azure with its own .cloudapp.net domain.
|
|||
|
||||
```
|
||||
resource "azure_hosted_service" "terraform-service" {
|
||||
name = "terraform-service"
|
||||
location = "North Europe"
|
||||
name = "terraform-service"
|
||||
location = "North Europe"
|
||||
ephemeral_contents = false
|
||||
description = "Hosted service created by Terraform."
|
||||
description = "Hosted service created by Terraform."
|
||||
label = "tf-hs-01"
|
||||
}
|
||||
```
|
||||
|
|
|
@ -23,15 +23,15 @@ resource "azure_security_group" "apps" {
|
|||
|
||||
resource "azure_security_group_rule" "ssh_access" {
|
||||
name = "ssh-access-rule"
|
||||
security_group_names = ["${azure_security_group.web.name}", "${azure_security_group.apps.name}"]
|
||||
type = "Inbound"
|
||||
action = "Allow"
|
||||
priority = 200
|
||||
source_address_prefix = "100.0.0.0/32"
|
||||
source_port_range = "*"
|
||||
destination_address_prefix = "10.0.0.0/32"
|
||||
destination_port_range = "22"
|
||||
protocol = "TCP"
|
||||
security_group_names = ["${azure_security_group.web.name}", "${azure_security_group.apps.name}"]
|
||||
type = "Inbound"
|
||||
action = "Allow"
|
||||
priority = 200
|
||||
source_address_prefix = "100.0.0.0/32"
|
||||
source_port_range = "*"
|
||||
destination_address_prefix = "10.0.0.0/32"
|
||||
destination_port_range = "22"
|
||||
protocol = "TCP"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ resource "azure_sql_database_service" "sql-server" {
|
|||
max_size_bytes = "5368709120"
|
||||
service_level_id = "f1173c43-91bd-4aaa-973c-54e79e15235b"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
|
|
@ -14,10 +14,10 @@ Creates a new storage blob within a given storage container on Azure.
|
|||
|
||||
```
|
||||
resource "azure_storage_blob" "foo" {
|
||||
name = "tftesting-blob"
|
||||
storage_service_name = "tfstorserv"
|
||||
storage_container_name = "terraform-storage-container"
|
||||
type = "PageBlob"
|
||||
name = "tftesting-blob"
|
||||
storage_service_name = "tfstorserv"
|
||||
storage_container_name = "terraform-storage-container"
|
||||
type = "PageBlob"
|
||||
size = 1024
|
||||
}
|
||||
````
|
||||
|
|
|
@ -14,9 +14,9 @@ Creates a new storage container within a given storage service on Azure.
|
|||
|
||||
```
|
||||
resource "azure_storage_container" "stor-cont" {
|
||||
name = "terraform-storage-container"
|
||||
container_access_type = "blob"
|
||||
storage_service_name = "tfstorserv"
|
||||
name = "terraform-storage-container"
|
||||
container_access_type = "blob"
|
||||
storage_service_name = "tfstorserv"
|
||||
}
|
||||
````
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ Creates a new storage queue within a given storage service on Azure.
|
|||
|
||||
```
|
||||
resource "azure_storage_queue" "stor-queue" {
|
||||
name = "terraform-storage-queue"
|
||||
storage_service_name = "tfstorserv"
|
||||
name = "terraform-storage-queue"
|
||||
storage_service_name = "tfstorserv"
|
||||
}
|
||||
````
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ Creates a new storage service on Azure in which storage containers may be create
|
|||
|
||||
```
|
||||
resource "azure_storage_service" "tfstor" {
|
||||
name = "tfstor"
|
||||
location = "West US"
|
||||
name = "tfstor"
|
||||
location = "West US"
|
||||
description = "Made by Terraform."
|
||||
account_type = "Standard_LRS"
|
||||
account_type = "Standard_LRS"
|
||||
}
|
||||
````
|
||||
|
||||
|
|
Loading…
Reference in New Issue