update version (#1607)

* update version

* optimize
This commit is contained in:
Lukas Gravley 2021-06-01 09:53:44 -05:00 committed by GitHub
parent ac6fdebd7f
commit a6e46dee6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -31,7 +31,7 @@
{ {
"name": "[variables('Network.Name')]", "name": "[variables('Network.Name')]",
"type": "Microsoft.Network/virtualNetworks", "type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2019-12-01", "apiVersion": "2021-05-01",
"tags": "[variables('Network.Tags')]", "tags": "[variables('Network.Tags')]",
"properties": { "properties": {
"addressSpace": { "addressSpace": {
@ -50,4 +50,4 @@
"value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]" "value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]"
} }
} }
} }

View file

@ -22,7 +22,7 @@
"resources": [ "resources": [
{ {
"type": "Microsoft.Storage/storageAccounts", "type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01", "apiVersion": "2021-05-01",
"name": "[concat('store', uniquestring(resourceGroup().id))]", "name": "[concat('store', uniquestring(resourceGroup().id))]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"kind": "StorageV2", "kind": "StorageV2",

View file

@ -2,6 +2,7 @@ resource "aws_instance" "instanceWithVpc" {
ami = "some-id" ami = "some-id"
instance_type = "t2.micro" instance_type = "t2.micro"
monitoring = true monitoring = true
ebs_optimized = true
vpc_security_group_ids = ["sg-12345678901234567"] vpc_security_group_ids = ["sg-12345678901234567"]
subnet_id = "subnet-12345678901234567" subnet_id = "subnet-12345678901234567"