Last active
July 14, 2021 04:39
-
-
Save mikaelkrief/f53b906bf0f0cc33d4de535bbf57bd85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
control "subnet" do | |
describe azurerm_subnet(resource_group: 'MyResourceGroup', vnet: 'vnet-prod', name: 'subnet-web') do | |
it { should exist } | |
its('address_prefix') { should eq '192.168.0.0/24' } | |
its('nsg') { should eq 'my-nsg'} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment