Commit Graph

40 Commits (68e59332c7fd65e11a410f7cc87fa89995968c6f)

Author SHA1 Message Date
James Cammarata 3a6d00f81d Add note about changing resource_tags to required in ec2_vpc 10 years ago
James Cammarata 2184b15542 Merge branch 'psa-resource-tag-required' into devel 10 years ago
James Cammarata 0798f3cda4 Merge branch 'issue_7848' of https://github.com/mpeters/ansible into mpeters-issue_7848 10 years ago
James Cammarata aecd292f13 Merge branch 'resource-tag-required' of https://github.com/psa/ansible into psa-resource-tag-required 10 years ago
James Cammarata 1f813ba128 Merge pull request #8022 from psa/vpc-gateway-peering
Fix for #7368 breaks peering connections. Unreak them.
10 years ago
Paul Armstrong 97b3e8c6e4 Fix for #7368 breaks peering connections. Unreak them. 11 years ago
James Cammarata 0ee28c1a0e Make sure subnets and route_tables are initialized before using
Fixes #7712
11 years ago
Paul Armstrong d5b6781482 Make resource_tags required and do whitespace cleanup 11 years ago
Yap Sok Ann f80467e013 ec2_vpc: Fix error when using InstanceId as a route gateway.
See https://github.com/ansible/ansible/issues/7368

Fixes #7368
11 years ago
Michael Peters 87a6290065 Use the right name for the vpc_id parameter
Fixes #7853
11 years ago
Michael Peters 3f1cf5a98a This should fix issue #7848
We need to catch any InvalidVpcID.NotFound errors and treat them
just like getting back a vpc that's not "available"
11 years ago
James Cammarata 24cfcd1f88 Merge pull request #6985 from jimi-c/issue_6763_ec2_vpc_params
Ensure params were set in ec2_vpc before accessing them
11 years ago
James Cammarata a37a84243b Check resource_tags value before using it in ec2_vpc
Fixes #7024
11 years ago
James Cammarata 46ea3155c6 Ensure params were set in ec2_vpc before accessing them
Fixes #6763
11 years ago
James Laska f96618c967 Use proper YAML quotes to fix webdocs 11 years ago
James Laska 6c8d8a746f Fix YAML docstring that broke webdocs 11 years ago
Michael DeHaan e6ab2d83b8 Merge pull request #6081 from alexanderpopov1/ec2_vpc-subnet-tagging
Added support for tagging subnets in ec2_vpc module
11 years ago
Michael DeHaan 8285ac5b31 Merge branch 'ec2_vpc-multiple-vpcs-support' of git://github.com/alexanderpopov1/ansible into devel
Conflicts:
	library/cloud/ec2_vpc
11 years ago
Richard C Isaacson e40fd9bb0d Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Alexander Popov d48880debc Added 'version_added' to the 'resrouce_tags' attribute in DOCUMENTATION section. 11 years ago
Alexander Popov 8c8ff79c8b Added code to create tags on the VPC resource 11 years ago
Alexander Popov 6dfafb0cf5 Updated module documentation, re: resource_tags 11 years ago
Alexander Popov 49e9c42770 Renamed vpc_id_tags to resource_tags 11 years ago
Alexander Popov 514e4b3742 Added multi VPC support
Initial commit

Refactored terminate_vpc method to support vpc_id_tags

Cleaned up find_vpc() method
11 years ago
Alexander Popov e56cffe3a5 Renamed instance_tags to resource_tags based on community feedback. 11 years ago
Alexander Popov 3c4b14523b Renamed subnet's 'tags' attribute into 'instance_tags' to distinguish it from Ansible's own 'tags' and to conform to ec2 module naming for AWS tags. 11 years ago
Alexander Popov 428c69c08a Refactored subnet tagging to account for AWS delays; added 'tags' attribute to 'subnet' node in the returned json. 11 years ago
Alexander Popov 4dbac647bc Added documentation for subnets: tags: option 11 years ago
Alexander Popov 2a108b2aeb Added subnet tagging. 11 years ago
Richard Isaacson 73fa767a6b Added instance_tenancy functionality per social request. 11 years ago
James Cammarata 8a7c68dc18 Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
Conflicts:
	lib/ansible/module_utils/ec2.py
	library/cloud/ec2
11 years ago
James Cammarata 056d54ebd3 Adding 'validate_certs' option to EC2 modules
When disabled, the boto connection will be instantiated without validating
the SSL certificate from the target endpoint. This allows the modules to connect
to Eucalyptus instances running with self-signed certs without errors.

Fixes #3978
11 years ago
Scott Anderson baf508a379 Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 11 years ago
Timur Batyrshin 658c15930e reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 11 years ago
willthames 12005a1cd0 Move more responsibility to common EC2 module
Moved `AWS_REGIONS` into `ec2` module
Created `ec2_connect` method in `ec2` module
Updated modules able to use `ec2_connect` and `AWS_REGIONS`
11 years ago
David Hummel 614efadb7a Fix issue #5043: ec2_vpc module wait=yes state attribute retrieval 11 years ago
Justin Ludwig 26374d89a0 Fix AWS credential params for s3 and other modules
The `ec2_ami`, `ec2_elb`, `ec2_tag`, `ec2_vpc`, `route53`, and `s3` modules
all canonicalize the AWS access and secret key params as
`aws_access_key` and `aws_secret_key`. However, following the fixes for #4540,
those modules now use `get_ec2_creds` from `lib/ansible/module_utils/ec2.py`,
which requires access/secret key params to be canonicalized as
`ec2_access_key` and `ec2_secret_key`. As a result, AWS credentials passed
to those six modules as parameters are ignored (they instead always use
the AWS credentials specified via environment variables, or nothing).

So this change fixes those six modules to canonicalize the
AWS access and secret key params as `ec2_access_key` and `ec2_secret_key`,
allowing them to again accept AWS credentials passed via module params.
11 years ago
James Tanner 52032b80d4 Fix pep8 error in ec2_vpc 11 years ago
Michael DeHaan 2726b13245 Changelog updates and a few module renames. vpc -> ec2_vpc, githooks -> github_hooks, blacklist -> kernel_blacklist. These are all new in 1.4 so safe to change. 11 years ago
Michael DeHaan aee1fcad05 Update changelog, rename vpc module to ec2_vpc. 11 years ago