Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Fix security group not in the correct VPC #15

Merged
merged 1 commit into from
Jun 2, 2020
Merged

Fix security group not in the correct VPC #15

merged 1 commit into from
Jun 2, 2020

Conversation

khuedoan
Copy link
Contributor

@khuedoan khuedoan commented Jun 1, 2020

Fix #5

Currently the molecule security group is created in the default VPC.

If we use a non-default VPC, for example:

# ...
platforms:
  - name: instance
    image_owner: 099xxx
    image_name: ubuntu/images/xxx
    instance_type: t2.micro
    vpc_subnet_id: subnet-035xxx
# ...

The instance creation will fail because the security group and the instance are in different VPCs:

"msg": "The following group names are not valid: molecule"

Same as ansible/molecule#1644 (merged before we move EC2 driver to its own repository)

If we use non-default VPC or multiple VPC
@khuedoan khuedoan changed the title Fix Security Group not in the correct VPC Fix security group not in the correct VPC Jun 1, 2020
@ssbarnea ssbarnea added the gate Gate PR in Zuul CI label Jun 2, 2020
@ansible-zuul ansible-zuul bot merged commit d334d6e into ansible-community:master Jun 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
gate Gate PR in Zuul CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default VPC only
2 participants