Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
- hosts: local
connection: local
gather_facts: false
tasks:
- ec2_vpc_net_info:
region: eu-central-1
filters:
"tag:environment": production # "{{ vardata.environment }}"
register: output
- debug:
var: output
- set_fact:
vpc_id: "{{ output.vpcs.id }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.