mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Deprecate ec2_vpc module (#20344)
* Deprecate ec2_vpc module The deprecation of ec2_vpc module has been discussed for 2 years and is causing duplication of effort as changes are implemented for ec2_vpc rather than for the newer alternatives * Improve module deprecation documentation Update the developing modules documentation with the latest instructions on how to deprecate a module.
This commit is contained in:
parent
acdab18ccd
commit
75a7ebe900
3 changed files with 14 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
ANSIBLE_METADATA = {'status': ['stableinterface'],
|
||||
ANSIBLE_METADATA = {'status': ['deprecated'],
|
||||
'supported_by': 'committer',
|
||||
'version': '1.0'}
|
||||
|
||||
|
@ -25,6 +25,10 @@ short_description: configure AWS virtual private clouds
|
|||
description:
|
||||
- Create or terminates AWS virtual private clouds. This module has a dependency on python-boto.
|
||||
version_added: "1.4"
|
||||
deprecated: >-
|
||||
Deprecated in 2.3. Use M(epc_vpc_net) along with supporting modules including
|
||||
M(ec2_vpc_igw), M(ec2_vpc_route_table), M(ec2_vpc_subnet), M(ec2_vpc_dhcp_options),
|
||||
M(ec2_vpc_nat_gateway), M(ec2_vpc_nacl).
|
||||
options:
|
||||
cidr_block:
|
||||
description:
|
||||
|
@ -400,7 +404,6 @@ def create_vpc(module, vpc_conn):
|
|||
vpc_conn.modify_vpc_attribute(vpc.id, enable_dns_support=dns_support)
|
||||
vpc_conn.modify_vpc_attribute(vpc.id, enable_dns_hostnames=dns_hostnames)
|
||||
|
||||
|
||||
# Process all subnet properties
|
||||
if subnets is not None:
|
||||
if not isinstance(subnets, list):
|
Loading…
Add table
Add a link
Reference in a new issue