Hi, I have a simple ec2_group configuration like this:
- name: Create cc
hosts: localhost
tasks:
- name: Create security group
ec2_group:
name: cc
description: Security group for cc
region: ap-northeast-1
state: absent
rules:
- proto: tcp
from_port: 80
to_port: 80
cidr_ip: 0.0.0.0/0
- proto: tcp
from_port: 22
to_port: 22
cidr_ip: 0.0.0.0/0
To change this security group's configuration, it seems that I need delete
it first and create a new one.
If I have an ec2 instance that is using that security group, I need to
delete the instance.
What's the best practice here to change the configuration of ec2 security
group and other ec2 module?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/032f37a6-4ace-4f7a-af92-8665272710b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.