mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding subnetID so it knows the right VPC to build the node in.
This commit is contained in:
parent
6b009b4290
commit
2df611565a
1 changed files with 3 additions and 2 deletions
|
@ -111,10 +111,11 @@ class EC2Test(ShellCase):
|
|||
key = config[profile_str][PROVIDER_NAME]['key']
|
||||
key_name = config[profile_str][PROVIDER_NAME]['keyname']
|
||||
sec_group = config[profile_str][PROVIDER_NAME]['securitygroupname'][0]
|
||||
subnet_id = config[profile_str][PROVIDER_NAME]['subnet_id']
|
||||
private_key = config[profile_str][PROVIDER_NAME]['private_key']
|
||||
location = config[profile_str][PROVIDER_NAME]['location']
|
||||
|
||||
conf_items = [id_, key, key_name, sec_group, private_key, location]
|
||||
conf_items = [id_, key, key_name, sec_group, subnet_id, private_key, location]
|
||||
missing_conf_item = []
|
||||
|
||||
for item in conf_items:
|
||||
|
@ -123,7 +124,7 @@ class EC2Test(ShellCase):
|
|||
|
||||
if missing_conf_item:
|
||||
self.skipTest(
|
||||
'An id, key, keyname, security group, private key, and location must '
|
||||
'An id, key, keyname, security group, subnet id, private key, and location must '
|
||||
'be provided to run these tests. One or more of these elements is '
|
||||
'missing. Check tests/integration/files/conf/cloud.providers.d/{0}.conf'
|
||||
.format(PROVIDER_NAME)
|
||||
|
|
Loading…
Add table
Reference in a new issue