From e95fb90fa1f0ed521c30f3391c138851bc182abc Mon Sep 17 00:00:00 2001 From: Jill R <4121322+jillr@users.noreply.github.com> Date: Thu, 13 Aug 2020 09:36:09 -0700 Subject: [PATCH] Prepare 1.1.0 release (#185) * Prepare 1.1.0 release Run add_docs.py Run antsibull-changelog Bump release in galaxy.yml Update meta/runtime.yml with supported ansible revs Add requirements file to support execution environments Update amazon.aws rev in test requirements * Cleanup changelog formatting for new, sticter antsibull-changelog formatting Rerun add_docs.py with --branch-name flag Correct required amazon.aws revision to match the current in-progress release * add_docs generated bad markup, fix that --- CHANGELOG.rst | 281 + README.md | 9 +- changelogs/changelog.yaml | 706 +++ changelogs/fragments/.empty | 0 .../fragments/173-ansibleawsmodule.yaml | 2 - ...004-cloudwatchlogs_log_group-KeyError.yaml | 4 - .../fragments/56468-deprecate-lnb-absent.yml | 2 - .../58118-aws_api_gateway-params.yml | 2 - .../58822-aws-lamda-tracing-config.yaml | 2 - .../59597-ecs-allow_default_network_mode.yml | 2 - ...te53-improve-octal-characters-handling.yml | 3 - ...0944-sns_topic-delivery_policy-changed.yml | 3 - .../61263-aws_codecommit-description.yml | 2 - ...1-cloudfront_distribution-encryptionid.yml | 2 - .../61279-ec2_launch_template-output.yml | 2 - .../61577-support-iops-in-purefa_volume.yml | 2 - .../fragments/61805-azure-facts-info.yml | 7 - ...sit_gateway-honor-auto_attach-setting.yaml | 2 - ...62014-iam_role_session_instanceprofile.yml | 3 - .../63362-remove-edgeos-filtering.yaml | 2 - changelogs/fragments/63924-boto3.yml | 5 - .../63961-deprecate-fail_on_delete.yml | 2 - .../fragments/63989-deprecate-unused.yml | 3 - .../fragments/64230-deprecate-unused.yml | 5 - changelogs/fragments/64258-purge_policies.yml | 5 - .../fragments/64368-deprecate-unused.yml | 3 - .../64598-add-next-token-support.yml | 2 - changelogs/fragments/64867-route53-diff.yml | 2 - .../65265-allow-udp-tcpudp-protocol.yaml | 3 - .../65555-amazon-sanity-required.yml | 2 - .../65557-iam-make-name-required.yml | 2 - .../fragments/65558-iam_cert-require-name.yml | 2 - .../65559-iam_policy-require-iam_name.yml | 2 - changelogs/fragments/66037-aws_kms.yml | 2 - .../fragments/66673-elb_target-awsretry.yaml | 3 - .../fragments/66779-redshift-backoff.yml | 2 - .../fragments/66795-sqs_queue-boto3.yaml | 3 - ...ce_lifetime-and-honor-wait-on-replace.yaml | 5 - .../67045-ec2_asg_mixed_instance_policy.yml | 2 - .../67089-sns_topic-notfound-backoff.yaml | 2 - ...67247-fix-ec2_transit_gateway-retries.yaml | 2 - .../fragments/67651-aws-kms-key-rotation.yml | 2 - .../67671-aws_acm-module_defaults.yaml | 3 - .../67770-aws-kms-info-key-rotation.yml | 2 - .../fragments/dont-template-cli-passwords.yml | 12 - ...lineinfile-backrefs-match-object-type.yaml | 2 - changelogs/fragments/porting-guide.yml | 12 - .../sanity_fix_future_boilerplate.yml | 2 - .../fragments/win_credential-wildcard.yaml | 2 - docs/community.aws.aws_acm_info_module.rst | 1020 +-- docs/community.aws.aws_acm_module.rst | 479 +- docs/community.aws.aws_api_gateway_module.rst | 603 +- ....aws_application_scaling_policy_module.rst | 1061 ++-- ...s.aws_batch_compute_environment_module.rst | 666 +- ...ty.aws.aws_batch_job_definition_module.rst | 803 +-- ...mmunity.aws.aws_batch_job_queue_module.rst | 429 +- docs/community.aws.aws_codebuild_module.rst | 1249 ++-- docs/community.aws.aws_codecommit_module.rst | 575 +- .../community.aws.aws_codepipeline_module.rst | 595 +- ...onfig_aggregation_authorization_module.rst | 283 +- ...unity.aws.aws_config_aggregator_module.rst | 441 +- ...aws.aws_config_delivery_channel_module.rst | 351 +- ...mmunity.aws.aws_config_recorder_module.rst | 379 +- docs/community.aws.aws_config_rule_module.rst | 522 +- ...rect_connect_confirm_connection_module.rst | 317 + ...s.aws_direct_connect_connection_module.rst | 582 +- ....aws.aws_direct_connect_gateway_module.rst | 444 +- ..._connect_link_aggregation_group_module.rst | 725 +-- ...irect_connect_virtual_interface_module.rst | 1026 +-- docs/community.aws.aws_eks_cluster_module.rst | 619 +- ...ty.aws.aws_elasticbeanstalk_app_module.rst | 350 +- ...mmunity.aws.aws_glue_connection_module.rst | 544 +- docs/community.aws.aws_glue_job_module.rst | 768 +-- ...munity.aws.aws_inspector_target_module.rst | 395 +- docs/community.aws.aws_kms_info_module.rst | 789 +-- docs/community.aws.aws_kms_module.rst | 1167 ++-- docs/community.aws.aws_region_info_module.rst | 266 +- ...ommunity.aws.aws_s3_bucket_info_module.rst | 243 +- docs/community.aws.aws_s3_cors_module.rst | 339 +- docs/community.aws.aws_secret_module.rst | 561 +- .../community.aws.aws_ses_identity_module.rst | 779 +-- ...ity.aws.aws_ses_identity_policy_module.rst | 321 +- .../community.aws.aws_ses_rule_set_module.rst | 361 +- docs/community.aws.aws_sgw_info_module.rst | 815 +-- docs/community.aws.aws_ssm_connection.rst | 165 +- ...ity.aws.aws_ssm_parameter_store_module.rst | 439 +- ...nctions_state_machine_execution_module.rst | 417 +- ...ws_step_functions_state_machine_module.rst | 365 +- ...community.aws.aws_waf_condition_module.rst | 1656 ++--- docs/community.aws.aws_waf_info_module.rst | 449 +- docs/community.aws.aws_waf_rule_module.rst | 607 +- docs/community.aws.aws_waf_web_acl_module.rst | 683 +- ...aws.cloudformation_exports_info_module.rst | 239 +- ...ty.aws.cloudformation_stack_set_module.rst | 795 +-- ...ity.aws.cloudfront_distribution_module.rst | 5621 +++++++++-------- docs/community.aws.cloudfront_info_module.rst | 871 +-- ...ity.aws.cloudfront_invalidation_module.rst | 503 +- ...oudfront_origin_access_identity_module.rst | 435 +- docs/community.aws.cloudtrail_module.rst | 929 +-- ...munity.aws.cloudwatchevent_rule_module.rst | 567 +- ...s.cloudwatchlogs_log_group_info_module.rst | 369 +- ...tchlogs_log_group_metric_filter_module.rst | 421 +- ...ty.aws.cloudwatchlogs_log_group_module.rst | 510 +- docs/community.aws.data_pipeline_module.rst | 726 +-- docs/community.aws.dms_endpoint_module.rst | 773 +-- ...ws.dms_replication_subnet_group_module.rst | 301 +- docs/community.aws.dynamodb_table_module.rst | 667 +- docs/community.aws.dynamodb_ttl_module.rst | 305 +- docs/community.aws.ec2_ami_copy_module.rst | 451 +- docs/community.aws.ec2_asg_info_module.rst | 701 +- ...nity.aws.ec2_asg_lifecycle_hook_module.rst | 418 +- docs/community.aws.ec2_asg_module.rst | 1537 ++--- ...y.aws.ec2_customer_gateway_info_module.rst | 277 +- ...munity.aws.ec2_customer_gateway_module.rst | 461 +- docs/community.aws.ec2_eip_info_module.rst | 266 +- docs/community.aws.ec2_eip_module.rst | 531 +- docs/community.aws.ec2_elb_info_module.rst | 250 +- docs/community.aws.ec2_elb_module.rst | 356 +- ...community.aws.ec2_instance_info_module.rst | 2002 +++--- docs/community.aws.ec2_instance_module.rst | 3061 ++++----- ...mmunity.aws.ec2_launch_template_module.rst | 1633 ++--- docs/community.aws.ec2_lc_find_module.rst | 535 +- docs/community.aws.ec2_lc_info_module.rst | 583 +- docs/community.aws.ec2_lc_module.rst | 1620 ++--- .../community.aws.ec2_metric_alarm_module.rst | 634 +- ...ty.aws.ec2_placement_group_info_module.rst | 322 +- ...mmunity.aws.ec2_placement_group_module.rst | 370 +- ...ommunity.aws.ec2_scaling_policy_module.rst | 365 +- ...community.aws.ec2_snapshot_copy_module.rst | 403 +- ...ty.aws.ec2_transit_gateway_info_module.rst | 611 +- ...mmunity.aws.ec2_transit_gateway_module.rst | 905 +-- ...ommunity.aws.ec2_vpc_egress_igw_module.rst | 304 +- ...unity.aws.ec2_vpc_endpoint_info_module.rst | 321 +- .../community.aws.ec2_vpc_endpoint_module.rst | 449 +- .../community.aws.ec2_vpc_igw_info_module.rst | 295 +- docs/community.aws.ec2_vpc_igw_module.rst | 360 +- ...community.aws.ec2_vpc_nacl_info_module.rst | 405 +- docs/community.aws.ec2_vpc_nacl_module.rst | 424 +- ...ty.aws.ec2_vpc_nat_gateway_info_module.rst | 275 +- ...mmunity.aws.ec2_vpc_nat_gateway_module.rst | 549 +- docs/community.aws.ec2_vpc_peer_module.rst | 376 +- ...munity.aws.ec2_vpc_peering_info_module.rst | 275 +- ...ty.aws.ec2_vpc_route_table_info_module.rst | 240 +- ...mmunity.aws.ec2_vpc_route_table_module.rst | 881 +-- .../community.aws.ec2_vpc_vgw_info_module.rst | 295 +- docs/community.aws.ec2_vpc_vgw_module.rst | 401 +- .../community.aws.ec2_vpc_vpn_info_module.rst | 661 +- docs/community.aws.ec2_vpc_vpn_module.rst | 997 +-- .../community.aws.ec2_win_password_module.rst | 343 +- docs/community.aws.ecs_attribute_module.rst | 447 +- docs/community.aws.ecs_cluster_module.rst | 420 +- docs/community.aws.ecs_ecr_module.rst | 491 +- .../community.aws.ecs_service_info_module.rst | 559 +- docs/community.aws.ecs_service_module.rst | 1733 ++--- docs/community.aws.ecs_tag_module.rst | 409 +- docs/community.aws.ecs_task_module.rst | 727 +-- ...ity.aws.ecs_taskdefinition_info_module.rst | 1251 ++-- ...ommunity.aws.ecs_taskdefinition_module.rst | 541 +- docs/community.aws.efs_info_module.rst | 571 +- docs/community.aws.efs_module.rst | 837 +-- .../community.aws.elasticache_info_module.rst | 975 +-- docs/community.aws.elasticache_module.rst | 516 +- ...aws.elasticache_parameter_group_module.rst | 377 +- ...munity.aws.elasticache_snapshot_module.rst | 395 +- ...ty.aws.elasticache_subnet_group_module.rst | 301 +- ...ity.aws.elb_application_lb_info_module.rst | 637 +- ...ommunity.aws.elb_application_lb_module.rst | 1500 ++--- ...mmunity.aws.elb_classic_lb_info_module.rst | 266 +- docs/community.aws.elb_classic_lb_module.rst | 717 ++- docs/community.aws.elb_instance_module.rst | 355 +- docs/community.aws.elb_network_lb_module.rst | 1162 ++-- ...unity.aws.elb_target_group_info_module.rst | 892 +-- .../community.aws.elb_target_group_module.rst | 1114 ++-- docs/community.aws.elb_target_info_module.rst | 506 +- docs/community.aws.elb_target_module.rst | 420 +- docs/community.aws.execute_lambda_module.rst | 425 +- docs/community.aws.iam_cert_module.rst | 410 +- docs/community.aws.iam_group_module.rst | 634 +- ...ommunity.aws.iam_managed_policy_module.rst | 418 +- ...mmunity.aws.iam_mfa_device_info_module.rst | 259 +- docs/community.aws.iam_module.rst | 576 +- ...mmunity.aws.iam_password_policy_module.rst | 473 +- docs/community.aws.iam_policy_info_module.rst | 364 +- docs/community.aws.iam_policy_module.rst | 384 +- docs/community.aws.iam_role_info_module.rst | 641 +- docs/community.aws.iam_role_module.rst | 706 ++- ...mmunity.aws.iam_saml_federation_module.rst | 377 +- ...aws.iam_server_certificate_info_module.rst | 367 +- docs/community.aws.iam_user_info_module.rst | 417 +- docs/community.aws.iam_user_module.rst | 434 +- docs/community.aws.kinesis_stream_module.rst | 539 +- docs/community.aws.lambda_alias_module.rst | 399 +- docs/community.aws.lambda_event_module.rst | 477 +- docs/community.aws.lambda_facts_module.rst | 339 +- docs/community.aws.lambda_info_module.rst | 325 +- docs/community.aws.lambda_module.rst | 627 +- docs/community.aws.lambda_policy_module.rst | 440 +- docs/community.aws.lightsail_module.rst | 462 +- ...community.aws.rds_instance_info_module.rst | 1469 ++--- docs/community.aws.rds_instance_module.rst | 2835 ++++----- docs/community.aws.rds_module.rst | 1979 +++--- docs/community.aws.rds_param_group_module.rst | 485 +- ...community.aws.rds_snapshot_info_module.rst | 1165 ++-- docs/community.aws.rds_snapshot_module.rst | 845 +-- .../community.aws.rds_subnet_group_module.rst | 403 +- ...redshift_cross_region_snapshots_module.rst | 329 +- docs/community.aws.redshift_info_module.rst | 839 +-- docs/community.aws.redshift_module.rst | 1112 ++-- ...unity.aws.redshift_subnet_group_module.rst | 369 +- ...munity.aws.route53_health_check_module.rst | 444 +- docs/community.aws.route53_info_module.rst | 541 +- docs/community.aws.route53_module.rst | 968 +-- docs/community.aws.route53_zone_module.rst | 489 +- ...nity.aws.s3_bucket_notification_module.rst | 441 +- docs/community.aws.s3_lifecycle_module.rst | 581 +- docs/community.aws.s3_logging_module.rst | 304 +- docs/community.aws.s3_sync_module.rst | 613 +- docs/community.aws.s3_website_module.rst | 652 +- docs/community.aws.sns_module.rst | 509 +- docs/community.aws.sns_topic_module.rst | 821 +-- docs/community.aws.sqs_queue_module.rst | 831 +-- docs/community.aws.sts_assume_role_module.rst | 404 +- ...community.aws.sts_session_token_module.rst | 310 +- galaxy.yml | 4 +- meta/runtime.yml | 2 + requirements.txt | 3 + tests/requirements.yml | 3 +- 227 files changed, 59533 insertions(+), 55786 deletions(-) create mode 100644 CHANGELOG.rst create mode 100644 changelogs/changelog.yaml delete mode 100644 changelogs/fragments/.empty delete mode 100644 changelogs/fragments/173-ansibleawsmodule.yaml delete mode 100644 changelogs/fragments/480004-cloudwatchlogs_log_group-KeyError.yaml delete mode 100644 changelogs/fragments/56468-deprecate-lnb-absent.yml delete mode 100644 changelogs/fragments/58118-aws_api_gateway-params.yml delete mode 100644 changelogs/fragments/58822-aws-lamda-tracing-config.yaml delete mode 100644 changelogs/fragments/59597-ecs-allow_default_network_mode.yml delete mode 100644 changelogs/fragments/60508-route53-improve-octal-characters-handling.yml delete mode 100644 changelogs/fragments/60944-sns_topic-delivery_policy-changed.yml delete mode 100644 changelogs/fragments/61263-aws_codecommit-description.yml delete mode 100644 changelogs/fragments/61271-cloudfront_distribution-encryptionid.yml delete mode 100644 changelogs/fragments/61279-ec2_launch_template-output.yml delete mode 100644 changelogs/fragments/61577-support-iops-in-purefa_volume.yml delete mode 100644 changelogs/fragments/61805-azure-facts-info.yml delete mode 100644 changelogs/fragments/61933-ec2_transit_gateway-honor-auto_attach-setting.yaml delete mode 100644 changelogs/fragments/62014-iam_role_session_instanceprofile.yml delete mode 100644 changelogs/fragments/63362-remove-edgeos-filtering.yaml delete mode 100644 changelogs/fragments/63924-boto3.yml delete mode 100644 changelogs/fragments/63961-deprecate-fail_on_delete.yml delete mode 100644 changelogs/fragments/63989-deprecate-unused.yml delete mode 100644 changelogs/fragments/64230-deprecate-unused.yml delete mode 100644 changelogs/fragments/64258-purge_policies.yml delete mode 100644 changelogs/fragments/64368-deprecate-unused.yml delete mode 100644 changelogs/fragments/64598-add-next-token-support.yml delete mode 100644 changelogs/fragments/64867-route53-diff.yml delete mode 100644 changelogs/fragments/65265-allow-udp-tcpudp-protocol.yaml delete mode 100644 changelogs/fragments/65555-amazon-sanity-required.yml delete mode 100644 changelogs/fragments/65557-iam-make-name-required.yml delete mode 100644 changelogs/fragments/65558-iam_cert-require-name.yml delete mode 100644 changelogs/fragments/65559-iam_policy-require-iam_name.yml delete mode 100644 changelogs/fragments/66037-aws_kms.yml delete mode 100644 changelogs/fragments/66673-elb_target-awsretry.yaml delete mode 100644 changelogs/fragments/66779-redshift-backoff.yml delete mode 100644 changelogs/fragments/66795-sqs_queue-boto3.yaml delete mode 100644 changelogs/fragments/66863-ec2_asg-max_instance_lifetime-and-honor-wait-on-replace.yaml delete mode 100644 changelogs/fragments/67045-ec2_asg_mixed_instance_policy.yml delete mode 100644 changelogs/fragments/67089-sns_topic-notfound-backoff.yaml delete mode 100644 changelogs/fragments/67247-fix-ec2_transit_gateway-retries.yaml delete mode 100644 changelogs/fragments/67651-aws-kms-key-rotation.yml delete mode 100644 changelogs/fragments/67671-aws_acm-module_defaults.yaml delete mode 100644 changelogs/fragments/67770-aws-kms-info-key-rotation.yml delete mode 100644 changelogs/fragments/dont-template-cli-passwords.yml delete mode 100644 changelogs/fragments/lineinfile-backrefs-match-object-type.yaml delete mode 100644 changelogs/fragments/porting-guide.yml delete mode 100644 changelogs/fragments/sanity_fix_future_boilerplate.yml delete mode 100644 changelogs/fragments/win_credential-wildcard.yaml create mode 100644 docs/community.aws.aws_direct_connect_confirm_connection_module.rst create mode 100644 requirements.txt diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 00000000000..5be40e94986 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,281 @@ +=========================== +community.aws Release Notes +=========================== + +.. contents:: Topics + + +v1.1.0 +====== + +Minor Changes +------------- + +- Remaining community.aws AnsibleModule based modules migrated to AnsibleAWSModule. +- sanity - add future imports in all missing places. + +Deprecated Features +------------------- + +- data_pipeline - the ``version`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. +- ec2_eip - the ``wait_timeout`` option has been deprecated and will be removed in a later release. It has had no effect since Ansible 2.3. +- ec2_lc - the ``associate_public_ip_address`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. +- elb_network_lb - in a later release, the default behaviour for the ``state`` option will change from ``absent`` to ``present``. To maintain the existing behavior explicitly set state to ``absent``. +- iam_managed_policy - the ``fail_on_delete`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. +- iam_policy - in a later release, the default value for the ``skip_duplicates`` option will change from ``true`` to ``false``. To maintain the existing behavior explicitly set it to ``true``. +- iam_policy - the ``policy_document`` option has been deprecated and will be removed in a later release. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin. +- iam_role - in a later release, the ``purge_policies`` option (also know as ``purge_policy``) default value will change from ``true`` to ``false`` +- s3_lifecycle - the ``requester_pays`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. +- s3_sync - the ``retries`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. + +v1.0.0 +====== + +Minor Changes +------------- + +- Allow all params that boto support in aws_api_gateway module +- aws_acm - Add the module to group/aws for module_defaults. +- aws_acm - Update automatic retries to stabilize the integration tests. +- aws_codecommit - Support updating the description +- aws_kms - Adds the ``enable_key_rotation`` option to enable or disable automatically key rotation. +- aws_kms: code refactor, some error messages updated +- aws_kms_info - Adds the ``enable_key_rotation`` info to the return value. +- ec2_asg - Add the ability to use mixed_instance_policy in launch template driven autoscaling groups +- ec2_asg - Add support for Max Instance Lifetime +- ec2_asg - Migrated to AnsibleAWSModule +- ec2_placement_group - make ``name`` a required field. +- ecs_task_definition - Add network_mode=default to support Windows ECS tasks. +- elb_network_lb - added support to UDP and TCP_UDP protocols +- elb_target - add awsretry to prevent rate exceeded errors (https://github.com/ansible/ansible/issues/51108) +- elb_target_group - allow UDP and TCP_UDP protocols; permit only HTTP/HTTPS health checks using response codes and paths +- iam - make ``name`` a required field. +- iam_cert - make ``name`` a required field. +- iam_policy - The iam_policy module has been migrated from boto to boto3. +- iam_policy - make ``iam_name`` a required field. +- iam_role - Add support for managing the maximum session duration +- iam_role - Add support for removing the related instance profile when we delete the role +- iam_role, iam_user and iam_group - the managed_policy option has been renamed to managed_policies (with an alias added) +- iam_role, iam_user and iam_group - the purge_policy option has been renamed to purge_policies (with an alias added) +- lambda - add a tracing_mode parameter to set the TracingConfig for AWS X-Ray. Also allow updating Lambda runtime. +- purefa_volume - Change I(qos) parameter to I(bw_iops), but retain I(qos) as an alias for backwards compatability (https://github.com/ansible/ansible/pull/61577). +- redshift - Add AWSRetry calls for errors outside our control +- route53 - the module now has diff support. +- sns_topic - Add backoff when we get Topic ``NotFound`` exceptions while listing the subscriptions. +- sqs_queue - Add support for tagging, KMS and FIFO queues +- sqs_queue - updated to use boto3 instead of boto + +Deprecated Features +------------------- + +- cloudformation - The ``template_format`` option had no effect since Ansible 2.3 and will be removed after 2022-06-01 +- data_pipeline - The ``version`` option had no effect and will be removed after 2022-06-01 +- ec2_eip - The ``wait_timeout`` option had no effect and will be removed after 2022-06-01 +- ec2_key - The ``wait_timeout`` option had no effect and will be removed after 2022-06-01 +- ec2_key - The ``wait`` option had no effect and will be removed after 2022-06-01 +- ec2_lc - The ``associate_public_ip_address`` option had no effect and will be removed after 2022-06-01 +- elb_network_lb: The current default value of the ``state`` option has been deprecated and will change from absent to present after 2022-06-01 +- iam_managed_policy - The ``fail_on_delete`` option had no effect and will be removed after 2022-06-01 +- iam_policy - The ``policy_document`` will be removed after 2022-06-01. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin. +- iam_policy - The default value of ``skip_duplicates`` will change after 2022-06-01 from ``true`` to ``false``. +- iam_role - The default value of the purge_policies has been deprecated and will change from true to false after 2022-06-01 +- s3_lifecycle - The ``requester_pays`` option had no effect and will be removed after 2022-06-01 +- s3_sync - The ``retries`` option had no effect and will be removed after 2022-06-01 + +Bugfixes +-------- + +- **security issue** - Convert CLI provided passwords to text initially, to prevent unsafe context being lost when converting from bytes->text during post processing of PlayContext. This prevents CLI provided passwords from being incorrectly templated (CVE-2019-14856) +- **security issue** - Update ``AnsibleUnsafeText`` and ``AnsibleUnsafeBytes`` to maintain unsafe context by overriding ``.encode`` and ``.decode``. This prevents future issues with ``to_text``, ``to_bytes``, or ``to_native`` removing the unsafe wrapper when converting between string types (CVE-2019-14856) +- azure_rm_dnsrecordset_info - no longer returns empty ``azure_dnsrecordset`` facts when called as ``_info`` module. +- azure_rm_resourcegroup_info - no longer returns ``azure_resourcegroups`` facts when called as ``_info`` module. +- azure_rm_storageaccount_info - no longer returns empty ``azure_storageaccounts`` facts when called as ``_info`` module. +- azure_rm_virtualmachineimage_info - no longer returns empty ``azure_vmimages`` facts when called as ``_info`` module. +- azure_rm_virtualmachinescaleset_info - fix wrongly empty result, or ``ansible_facts`` result, when called as ``_info`` module. +- azure_rm_virtualnetwork_info - no longer returns empty ``azure_virtualnetworks`` facts when called as ``_info`` module. +- cloudfront_distribution - Always add field_level_encryption_id to cache behaviour to match AWS requirements +- cloudwatchlogs_log_group - Fix a KeyError when updating a log group that does not have a retention period (https://github.com/ansible/ansible/issues/47945) +- cloudwatchlogs_log_group_info - remove limitation of max 50 results +- ec2_asg: Ensure "wait" is honored during replace operations +- ec2_launch_template - Update output to include latest_version and default_version, matching the documentation +- ec2_transit_gateway - Use AWSRetry before ClientError is handled when describing transit gateways +- ec2_transit_gateway - fixed issue where auto_attach set to yes was not being honored (https://github.com/ansible/ansible/issues/61907) +- edgeos_config - fix issue where module would silently filter out encrypted passwords +- fixed issue with sns_topic's delivery_policy option resulting in changed always being true +- lineinfile - properly handle inserting a line when backrefs are enabled and the line already exists in the file (https://github.com/ansible/ansible/issues/63756) +- route53 - improve handling of octal encoded characters +- win_credential - Fix issue that errors when trying to add a ``name`` with wildcards. + +New Modules +----------- + +- aws_acm - Upload and delete certificates in the AWS Certificate Manager service +- aws_acm_info - Retrieve certificate information from AWS Certificate Manager service +- aws_api_gateway - Manage AWS API Gateway APIs +- aws_application_scaling_policy - Manage Application Auto Scaling Scaling Policies +- aws_batch_compute_environment - Manage AWS Batch Compute Environments +- aws_batch_job_definition - Manage AWS Batch Job Definitions +- aws_batch_job_queue - Manage AWS Batch Job Queues +- aws_codebuild - Create or delete an AWS CodeBuild project +- aws_codecommit - Manage repositories in AWS CodeCommit +- aws_codepipeline - Create or delete AWS CodePipelines +- aws_config_aggregation_authorization - Manage cross-account AWS Config authorizations +- aws_config_aggregator - Manage AWS Config aggregations across multiple accounts +- aws_config_delivery_channel - Manage AWS Config delivery channels +- aws_config_recorder - Manage AWS Config Recorders +- aws_config_rule - Manage AWS Config resources +- aws_direct_connect_connection - Creates, deletes, modifies a DirectConnect connection +- aws_direct_connect_gateway - Manage AWS Direct Connect gateway +- aws_direct_connect_link_aggregation_group - Manage Direct Connect LAG bundles +- aws_direct_connect_virtual_interface - Manage Direct Connect virtual interfaces +- aws_eks_cluster - Manage Elastic Kubernetes Service Clusters +- aws_elasticbeanstalk_app - Create, update, and delete an elastic beanstalk application +- aws_glue_connection - Manage an AWS Glue connection +- aws_glue_job - Manage an AWS Glue job +- aws_inspector_target - Create, Update and Delete Amazon Inspector Assessment Targets +- aws_kms - Perform various KMS management tasks. +- aws_kms_info - Gather information about AWS KMS keys +- aws_region_info - Gather information about AWS regions. +- aws_s3_bucket_info - Lists S3 buckets in AWS +- aws_s3_cors - Manage CORS for S3 buckets in AWS +- aws_secret - Manage secrets stored in AWS Secrets Manager. +- aws_ses_identity - Manages SES email and domain identity +- aws_ses_identity_policy - Manages SES sending authorization policies +- aws_ses_rule_set - Manages SES inbound receipt rule sets +- aws_sgw_info - Fetch AWS Storage Gateway information +- aws_ssm_parameter_store - Manage key-value pairs in aws parameter store. +- aws_step_functions_state_machine - Manage AWS Step Functions state machines +- aws_step_functions_state_machine_execution - Start or stop execution of an AWS Step Functions state machine. +- aws_waf_condition - Create and delete WAF Conditions +- aws_waf_info - Retrieve information for WAF ACLs, Rule , Conditions and Filters. +- aws_waf_rule - Create and delete WAF Rules +- aws_waf_web_acl - Create and delete WAF Web ACLs. +- cloudformation_exports_info - Read a value from CloudFormation Exports +- cloudformation_stack_set - Manage groups of CloudFormation stacks +- cloudfront_distribution - Create, update and delete AWS CloudFront distributions. +- cloudfront_info - Obtain facts about an AWS CloudFront distribution +- cloudfront_invalidation - create invalidations for AWS CloudFront distributions +- cloudfront_origin_access_identity - Create, update and delete origin access identities for a CloudFront distribution +- cloudtrail - manage CloudTrail create, delete, update +- cloudwatchevent_rule - Manage CloudWatch Event rules and targets +- cloudwatchlogs_log_group - create or delete log_group in CloudWatchLogs +- cloudwatchlogs_log_group_info - Get information about log_group in CloudWatchLogs +- cloudwatchlogs_log_group_metric_filter - Manage CloudWatch log group metric filter +- data_pipeline - Create and manage AWS Datapipelines +- dms_endpoint - Creates or destroys a data migration services endpoint +- dms_replication_subnet_group - creates or destroys a data migration services subnet group +- dynamodb_table - Create, update or delete AWS Dynamo DB tables +- dynamodb_ttl - Set TTL for a given DynamoDB table +- ec2_ami_copy - copies AMI between AWS regions, return new image id +- ec2_asg - Create or delete AWS AutoScaling Groups (ASGs) +- ec2_asg_info - Gather information about ec2 Auto Scaling Groups (ASGs) in AWS +- ec2_asg_lifecycle_hook - Create, delete or update AWS ASG Lifecycle Hooks. +- ec2_customer_gateway - Manage an AWS customer gateway +- ec2_customer_gateway_info - Gather information about customer gateways in AWS +- ec2_eip - manages EC2 elastic IP (EIP) addresses. +- ec2_eip_info - List EC2 EIP details +- ec2_elb - De-registers or registers instances from EC2 ELBs +- ec2_elb_info - Gather information about EC2 Elastic Load Balancers in AWS +- ec2_instance - Create & manage EC2 instances +- ec2_instance_info - Gather information about ec2 instances in AWS +- ec2_launch_template - Manage EC2 launch templates +- ec2_lc - Create or delete AWS Autoscaling Launch Configurations +- ec2_lc_find - Find AWS Autoscaling Launch Configurations +- ec2_lc_info - Gather information about AWS Autoscaling Launch Configurations. +- ec2_metric_alarm - Create/update or delete AWS Cloudwatch 'metric alarms' +- ec2_placement_group - Create or delete an EC2 Placement Group +- ec2_placement_group_info - List EC2 Placement Group(s) details +- ec2_scaling_policy - Create or delete AWS scaling policies for Autoscaling groups +- ec2_snapshot_copy - Copies an EC2 snapshot and returns the new Snapshot ID. +- ec2_transit_gateway - Create and delete AWS Transit Gateways +- ec2_transit_gateway_info - Gather information about ec2 transit gateways in AWS +- ec2_vpc_egress_igw - Manage an AWS VPC Egress Only Internet gateway +- ec2_vpc_endpoint - Create and delete AWS VPC Endpoints. +- ec2_vpc_endpoint_info - Retrieves AWS VPC endpoints details using AWS methods. +- ec2_vpc_igw - Manage an AWS VPC Internet gateway +- ec2_vpc_igw_info - Gather information about internet gateways in AWS +- ec2_vpc_nacl - create and delete Network ACLs. +- ec2_vpc_nacl_info - Gather information about Network ACLs in an AWS VPC +- ec2_vpc_nat_gateway - Manage AWS VPC NAT Gateways. +- ec2_vpc_nat_gateway_info - Retrieves AWS VPC Managed Nat Gateway details using AWS methods. +- ec2_vpc_peer - create, delete, accept, and reject VPC peering connections between two VPCs. +- ec2_vpc_peering_info - Retrieves AWS VPC Peering details using AWS methods. +- ec2_vpc_route_table - Manage route tables for AWS virtual private clouds +- ec2_vpc_route_table_info - Gather information about ec2 VPC route tables in AWS +- ec2_vpc_vgw - Create and delete AWS VPN Virtual Gateways. +- ec2_vpc_vgw_info - Gather information about virtual gateways in AWS +- ec2_vpc_vpn - Create, modify, and delete EC2 VPN connections. +- ec2_vpc_vpn_info - Gather information about VPN Connections in AWS. +- ec2_win_password - Gets the default administrator password for ec2 windows instances +- ecs_attribute - manage ecs attributes +- ecs_cluster - Create or terminate ECS clusters. +- ecs_ecr - Manage Elastic Container Registry repositories +- ecs_service - Create, terminate, start or stop a service in ECS +- ecs_service_info - List or describe services in ECS +- ecs_tag - create and remove tags on Amazon ECS resources +- ecs_task - Run, start or stop a task in ecs +- ecs_taskdefinition - register a task definition in ecs +- ecs_taskdefinition_info - Describe a task definition in ECS +- efs - create and maintain EFS file systems +- efs_info - Get information about Amazon EFS file systems +- elasticache - Manage cache clusters in Amazon ElastiCache +- elasticache_info - Retrieve information for AWS ElastiCache clusters +- elasticache_parameter_group - Manage cache parameter groups in Amazon ElastiCache. +- elasticache_snapshot - Manage cache snapshots in Amazon ElastiCache +- elasticache_subnet_group - manage ElastiCache subnet groups +- elb_application_lb - Manage an Application load balancer +- elb_application_lb_info - Gather information about application ELBs in AWS +- elb_classic_lb - Creates or destroys Amazon ELB. +- elb_classic_lb_info - Gather information about EC2 Elastic Load Balancers in AWS +- elb_instance - De-registers or registers instances from EC2 ELBs +- elb_network_lb - Manage a Network Load Balancer +- elb_target - Manage a target in a target group +- elb_target_group - Manage a target group for an Application or Network load balancer +- elb_target_group_info - Gather information about ELB target groups in AWS +- elb_target_info - Gathers which target groups a target is associated with. +- execute_lambda - Execute an AWS Lambda function +- iam - Manage IAM users, groups, roles and keys +- iam_cert - Manage server certificates for use on ELBs and CloudFront +- iam_group - Manage AWS IAM groups +- iam_managed_policy - Manage User Managed IAM policies +- iam_mfa_device_info - List the MFA (Multi-Factor Authentication) devices registered for a user +- iam_password_policy - Update an IAM Password Policy +- iam_policy - Manage inline IAM policies for users, groups, and roles +- iam_policy_info - Retrieve inline IAM policies for users, groups, and roles +- iam_role - Manage AWS IAM roles +- iam_role_info - Gather information on IAM roles +- iam_saml_federation - Maintain IAM SAML federation configuration. +- iam_server_certificate_info - Retrieve the information of a server certificate +- iam_user - Manage AWS IAM users +- iam_user_info - Gather IAM user(s) facts in AWS +- kinesis_stream - Manage a Kinesis Stream. +- lambda - Manage AWS Lambda functions +- lambda_alias - Creates, updates or deletes AWS Lambda function aliases +- lambda_event - Creates, updates or deletes AWS Lambda function event mappings +- lambda_facts - Gathers AWS Lambda function details as Ansible facts +- lambda_info - Gathers AWS Lambda function details +- lambda_policy - Creates, updates or deletes AWS Lambda policy statements. +- lightsail - Manage instances in AWS Lightsail +- rds - create, delete, or modify Amazon rds instances, rds snapshots, and related facts +- rds_instance - Manage RDS instances +- rds_instance_info - obtain information about one or more RDS instances +- rds_param_group - manage RDS parameter groups +- rds_snapshot - manage Amazon RDS snapshots. +- rds_snapshot_info - obtain information about one or more RDS snapshots +- rds_subnet_group - manage RDS database subnet groups +- redshift_cross_region_snapshots - Manage Redshift Cross Region Snapshots +- redshift_info - Gather information about Redshift cluster(s) +- route53 - add or delete entries in Amazons Route53 DNS service +- route53_health_check - Add or delete health-checks in Amazons Route53 DNS service +- route53_info - Retrieves route53 details using AWS methods +- route53_zone - add or delete Route53 zones +- s3_bucket_notification - Creates, updates or deletes S3 Bucket notification for lambda +- s3_lifecycle - Manage s3 bucket lifecycle rules in AWS +- s3_logging - Manage logging facility of an s3 bucket in AWS +- s3_sync - Efficiently upload multiple files to S3 +- s3_website - Configure an s3 bucket as a website +- sns - Send Amazon Simple Notification Service messages +- sns_topic - Manages AWS SNS topics and subscriptions +- sqs_queue - Creates or deletes AWS SQS queues. +- sts_assume_role - Assume a role using AWS Security Token Service and obtain temporary credentials +- sts_session_token - Obtain a session token from the AWS Security Token Service diff --git a/README.md b/README.md index 88f8297f82c..02482b984bd 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,17 @@ The Ansible Community AWS collection includes a variety of Ansible content to he ## Ansible version compatibility -This collection has been tested against following Ansible versions: **>=2.9,<2.11**. +This collection has been tested against following Ansible versions: **>=2.9.10**. Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible. +## Python version compatibility + +This collection depends on the AWS SDK for Python (Boto3 and Botocore). As AWS has [ceased supporting Python 2.6](https://aws.amazon.com/blogs/developer/deprecation-of-python-2-6-and-python-3-3-in-botocore-boto3-and-the-aws-cli/), this collection requires Python 2.7 or greater. + ## Included content ### Connection plugins @@ -39,6 +43,7 @@ Name | Description [community.aws.aws_config_delivery_channel](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_config_delivery_channel_module.rst)|Manage AWS Config delivery channels [community.aws.aws_config_recorder](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_config_recorder_module.rst)|Manage AWS Config Recorders [community.aws.aws_config_rule](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_config_rule_module.rst)|Manage AWS Config resources +[community.aws.aws_direct_connect_confirm_connection](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_direct_connect_confirm_connection_module.rst)|Confirms the creation of a hosted DirectConnect connection. [community.aws.aws_direct_connect_connection](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_direct_connect_connection_module.rst)|Creates, deletes, modifies a DirectConnect connection [community.aws.aws_direct_connect_gateway](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_direct_connect_gateway_module.rst)|Manage AWS Direct Connect gateway [community.aws.aws_direct_connect_link_aggregation_group](https://github.com/ansible-collections/community.aws/blob/main/docs/community.aws.aws_direct_connect_link_aggregation_group_module.rst)|Manage Direct Connect LAG bundles @@ -278,3 +283,5 @@ See the [Ansible Community Guide](https://docs.ansible.com/ansible/latest/commun GNU General Public License v3.0 or later. See [LICENSE](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text. + + diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml new file mode 100644 index 00000000000..0494c2b8cef --- /dev/null +++ b/changelogs/changelog.yaml @@ -0,0 +1,706 @@ +ancestor: null +releases: + 1.0.0: + changes: + bugfixes: + - '**security issue** - Convert CLI provided passwords to text initially, to + prevent unsafe context being lost when converting from bytes->text during + post processing of PlayContext. This prevents CLI provided passwords from + being incorrectly templated (CVE-2019-14856)' + - '**security issue** - Update ``AnsibleUnsafeText`` and ``AnsibleUnsafeBytes`` + to maintain unsafe context by overriding ``.encode`` and ``.decode``. This + prevents future issues with ``to_text``, ``to_bytes``, or ``to_native`` removing + the unsafe wrapper when converting between string types (CVE-2019-14856)' + - azure_rm_dnsrecordset_info - no longer returns empty ``azure_dnsrecordset`` + facts when called as ``_info`` module. + - azure_rm_resourcegroup_info - no longer returns ``azure_resourcegroups`` facts + when called as ``_info`` module. + - azure_rm_storageaccount_info - no longer returns empty ``azure_storageaccounts`` + facts when called as ``_info`` module. + - azure_rm_virtualmachineimage_info - no longer returns empty ``azure_vmimages`` + facts when called as ``_info`` module. + - azure_rm_virtualmachinescaleset_info - fix wrongly empty result, or ``ansible_facts`` + result, when called as ``_info`` module. + - azure_rm_virtualnetwork_info - no longer returns empty ``azure_virtualnetworks`` + facts when called as ``_info`` module. + - cloudfront_distribution - Always add field_level_encryption_id to cache behaviour + to match AWS requirements + - cloudwatchlogs_log_group - Fix a KeyError when updating a log group that does + not have a retention period (https://github.com/ansible/ansible/issues/47945) + - cloudwatchlogs_log_group_info - remove limitation of max 50 results + - ec2_asg - Ensure "wait" is honored during replace operations + - ec2_launch_template - Update output to include latest_version and default_version, + matching the documentation + - ec2_transit_gateway - Use AWSRetry before ClientError is handled when describing + transit gateways + - ec2_transit_gateway - fixed issue where auto_attach set to yes was not being + honored (https://github.com/ansible/ansible/issues/61907) + - edgeos_config - fix issue where module would silently filter out encrypted + passwords + - fixed issue with sns_topic's delivery_policy option resulting in changed always + being true + - lineinfile - properly handle inserting a line when backrefs are enabled and + the line already exists in the file (https://github.com/ansible/ansible/issues/63756) + - route53 - improve handling of octal encoded characters + - win_credential - Fix issue that errors when trying to add a ``name`` with + wildcards. + deprecated_features: + - cloudformation - The ``template_format`` option had no effect since Ansible + 2.3 and will be removed after 2022-06-01 + - data_pipeline - The ``version`` option had no effect and will be removed after + 2022-06-01 + - ec2_eip - The ``wait_timeout`` option had no effect and will be removed after + 2022-06-01 + - ec2_key - The ``wait_timeout`` option had no effect and will be removed after + 2022-06-01 + - ec2_key - The ``wait`` option had no effect and will be removed after 2022-06-01 + - ec2_lc - The ``associate_public_ip_address`` option had no effect and will + be removed after 2022-06-01 + - elb_network_lb - The current default value of the ``state`` option has been + deprecated and will change from absent to present after 2022-06-01 + - iam_managed_policy - The ``fail_on_delete`` option had no effect and will + be removed after 2022-06-01 + - iam_policy - The ``policy_document`` will be removed after 2022-06-01. To + maintain the existing behavior use the ``policy_json`` option and read the + file with the ``lookup`` plugin. + - iam_policy - The default value of ``skip_duplicates`` will change after 2022-06-01 + from ``true`` to ``false``. + - iam_role - The default value of the purge_policies has been deprecated and + will change from true to false after 2022-06-01 + - s3_lifecycle - The ``requester_pays`` option had no effect and will be removed + after 2022-06-01 + - s3_sync - The ``retries`` option had no effect and will be removed after 2022-06-01 + minor_changes: + - Allow all params that boto support in aws_api_gateway module + - aws_acm - Add the module to group/aws for module_defaults. + - aws_acm - Update automatic retries to stabilize the integration tests. + - aws_codecommit - Support updating the description + - aws_kms - Adds the ``enable_key_rotation`` option to enable or disable automatically + key rotation. + - aws_kms - code refactor, some error messages updated' + - aws_kms_info - Adds the ``enable_key_rotation`` info to the return value. + - ec2_asg - Add the ability to use mixed_instance_policy in launch template + driven autoscaling groups + - ec2_asg - Add support for Max Instance Lifetime + - ec2_asg - Migrated to AnsibleAWSModule + - ec2_placement_group - make ``name`` a required field. + - ecs_task_definition - Add network_mode=default to support Windows ECS tasks. + - elb_network_lb - added support to UDP and TCP_UDP protocols + - elb_target - add awsretry to prevent rate exceeded errors (https://github.com/ansible/ansible/issues/51108) + - elb_target_group - allow UDP and TCP_UDP protocols; permit only HTTP/HTTPS + health checks using response codes and paths + - iam - make ``name`` a required field. + - iam_cert - make ``name`` a required field. + - iam_policy - The iam_policy module has been migrated from boto to boto3. + - iam_policy - make ``iam_name`` a required field. + - iam_role - Add support for managing the maximum session duration + - iam_role - Add support for removing the related instance profile when we delete + the role + - iam_role, iam_user and iam_group - the managed_policy option has been renamed + to managed_policies (with an alias added) + - iam_role, iam_user and iam_group - the purge_policy option has been renamed + to purge_policies (with an alias added) + - lambda - add a tracing_mode parameter to set the TracingConfig for AWS X-Ray. + Also allow updating Lambda runtime. + - purefa_volume - Change I(qos) parameter to I(bw_iops), but retain I(qos) as + an alias for backwards compatability (https://github.com/ansible/ansible/pull/61577). + - redshift - Add AWSRetry calls for errors outside our control + - route53 - the module now has diff support. + - sns_topic - Add backoff when we get Topic ``NotFound`` exceptions while listing + the subscriptions. + - sqs_queue - Add support for tagging, KMS and FIFO queues + - sqs_queue - updated to use boto3 instead of boto + fragments: + - 480004-cloudwatchlogs_log_group-KeyError.yaml + - 56468-deprecate-lnb-absent.yml + - 58118-aws_api_gateway-params.yml + - 58822-aws-lamda-tracing-config.yaml + - 59597-ecs-allow_default_network_mode.yml + - 60508-route53-improve-octal-characters-handling.yml + - 60944-sns_topic-delivery_policy-changed.yml + - 61263-aws_codecommit-description.yml + - 61271-cloudfront_distribution-encryptionid.yml + - 61279-ec2_launch_template-output.yml + - 61577-support-iops-in-purefa_volume.yml + - 61805-azure-facts-info.yml + - 61933-ec2_transit_gateway-honor-auto_attach-setting.yaml + - 62014-iam_role_session_instanceprofile.yml + - 63362-remove-edgeos-filtering.yaml + - 63924-boto3.yml + - 63961-deprecate-fail_on_delete.yml + - 63989-deprecate-unused.yml + - 64230-deprecate-unused.yml + - 64258-purge_policies.yml + - 64368-deprecate-unused.yml + - 64598-add-next-token-support.yml + - 64867-route53-diff.yml + - 65265-allow-udp-tcpudp-protocol.yaml + - 65555-amazon-sanity-required.yml + - 65557-iam-make-name-required.yml + - 65558-iam_cert-require-name.yml + - 65559-iam_policy-require-iam_name.yml + - 66037-aws_kms.yml + - 66673-elb_target-awsretry.yaml + - 66779-redshift-backoff.yml + - 66795-sqs_queue-boto3.yaml + - 66863-ec2_asg-max_instance_lifetime-and-honor-wait-on-replace.yaml + - 67045-ec2_asg_mixed_instance_policy.yml + - 67089-sns_topic-notfound-backoff.yaml + - 67247-fix-ec2_transit_gateway-retries.yaml + - 67651-aws-kms-key-rotation.yml + - 67671-aws_acm-module_defaults.yaml + - 67770-aws-kms-info-key-rotation.yml + - dont-template-cli-passwords.yml + - lineinfile-backrefs-match-object-type.yaml + - win_credential-wildcard.yaml + modules: + - description: Upload and delete certificates in the AWS Certificate Manager service + name: aws_acm + namespace: '' + - description: Retrieve certificate information from AWS Certificate Manager service + name: aws_acm_info + namespace: '' + - description: Manage AWS API Gateway APIs + name: aws_api_gateway + namespace: '' + - description: Manage Application Auto Scaling Scaling Policies + name: aws_application_scaling_policy + namespace: '' + - description: Manage AWS Batch Compute Environments + name: aws_batch_compute_environment + namespace: '' + - description: Manage AWS Batch Job Definitions + name: aws_batch_job_definition + namespace: '' + - description: Manage AWS Batch Job Queues + name: aws_batch_job_queue + namespace: '' + - description: Create or delete an AWS CodeBuild project + name: aws_codebuild + namespace: '' + - description: Manage repositories in AWS CodeCommit + name: aws_codecommit + namespace: '' + - description: Create or delete AWS CodePipelines + name: aws_codepipeline + namespace: '' + - description: Manage cross-account AWS Config authorizations + name: aws_config_aggregation_authorization + namespace: '' + - description: Manage AWS Config aggregations across multiple accounts + name: aws_config_aggregator + namespace: '' + - description: Manage AWS Config delivery channels + name: aws_config_delivery_channel + namespace: '' + - description: Manage AWS Config Recorders + name: aws_config_recorder + namespace: '' + - description: Manage AWS Config resources + name: aws_config_rule + namespace: '' + - description: Creates, deletes, modifies a DirectConnect connection + name: aws_direct_connect_connection + namespace: '' + - description: Manage AWS Direct Connect gateway + name: aws_direct_connect_gateway + namespace: '' + - description: Manage Direct Connect LAG bundles + name: aws_direct_connect_link_aggregation_group + namespace: '' + - description: Manage Direct Connect virtual interfaces + name: aws_direct_connect_virtual_interface + namespace: '' + - description: Manage Elastic Kubernetes Service Clusters + name: aws_eks_cluster + namespace: '' + - description: Create, update, and delete an elastic beanstalk application + name: aws_elasticbeanstalk_app + namespace: '' + - description: Manage an AWS Glue connection + name: aws_glue_connection + namespace: '' + - description: Manage an AWS Glue job + name: aws_glue_job + namespace: '' + - description: Create, Update and Delete Amazon Inspector Assessment Targets + name: aws_inspector_target + namespace: '' + - description: Perform various KMS management tasks. + name: aws_kms + namespace: '' + - description: Gather information about AWS KMS keys + name: aws_kms_info + namespace: '' + - description: Gather information about AWS regions. + name: aws_region_info + namespace: '' + - description: Lists S3 buckets in AWS + name: aws_s3_bucket_info + namespace: '' + - description: Manage CORS for S3 buckets in AWS + name: aws_s3_cors + namespace: '' + - description: Manage secrets stored in AWS Secrets Manager. + name: aws_secret + namespace: '' + - description: Manages SES email and domain identity + name: aws_ses_identity + namespace: '' + - description: Manages SES sending authorization policies + name: aws_ses_identity_policy + namespace: '' + - description: Manages SES inbound receipt rule sets + name: aws_ses_rule_set + namespace: '' + - description: Fetch AWS Storage Gateway information + name: aws_sgw_info + namespace: '' + - description: Manage key-value pairs in aws parameter store. + name: aws_ssm_parameter_store + namespace: '' + - description: Manage AWS Step Functions state machines + name: aws_step_functions_state_machine + namespace: '' + - description: Start or stop execution of an AWS Step Functions state machine. + name: aws_step_functions_state_machine_execution + namespace: '' + - description: Create and delete WAF Conditions + name: aws_waf_condition + namespace: '' + - description: Retrieve information for WAF ACLs, Rule , Conditions and Filters. + name: aws_waf_info + namespace: '' + - description: Create and delete WAF Rules + name: aws_waf_rule + namespace: '' + - description: Create and delete WAF Web ACLs. + name: aws_waf_web_acl + namespace: '' + - description: Read a value from CloudFormation Exports + name: cloudformation_exports_info + namespace: '' + - description: Manage groups of CloudFormation stacks + name: cloudformation_stack_set + namespace: '' + - description: Create, update and delete AWS CloudFront distributions. + name: cloudfront_distribution + namespace: '' + - description: Obtain facts about an AWS CloudFront distribution + name: cloudfront_info + namespace: '' + - description: create invalidations for AWS CloudFront distributions + name: cloudfront_invalidation + namespace: '' + - description: Create, update and delete origin access identities for a CloudFront + distribution + name: cloudfront_origin_access_identity + namespace: '' + - description: manage CloudTrail create, delete, update + name: cloudtrail + namespace: '' + - description: Manage CloudWatch Event rules and targets + name: cloudwatchevent_rule + namespace: '' + - description: create or delete log_group in CloudWatchLogs + name: cloudwatchlogs_log_group + namespace: '' + - description: Get information about log_group in CloudWatchLogs + name: cloudwatchlogs_log_group_info + namespace: '' + - description: Manage CloudWatch log group metric filter + name: cloudwatchlogs_log_group_metric_filter + namespace: '' + - description: Create and manage AWS Datapipelines + name: data_pipeline + namespace: '' + - description: Creates or destroys a data migration services endpoint + name: dms_endpoint + namespace: '' + - description: creates or destroys a data migration services subnet group + name: dms_replication_subnet_group + namespace: '' + - description: Create, update or delete AWS Dynamo DB tables + name: dynamodb_table + namespace: '' + - description: Set TTL for a given DynamoDB table + name: dynamodb_ttl + namespace: '' + - description: copies AMI between AWS regions, return new image id + name: ec2_ami_copy + namespace: '' + - description: Create or delete AWS AutoScaling Groups (ASGs) + name: ec2_asg + namespace: '' + - description: Gather information about ec2 Auto Scaling Groups (ASGs) in AWS + name: ec2_asg_info + namespace: '' + - description: Create, delete or update AWS ASG Lifecycle Hooks. + name: ec2_asg_lifecycle_hook + namespace: '' + - description: Manage an AWS customer gateway + name: ec2_customer_gateway + namespace: '' + - description: Gather information about customer gateways in AWS + name: ec2_customer_gateway_info + namespace: '' + - description: manages EC2 elastic IP (EIP) addresses. + name: ec2_eip + namespace: '' + - description: List EC2 EIP details + name: ec2_eip_info + namespace: '' + - description: De-registers or registers instances from EC2 ELBs + name: ec2_elb + namespace: '' + - description: Gather information about EC2 Elastic Load Balancers in AWS + name: ec2_elb_info + namespace: '' + - description: Create & manage EC2 instances + name: ec2_instance + namespace: '' + - description: Gather information about ec2 instances in AWS + name: ec2_instance_info + namespace: '' + - description: Manage EC2 launch templates + name: ec2_launch_template + namespace: '' + - description: Create or delete AWS Autoscaling Launch Configurations + name: ec2_lc + namespace: '' + - description: Find AWS Autoscaling Launch Configurations + name: ec2_lc_find + namespace: '' + - description: Gather information about AWS Autoscaling Launch Configurations. + name: ec2_lc_info + namespace: '' + - description: Create/update or delete AWS Cloudwatch 'metric alarms' + name: ec2_metric_alarm + namespace: '' + - description: Create or delete an EC2 Placement Group + name: ec2_placement_group + namespace: '' + - description: List EC2 Placement Group(s) details + name: ec2_placement_group_info + namespace: '' + - description: Create or delete AWS scaling policies for Autoscaling groups + name: ec2_scaling_policy + namespace: '' + - description: Copies an EC2 snapshot and returns the new Snapshot ID. + name: ec2_snapshot_copy + namespace: '' + - description: Create and delete AWS Transit Gateways + name: ec2_transit_gateway + namespace: '' + - description: Gather information about ec2 transit gateways in AWS + name: ec2_transit_gateway_info + namespace: '' + - description: Manage an AWS VPC Egress Only Internet gateway + name: ec2_vpc_egress_igw + namespace: '' + - description: Create and delete AWS VPC Endpoints. + name: ec2_vpc_endpoint + namespace: '' + - description: Retrieves AWS VPC endpoints details using AWS methods. + name: ec2_vpc_endpoint_info + namespace: '' + - description: Manage an AWS VPC Internet gateway + name: ec2_vpc_igw + namespace: '' + - description: Gather information about internet gateways in AWS + name: ec2_vpc_igw_info + namespace: '' + - description: create and delete Network ACLs. + name: ec2_vpc_nacl + namespace: '' + - description: Gather information about Network ACLs in an AWS VPC + name: ec2_vpc_nacl_info + namespace: '' + - description: Manage AWS VPC NAT Gateways. + name: ec2_vpc_nat_gateway + namespace: '' + - description: Retrieves AWS VPC Managed Nat Gateway details using AWS methods. + name: ec2_vpc_nat_gateway_info + namespace: '' + - description: create, delete, accept, and reject VPC peering connections between + two VPCs. + name: ec2_vpc_peer + namespace: '' + - description: Retrieves AWS VPC Peering details using AWS methods. + name: ec2_vpc_peering_info + namespace: '' + - description: Manage route tables for AWS virtual private clouds + name: ec2_vpc_route_table + namespace: '' + - description: Gather information about ec2 VPC route tables in AWS + name: ec2_vpc_route_table_info + namespace: '' + - description: Create and delete AWS VPN Virtual Gateways. + name: ec2_vpc_vgw + namespace: '' + - description: Gather information about virtual gateways in AWS + name: ec2_vpc_vgw_info + namespace: '' + - description: Create, modify, and delete EC2 VPN connections. + name: ec2_vpc_vpn + namespace: '' + - description: Gather information about VPN Connections in AWS. + name: ec2_vpc_vpn_info + namespace: '' + - description: Gets the default administrator password for ec2 windows instances + name: ec2_win_password + namespace: '' + - description: manage ecs attributes + name: ecs_attribute + namespace: '' + - description: Create or terminate ECS clusters. + name: ecs_cluster + namespace: '' + - description: Manage Elastic Container Registry repositories + name: ecs_ecr + namespace: '' + - description: Create, terminate, start or stop a service in ECS + name: ecs_service + namespace: '' + - description: List or describe services in ECS + name: ecs_service_info + namespace: '' + - description: create and remove tags on Amazon ECS resources + name: ecs_tag + namespace: '' + - description: Run, start or stop a task in ecs + name: ecs_task + namespace: '' + - description: register a task definition in ecs + name: ecs_taskdefinition + namespace: '' + - description: Describe a task definition in ECS + name: ecs_taskdefinition_info + namespace: '' + - description: create and maintain EFS file systems + name: efs + namespace: '' + - description: Get information about Amazon EFS file systems + name: efs_info + namespace: '' + - description: Manage cache clusters in Amazon ElastiCache + name: elasticache + namespace: '' + - description: Retrieve information for AWS ElastiCache clusters + name: elasticache_info + namespace: '' + - description: Manage cache parameter groups in Amazon ElastiCache. + name: elasticache_parameter_group + namespace: '' + - description: Manage cache snapshots in Amazon ElastiCache + name: elasticache_snapshot + namespace: '' + - description: manage ElastiCache subnet groups + name: elasticache_subnet_group + namespace: '' + - description: Manage an Application load balancer + name: elb_application_lb + namespace: '' + - description: Gather information about application ELBs in AWS + name: elb_application_lb_info + namespace: '' + - description: Creates or destroys Amazon ELB. + name: elb_classic_lb + namespace: '' + - description: Gather information about EC2 Elastic Load Balancers in AWS + name: elb_classic_lb_info + namespace: '' + - description: De-registers or registers instances from EC2 ELBs + name: elb_instance + namespace: '' + - description: Manage a Network Load Balancer + name: elb_network_lb + namespace: '' + - description: Manage a target in a target group + name: elb_target + namespace: '' + - description: Manage a target group for an Application or Network load balancer + name: elb_target_group + namespace: '' + - description: Gather information about ELB target groups in AWS + name: elb_target_group_info + namespace: '' + - description: Gathers which target groups a target is associated with. + name: elb_target_info + namespace: '' + - description: Execute an AWS Lambda function + name: execute_lambda + namespace: '' + - description: Manage IAM users, groups, roles and keys + name: iam + namespace: '' + - description: Manage server certificates for use on ELBs and CloudFront + name: iam_cert + namespace: '' + - description: Manage AWS IAM groups + name: iam_group + namespace: '' + - description: Manage User Managed IAM policies + name: iam_managed_policy + namespace: '' + - description: List the MFA (Multi-Factor Authentication) devices registered for + a user + name: iam_mfa_device_info + namespace: '' + - description: Update an IAM Password Policy + name: iam_password_policy + namespace: '' + - description: Manage inline IAM policies for users, groups, and roles + name: iam_policy + namespace: '' + - description: Retrieve inline IAM policies for users, groups, and roles + name: iam_policy_info + namespace: '' + - description: Manage AWS IAM roles + name: iam_role + namespace: '' + - description: Gather information on IAM roles + name: iam_role_info + namespace: '' + - description: Maintain IAM SAML federation configuration. + name: iam_saml_federation + namespace: '' + - description: Retrieve the information of a server certificate + name: iam_server_certificate_info + namespace: '' + - description: Manage AWS IAM users + name: iam_user + namespace: '' + - description: Gather IAM user(s) facts in AWS + name: iam_user_info + namespace: '' + - description: Manage a Kinesis Stream. + name: kinesis_stream + namespace: '' + - description: Manage AWS Lambda functions + name: lambda + namespace: '' + - description: Creates, updates or deletes AWS Lambda function aliases + name: lambda_alias + namespace: '' + - description: Creates, updates or deletes AWS Lambda function event mappings + name: lambda_event + namespace: '' + - description: Gathers AWS Lambda function details as Ansible facts + name: lambda_facts + namespace: '' + - description: Gathers AWS Lambda function details + name: lambda_info + namespace: '' + - description: Creates, updates or deletes AWS Lambda policy statements. + name: lambda_policy + namespace: '' + - description: Manage instances in AWS Lightsail + name: lightsail + namespace: '' + - description: create, delete, or modify Amazon rds instances, rds snapshots, + and related facts + name: rds + namespace: '' + - description: Manage RDS instances + name: rds_instance + namespace: '' + - description: obtain information about one or more RDS instances + name: rds_instance_info + namespace: '' + - description: manage RDS parameter groups + name: rds_param_group + namespace: '' + - description: manage Amazon RDS snapshots. + name: rds_snapshot + namespace: '' + - description: obtain information about one or more RDS snapshots + name: rds_snapshot_info + namespace: '' + - description: manage RDS database subnet groups + name: rds_subnet_group + namespace: '' + - description: Manage Redshift Cross Region Snapshots + name: redshift_cross_region_snapshots + namespace: '' + - description: Gather information about Redshift cluster(s) + name: redshift_info + namespace: '' + - description: add or delete entries in Amazons Route53 DNS service + name: route53 + namespace: '' + - description: Add or delete health-checks in Amazons Route53 DNS service + name: route53_health_check + namespace: '' + - description: Retrieves route53 details using AWS methods + name: route53_info + namespace: '' + - description: add or delete Route53 zones + name: route53_zone + namespace: '' + - description: Creates, updates or deletes S3 Bucket notification for lambda + name: s3_bucket_notification + namespace: '' + - description: Manage s3 bucket lifecycle rules in AWS + name: s3_lifecycle + namespace: '' + - description: Manage logging facility of an s3 bucket in AWS + name: s3_logging + namespace: '' + - description: Efficiently upload multiple files to S3 + name: s3_sync + namespace: '' + - description: Configure an s3 bucket as a website + name: s3_website + namespace: '' + - description: Send Amazon Simple Notification Service messages + name: sns + namespace: '' + - description: Manages AWS SNS topics and subscriptions + name: sns_topic + namespace: '' + - description: Creates or deletes AWS SQS queues. + name: sqs_queue + namespace: '' + - description: Assume a role using AWS Security Token Service and obtain temporary + credentials + name: sts_assume_role + namespace: '' + - description: Obtain a session token from the AWS Security Token Service + name: sts_session_token + namespace: '' + release_date: '2020-06-24' + 1.1.0: + changes: + deprecated_features: + - data_pipeline - the ``version`` option has been deprecated and will be removed + in a later release. It has always been ignored by the module. + - ec2_eip - the ``wait_timeout`` option has been deprecated and will be removed + in a later release. It has had no effect since Ansible 2.3. + - ec2_lc - the ``associate_public_ip_address`` option has been deprecated and + will be removed after a later release. It has always been ignored by the module. + - elb_network_lb - in a later release, the default behaviour for the ``state`` + option will change from ``absent`` to ``present``. To maintain the existing + behavior explicitly set state to ``absent``. + - iam_managed_policy - the ``fail_on_delete`` option has been deprecated and + will be removed after a later release. It has always been ignored by the module. + - iam_policy - in a later release, the default value for the ``skip_duplicates`` + option will change from ``true`` to ``false``. To maintain the existing behavior + explicitly set it to ``true``. + - iam_policy - the ``policy_document`` option has been deprecated and will be + removed after a later release. To maintain the existing behavior use the ``policy_json`` + option and read the file with the ``lookup`` plugin. + - iam_role - in a later release, the ``purge_policies`` option (also know as + ``purge_policy``) default value will change from ``true`` to ``false`` + - s3_lifecycle - the ``requester_pays`` option has been deprecated and will + be removed after a later release. It has always been ignored by the module. + - s3_sync - the ``retries`` option has been deprecated and will be removed after + 2022-06-01. It has always been ignored by the module. + minor_changes: + - Remaining community.aws AnsibleModule based modules migrated to AnsibleAWSModule. + - sanity - add future imports in all missing places. + fragments: + - 173-ansibleawsmodule.yaml + - porting-guide.yml + - sanity_fix_future_boilerplate.yml + release_date: '2020-08-13' diff --git a/changelogs/fragments/.empty b/changelogs/fragments/.empty deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/changelogs/fragments/173-ansibleawsmodule.yaml b/changelogs/fragments/173-ansibleawsmodule.yaml deleted file mode 100644 index 7e3653853c9..00000000000 --- a/changelogs/fragments/173-ansibleawsmodule.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- Remaining community.aws AnsibleModule based modules migrated to AnsibleAWSModule. diff --git a/changelogs/fragments/480004-cloudwatchlogs_log_group-KeyError.yaml b/changelogs/fragments/480004-cloudwatchlogs_log_group-KeyError.yaml deleted file mode 100644 index 68526821252..00000000000 --- a/changelogs/fragments/480004-cloudwatchlogs_log_group-KeyError.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - cloudwatchlogs_log_group - Fix a KeyError when updating a log group that does not have a retention period - (https://github.com/ansible/ansible/issues/47945) diff --git a/changelogs/fragments/56468-deprecate-lnb-absent.yml b/changelogs/fragments/56468-deprecate-lnb-absent.yml deleted file mode 100644 index 6e21d723986..00000000000 --- a/changelogs/fragments/56468-deprecate-lnb-absent.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- 'elb_network_lb: The current default value of the `state` option has been deprecated and will change from absent to present in Ansible 2.14' diff --git a/changelogs/fragments/58118-aws_api_gateway-params.yml b/changelogs/fragments/58118-aws_api_gateway-params.yml deleted file mode 100644 index ca3c44ea6eb..00000000000 --- a/changelogs/fragments/58118-aws_api_gateway-params.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - Allow all params that boto support in aws_api_gateway module diff --git a/changelogs/fragments/58822-aws-lamda-tracing-config.yaml b/changelogs/fragments/58822-aws-lamda-tracing-config.yaml deleted file mode 100644 index c88b4ca81b9..00000000000 --- a/changelogs/fragments/58822-aws-lamda-tracing-config.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - lambda - add a tracing_mode parameter to set the TracingConfig for AWS X-Ray. Also allow updating Lambda runtime. diff --git a/changelogs/fragments/59597-ecs-allow_default_network_mode.yml b/changelogs/fragments/59597-ecs-allow_default_network_mode.yml deleted file mode 100644 index 3f2cb10d735..00000000000 --- a/changelogs/fragments/59597-ecs-allow_default_network_mode.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ecs_task_definition - Add network_mode=default to support Windows ECS tasks. \ No newline at end of file diff --git a/changelogs/fragments/60508-route53-improve-octal-characters-handling.yml b/changelogs/fragments/60508-route53-improve-octal-characters-handling.yml deleted file mode 100644 index 4f99f4474b2..00000000000 --- a/changelogs/fragments/60508-route53-improve-octal-characters-handling.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- route53 - improve handling of octal encoded characters diff --git a/changelogs/fragments/60944-sns_topic-delivery_policy-changed.yml b/changelogs/fragments/60944-sns_topic-delivery_policy-changed.yml deleted file mode 100644 index 1975ea92d2d..00000000000 --- a/changelogs/fragments/60944-sns_topic-delivery_policy-changed.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: -- fixed issue with sns_topic's delivery_policy option resulting in changed - always being true diff --git a/changelogs/fragments/61263-aws_codecommit-description.yml b/changelogs/fragments/61263-aws_codecommit-description.yml deleted file mode 100644 index e3da4dff1e5..00000000000 --- a/changelogs/fragments/61263-aws_codecommit-description.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - aws_codecommit - Support updating the description diff --git a/changelogs/fragments/61271-cloudfront_distribution-encryptionid.yml b/changelogs/fragments/61271-cloudfront_distribution-encryptionid.yml deleted file mode 100644 index f3052fbebcc..00000000000 --- a/changelogs/fragments/61271-cloudfront_distribution-encryptionid.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- cloudfront_distribution - Always add field_level_encryption_id to cache behaviour to match AWS requirements diff --git a/changelogs/fragments/61279-ec2_launch_template-output.yml b/changelogs/fragments/61279-ec2_launch_template-output.yml deleted file mode 100644 index 176ef4eff0d..00000000000 --- a/changelogs/fragments/61279-ec2_launch_template-output.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- ec2_launch_template - Update output to include latest_version and default_version, matching the documentation diff --git a/changelogs/fragments/61577-support-iops-in-purefa_volume.yml b/changelogs/fragments/61577-support-iops-in-purefa_volume.yml deleted file mode 100644 index fd3f1f965ab..00000000000 --- a/changelogs/fragments/61577-support-iops-in-purefa_volume.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - purefa_volume - Change I(qos) parameter to I(bw_iops), but retain I(qos) as an alias for backwards compatability (https://github.com/ansible/ansible/pull/61577). diff --git a/changelogs/fragments/61805-azure-facts-info.yml b/changelogs/fragments/61805-azure-facts-info.yml deleted file mode 100644 index aa04f7e5ca2..00000000000 --- a/changelogs/fragments/61805-azure-facts-info.yml +++ /dev/null @@ -1,7 +0,0 @@ -bugfixes: -- "azure_rm_dnsrecordset_info - no longer returns empty ``azure_dnsrecordset`` facts when called as ``_info`` module." -- "azure_rm_resourcegroup_info - no longer returns ``azure_resourcegroups`` facts when called as ``_info`` module." -- "azure_rm_storageaccount_info - no longer returns empty ``azure_storageaccounts`` facts when called as ``_info`` module." -- "azure_rm_virtualmachineimage_info - no longer returns empty ``azure_vmimages`` facts when called as ``_info`` module." -- "azure_rm_virtualmachinescaleset_info - fix wrongly empty result, or ``ansible_facts`` result, when called as ``_info`` module." -- "azure_rm_virtualnetwork_info - no longer returns empty ``azure_virtualnetworks`` facts when called as ``_info`` module." diff --git a/changelogs/fragments/61933-ec2_transit_gateway-honor-auto_attach-setting.yaml b/changelogs/fragments/61933-ec2_transit_gateway-honor-auto_attach-setting.yaml deleted file mode 100644 index 0c949e4169e..00000000000 --- a/changelogs/fragments/61933-ec2_transit_gateway-honor-auto_attach-setting.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - ec2_transit_gateway - fixed issue where auto_attach set to yes was not being honored (https://github.com/ansible/ansible/issues/61907) diff --git a/changelogs/fragments/62014-iam_role_session_instanceprofile.yml b/changelogs/fragments/62014-iam_role_session_instanceprofile.yml deleted file mode 100644 index 50e64ac181e..00000000000 --- a/changelogs/fragments/62014-iam_role_session_instanceprofile.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: -- iam_role - Add support for removing the related instance profile when we delete the role -- iam_role - Add support for managing the maximum session duration diff --git a/changelogs/fragments/63362-remove-edgeos-filtering.yaml b/changelogs/fragments/63362-remove-edgeos-filtering.yaml deleted file mode 100644 index 9ed91ff4666..00000000000 --- a/changelogs/fragments/63362-remove-edgeos-filtering.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - edgeos_config - fix issue where module would silently filter out encrypted passwords diff --git a/changelogs/fragments/63924-boto3.yml b/changelogs/fragments/63924-boto3.yml deleted file mode 100644 index 4b4553f4e5a..00000000000 --- a/changelogs/fragments/63924-boto3.yml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: -- "iam_policy - The iam_policy module has been migrated from boto to boto3." -deprecated_features: -- "iam_policy - The ``policy_document`` will be removed in Ansible 2.14. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin." -- "iam_policy - The default value of ``skip_duplicates`` will change in Ansible 2.14 from ``true`` to ``false``." diff --git a/changelogs/fragments/63961-deprecate-fail_on_delete.yml b/changelogs/fragments/63961-deprecate-fail_on_delete.yml deleted file mode 100644 index ad5ea495bb8..00000000000 --- a/changelogs/fragments/63961-deprecate-fail_on_delete.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- "iam_managed_policy - The ``fail_on_delete`` option had no effect and will be removed in Ansible 2.14" diff --git a/changelogs/fragments/63989-deprecate-unused.yml b/changelogs/fragments/63989-deprecate-unused.yml deleted file mode 100644 index 0068be6a15e..00000000000 --- a/changelogs/fragments/63989-deprecate-unused.yml +++ /dev/null @@ -1,3 +0,0 @@ -deprecated_features: -- "s3_sync - The ``retries`` option had no effect and will be removed in Ansible 2.14" -- "s3_lifecycle - The ``requester_pays`` option had no effect and will be removed in Ansible 2.14" diff --git a/changelogs/fragments/64230-deprecate-unused.yml b/changelogs/fragments/64230-deprecate-unused.yml deleted file mode 100644 index 050b9370ede..00000000000 --- a/changelogs/fragments/64230-deprecate-unused.yml +++ /dev/null @@ -1,5 +0,0 @@ -deprecated_features: -- "ec2_eip - The ``wait_timeout`` option had no effect and will be removed in Ansible 2.14" -- "ec2_key - The ``wait`` option had no effect and will be removed in Ansible 2.14" -- "ec2_key - The ``wait_timeout`` option had no effect and will be removed in Ansible 2.14" -- "ec2_lc - The ``associate_public_ip_address`` option had no effect and will be removed in Ansible 2.14" diff --git a/changelogs/fragments/64258-purge_policies.yml b/changelogs/fragments/64258-purge_policies.yml deleted file mode 100644 index 8d3a3beb8a4..00000000000 --- a/changelogs/fragments/64258-purge_policies.yml +++ /dev/null @@ -1,5 +0,0 @@ -deprecated_features: -- 'iam_role: The default value of the purge_policies has been deprecated and will change from true to false in Ansible 2.14' -minor_changes: -- 'iam_role, iam_user and iam_group: the managed_policy option has been renamed to managed_policies (with an alias added)' -- 'iam_role, iam_user and iam_group: the purge_policy option has been renamed to purge_policies (with an alias added)' diff --git a/changelogs/fragments/64368-deprecate-unused.yml b/changelogs/fragments/64368-deprecate-unused.yml deleted file mode 100644 index ce93d59ed6f..00000000000 --- a/changelogs/fragments/64368-deprecate-unused.yml +++ /dev/null @@ -1,3 +0,0 @@ -deprecated_features: -- "cloudformation - The ``template_format`` option had no effect since Ansible 2.3 and will be removed in Ansible 2.14" -- "data_pipeline - The ``version`` option had no effect and will be removed in Ansible 2.14" diff --git a/changelogs/fragments/64598-add-next-token-support.yml b/changelogs/fragments/64598-add-next-token-support.yml deleted file mode 100644 index 158f7140182..00000000000 --- a/changelogs/fragments/64598-add-next-token-support.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - cloudwatchlogs_log_group_info - remove limitation of max 50 results diff --git a/changelogs/fragments/64867-route53-diff.yml b/changelogs/fragments/64867-route53-diff.yml deleted file mode 100644 index a27be1b102f..00000000000 --- a/changelogs/fragments/64867-route53-diff.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "route53 - the module now has diff support." diff --git a/changelogs/fragments/65265-allow-udp-tcpudp-protocol.yaml b/changelogs/fragments/65265-allow-udp-tcpudp-protocol.yaml deleted file mode 100644 index 7253e1c9c78..00000000000 --- a/changelogs/fragments/65265-allow-udp-tcpudp-protocol.yaml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - elb_network_lb - added support to UDP and TCP_UDP protocols - - elb_target_group - allow UDP and TCP_UDP protocols; permit only HTTP/HTTPS health checks using response codes and paths diff --git a/changelogs/fragments/65555-amazon-sanity-required.yml b/changelogs/fragments/65555-amazon-sanity-required.yml deleted file mode 100644 index ef385be3e48..00000000000 --- a/changelogs/fragments/65555-amazon-sanity-required.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_placement_group - make `name` a required field. diff --git a/changelogs/fragments/65557-iam-make-name-required.yml b/changelogs/fragments/65557-iam-make-name-required.yml deleted file mode 100644 index 81e2602e396..00000000000 --- a/changelogs/fragments/65557-iam-make-name-required.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- iam - make `name` a required field. diff --git a/changelogs/fragments/65558-iam_cert-require-name.yml b/changelogs/fragments/65558-iam_cert-require-name.yml deleted file mode 100644 index 2458c8491ff..00000000000 --- a/changelogs/fragments/65558-iam_cert-require-name.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- iam_cert - make `name` a required field. diff --git a/changelogs/fragments/65559-iam_policy-require-iam_name.yml b/changelogs/fragments/65559-iam_policy-require-iam_name.yml deleted file mode 100644 index 0242871ca40..00000000000 --- a/changelogs/fragments/65559-iam_policy-require-iam_name.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- iam_policy - make `iam_name` a required field. diff --git a/changelogs/fragments/66037-aws_kms.yml b/changelogs/fragments/66037-aws_kms.yml deleted file mode 100644 index 945d29cd230..00000000000 --- a/changelogs/fragments/66037-aws_kms.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - 'aws_kms: code refactor, some error messages updated' diff --git a/changelogs/fragments/66673-elb_target-awsretry.yaml b/changelogs/fragments/66673-elb_target-awsretry.yaml deleted file mode 100644 index 6523bb87a6c..00000000000 --- a/changelogs/fragments/66673-elb_target-awsretry.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - elb_target - add awsretry to prevent rate exceeded errors (https://github.com/ansible/ansible/issues/51108) diff --git a/changelogs/fragments/66779-redshift-backoff.yml b/changelogs/fragments/66779-redshift-backoff.yml deleted file mode 100644 index a18c0be7cd4..00000000000 --- a/changelogs/fragments/66779-redshift-backoff.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- 'redshift: Add AWSRetry calls for errors outside our control' diff --git a/changelogs/fragments/66795-sqs_queue-boto3.yaml b/changelogs/fragments/66795-sqs_queue-boto3.yaml deleted file mode 100644 index ea05c63bdae..00000000000 --- a/changelogs/fragments/66795-sqs_queue-boto3.yaml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: -- 'sqs_queue: updated to use boto3 instead of boto' -- 'sqs_queue: Add support for tagging, KMS and FIFO queues' diff --git a/changelogs/fragments/66863-ec2_asg-max_instance_lifetime-and-honor-wait-on-replace.yaml b/changelogs/fragments/66863-ec2_asg-max_instance_lifetime-and-honor-wait-on-replace.yaml deleted file mode 100644 index 57c11832aaf..00000000000 --- a/changelogs/fragments/66863-ec2_asg-max_instance_lifetime-and-honor-wait-on-replace.yaml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: -- 'ec2_asg: Migrated to AnsibleAWSModule' -- 'ec2_asg: Add support for Max Instance Lifetime' -bugfixes: -- 'ec2_asg: Ensure "wait" is honored during replace operations' diff --git a/changelogs/fragments/67045-ec2_asg_mixed_instance_policy.yml b/changelogs/fragments/67045-ec2_asg_mixed_instance_policy.yml deleted file mode 100644 index bd57c2dc30a..00000000000 --- a/changelogs/fragments/67045-ec2_asg_mixed_instance_policy.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ec2_asg - Add the ability to use mixed_instance_policy in launch template driven autoscaling groups diff --git a/changelogs/fragments/67089-sns_topic-notfound-backoff.yaml b/changelogs/fragments/67089-sns_topic-notfound-backoff.yaml deleted file mode 100644 index dcd01aad484..00000000000 --- a/changelogs/fragments/67089-sns_topic-notfound-backoff.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- sns_topic - Add backoff when we get Topic ``NotFound`` exceptions while listing the subscriptions. diff --git a/changelogs/fragments/67247-fix-ec2_transit_gateway-retries.yaml b/changelogs/fragments/67247-fix-ec2_transit_gateway-retries.yaml deleted file mode 100644 index 9e4d8e373b3..00000000000 --- a/changelogs/fragments/67247-fix-ec2_transit_gateway-retries.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - ec2_transit_gateway - Use AWSRetry before ClientError is handled when describing transit gateways diff --git a/changelogs/fragments/67651-aws-kms-key-rotation.yml b/changelogs/fragments/67651-aws-kms-key-rotation.yml deleted file mode 100644 index 542223fdf30..00000000000 --- a/changelogs/fragments/67651-aws-kms-key-rotation.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - aws_kms - Adds the ``enable_key_rotation`` option to enable or disable automatically key rotation. diff --git a/changelogs/fragments/67671-aws_acm-module_defaults.yaml b/changelogs/fragments/67671-aws_acm-module_defaults.yaml deleted file mode 100644 index 146e503ea55..00000000000 --- a/changelogs/fragments/67671-aws_acm-module_defaults.yaml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: -- 'aws_acm: Add the module to group/aws for module_defaults.' -- 'aws_acm: Update automatic retries to stabilize the integration tests.' diff --git a/changelogs/fragments/67770-aws-kms-info-key-rotation.yml b/changelogs/fragments/67770-aws-kms-info-key-rotation.yml deleted file mode 100644 index adff2ab322b..00000000000 --- a/changelogs/fragments/67770-aws-kms-info-key-rotation.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - aws_kms_info - Adds the ``enable_key_rotation`` info to the return value. diff --git a/changelogs/fragments/dont-template-cli-passwords.yml b/changelogs/fragments/dont-template-cli-passwords.yml deleted file mode 100644 index 5c8dbea7e19..00000000000 --- a/changelogs/fragments/dont-template-cli-passwords.yml +++ /dev/null @@ -1,12 +0,0 @@ -bugfixes: -- > - **security issue** - Convert CLI provided passwords to text initially, to - prevent unsafe context being lost when converting from bytes->text during - post processing of PlayContext. This prevents CLI provided passwords from - being incorrectly templated (CVE-2019-14856) -- > - **security issue** - Update ``AnsibleUnsafeText`` and ``AnsibleUnsafeBytes`` - to maintain unsafe context by overriding ``.encode`` and ``.decode``. This - prevents future issues with ``to_text``, ``to_bytes``, or ``to_native`` - removing the unsafe wrapper when converting between string types - (CVE-2019-14856) diff --git a/changelogs/fragments/lineinfile-backrefs-match-object-type.yaml b/changelogs/fragments/lineinfile-backrefs-match-object-type.yaml deleted file mode 100644 index 55d532b3564..00000000000 --- a/changelogs/fragments/lineinfile-backrefs-match-object-type.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - lineinfile - properly handle inserting a line when backrefs are enabled and the line already exists in the file (https://github.com/ansible/ansible/issues/63756) diff --git a/changelogs/fragments/porting-guide.yml b/changelogs/fragments/porting-guide.yml deleted file mode 100644 index ebcc2a517e9..00000000000 --- a/changelogs/fragments/porting-guide.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -deprecated_features: - - iam_managed_policy - the ``fail_on_delete`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. - - s3_lifecycle - the ``requester_pays`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. - - s3_sync - the ``retries`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. - - data_pipeline - the ``version`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. - - ec2_eip - the ``wait_timeout`` option has been deprecated and will be removed in a later release. It has had no effect since Ansible 2.3. - - ec2_lc - the ``associate_public_ip_address`` option has been deprecated and will be removed in a later release. It has always been ignored by the module. - - iam_policy - the ``policy_document`` option has been deprecated and will be removed in a later release. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin. - - iam_policy - in a later release, the default value for the ``skip_duplicates`` option will change from ``true`` to ``false``. To maintain the existing behavior explicitly set it to ``true``. - - iam_role - in a later release, the ``purge_policies`` option (also know as ``purge_policy``) default value will change from ``true`` to ``false`` - - elb_network_lb - in a later release, the default behaviour for the ``state`` option will change from ``absent`` to ``present``. To maintain the existing behavior explicitly set state to ``absent``. diff --git a/changelogs/fragments/sanity_fix_future_boilerplate.yml b/changelogs/fragments/sanity_fix_future_boilerplate.yml deleted file mode 100644 index f8b85045a50..00000000000 --- a/changelogs/fragments/sanity_fix_future_boilerplate.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- sanity - add future imports in all missing places. diff --git a/changelogs/fragments/win_credential-wildcard.yaml b/changelogs/fragments/win_credential-wildcard.yaml deleted file mode 100644 index a27b5842365..00000000000 --- a/changelogs/fragments/win_credential-wildcard.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- win_credential - Fix issue that errors when trying to add a ``name`` with wildcards. diff --git a/docs/community.aws.aws_acm_info_module.rst b/docs/community.aws.aws_acm_info_module.rst index 793d00fd7d7..74b7b666a8e 100644 --- a/docs/community.aws.aws_acm_info_module.rst +++ b/docs/community.aws.aws_acm_info_module.rst @@ -38,234 +38,253 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
-
Parameters can be found at https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config.
-
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+
Parameters can be found at https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config.
+
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
certificate_arn
string -
-
- -
If provided, the results will be filtered to show only the certificate with this ARN.
-
If no certificate with this ARN exists, this task will fail.
-
If a certificate with this ARN exists in a different region, this task will fail
-

aliases: arn
-
+ +
If provided, the results will be filtered to show only the certificate with this ARN.
+
If no certificate with this ARN exists, this task will fail.
+
If a certificate with this ARN exists in a different region, this task will fail
+

aliases: arn
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
domain_name
string -
-
- -
The domain name of an ACM certificate to limit the search to
-

aliases: name
-
+ +
The domain name of an ACM certificate to limit the search to
+

aliases: name
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
statuses
list - / elements=string
-
-
    Choices: -
  • PENDING_VALIDATION
  • -
  • ISSUED
  • -
  • INACTIVE
  • -
  • EXPIRED
  • -
  • VALIDATION_TIMED_OUT
  • -
  • REVOKED
  • -
  • FAILED
  • -
-
-
Status to filter the certificate results
-
+ / elements=string + +
    Choices: +
  • PENDING_VALIDATION
  • +
  • ISSUED
  • +
  • INACTIVE
  • +
  • EXPIRED
  • +
  • VALIDATION_TIMED_OUT
  • +
  • REVOKED
  • +
  • FAILED
  • +
+
+
Status to filter the certificate results
+
tags
dictionary -
-
- -
Filter results to show only certificates with tags that match all the tags specified here.
-
+ +
Filter results to show only certificates with tags that match all the tags specified here.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + + + + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -273,7 +292,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -284,7 +303,6 @@ Examples .. code-block:: yaml+jinja - - name: obtain all ACM certificates community.aws.aws_acm_info: @@ -311,8 +329,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -325,626 +341,626 @@ Common return values are documented `here Returned Description - - + +
certificates
complex -
- + + always -
A list of certificates
-
- +
A list of certificates
+
+ - -   - + +   +
certificate
string -
- + + when certificate creation is complete -
The ACM Certificate body
-
-
Sample:
-
-----BEGIN CERTIFICATE-----\nMII.....-----END CERTIFICATE-----\n
- +
The ACM Certificate body
+
+
Sample:
+
-----BEGIN CERTIFICATE-----\\nMII.....-----END CERTIFICATE-----\\n
+ - -   - + +   +
certificate_arn
string -
- + + always -
Certificate ARN
-
-
Sample:
-
arn:aws:acm:ap-southeast-2:123456789012:certificate/abcd1234-abcd-1234-abcd-123456789abc
- +
Certificate ARN
+
+
Sample:
+
arn:aws:acm:ap-southeast-2:123456789012:certificate/abcd1234-abcd-1234-abcd-123456789abc
+ - -   - + +   +
certificate_chain
string -
- + + when certificate creation is complete -
Full certificate chain for the certificate
-
-
Sample:
-
-----BEGIN CERTIFICATE-----\nMII...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n...
- +
Full certificate chain for the certificate
+
+
Sample:
+
-----BEGIN CERTIFICATE-----\\nMII...\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n...
+ - -   - + +   +
created_at
string -
- + + always -
Date certificate was created
-
-
Sample:
-
2017-08-15T10:31:19+10:00
- +
Date certificate was created
+
+
Sample:
+
2017-08-15T10:31:19+10:00
+ - -   - + +   +
domain_name
string -
- + + always -
Domain name for the certificate
-
-
Sample:
-
*.example.com
- +
Domain name for the certificate
+
+
Sample:
+
*.example.com
+ - -   - + +   +
domain_validation_options
complex -
- + + when certificate type is AMAZON_ISSUED -
Options used by ACM to validate the certificate
-
- +
Options used by ACM to validate the certificate
+
+ - -   -   - + +   +   +
domain_name
string -
- + + always -
Fully qualified domain name of the certificate
-
-
Sample:
-
example.com
- +
Fully qualified domain name of the certificate
+
+
Sample:
+
example.com
+ - -   -   - + +   +   +
validation_domain
string -
- + + always -
The domain name ACM used to send validation emails
-
-
Sample:
-
example.com
- +
The domain name ACM used to send validation emails
+
+
Sample:
+
example.com
+ - -   -   - + +   +   +
validation_emails
list - / elements=string
- + / elements=string + always -
A list of email addresses that ACM used to send domain validation emails
-
-
Sample:
-
['admin@example.com', 'postmaster@example.com']
- +
A list of email addresses that ACM used to send domain validation emails
+
+
Sample:
+
['admin@example.com', 'postmaster@example.com']
+ - -   -   - + +   +   +
validation_status
string -
- + + always -
Validation status of the domain
-
-
Sample:
-
SUCCESS
- +
Validation status of the domain
+
+
Sample:
+
SUCCESS
+ - - -   - + + +   +
failure_reason
string -
- + + only when certificate issuing failed -
Reason certificate request failed
-
-
Sample:
-
NO_AVAILABLE_CONTACTS
- +
Reason certificate request failed
+
+
Sample:
+
NO_AVAILABLE_CONTACTS
+ - -   - + +   +
in_use_by
list - / elements=string
- + / elements=string + always -
A list of ARNs for the AWS resources that are using the certificate.
-
- +
A list of ARNs for the AWS resources that are using the certificate.
+
+ - -   - + +   +
issued_at
string -
- + + always -
Date certificate was issued
-
-
Sample:
-
2017-01-01T00:00:00+10:00
- +
Date certificate was issued
+
+
Sample:
+
2017-01-01T00:00:00+10:00
+ - -   - + +   +
issuer
string -
- + + always -
Issuer of the certificate
-
-
Sample:
-
Amazon
- +
Issuer of the certificate
+
+
Sample:
+
Amazon
+ - -   - + +   +
key_algorithm
string -
- + + always -
Algorithm used to generate the certificate
-
-
Sample:
-
RSA-2048
- +
Algorithm used to generate the certificate
+
+
Sample:
+
RSA-2048
+ - -   - + +   +
not_after
string -
- + + always -
Date after which the certificate is not valid
-
-
Sample:
-
2019-01-01T00:00:00+10:00
- +
Date after which the certificate is not valid
+
+
Sample:
+
2019-01-01T00:00:00+10:00
+ - -   - + +   +
not_before
string -
- + + always -
Date before which the certificate is not valid
-
-
Sample:
-
2017-01-01T00:00:00+10:00
- +
Date before which the certificate is not valid
+
+
Sample:
+
2017-01-01T00:00:00+10:00
+ - -   - + +   +
renewal_summary
complex -
- + + when certificate is issued by Amazon and a renewal has been started -
Information about managed renewal process
-
- +
Information about managed renewal process
+
+ - -   -   - + +   +   +
domain_validation_options
complex -
- + + when certificate type is AMAZON_ISSUED -
Options used by ACM to validate the certificate
-
- +
Options used by ACM to validate the certificate
+
+ - -   -   -   - + +   +   +   +
domain_name
string -
- + + always -
Fully qualified domain name of the certificate
-
-
Sample:
-
example.com
- +
Fully qualified domain name of the certificate
+
+
Sample:
+
example.com
+ - -   -   -   - + +   +   +   +
validation_domain
string -
- + + always -
The domain name ACM used to send validation emails
-
-
Sample:
-
example.com
- +
The domain name ACM used to send validation emails
+
+
Sample:
+
example.com
+ - -   -   -   - + +   +   +   +
validation_emails
list - / elements=string
- + / elements=string + always -
A list of email addresses that ACM used to send domain validation emails
-
-
Sample:
-
['admin@example.com', 'postmaster@example.com']
- +
A list of email addresses that ACM used to send domain validation emails
+
+
Sample:
+
['admin@example.com', 'postmaster@example.com']
+ - -   -   -   - + +   +   +   +
validation_status
string -
- + + always -
Validation status of the domain
-
-
Sample:
-
SUCCESS
- +
Validation status of the domain
+
+
Sample:
+
SUCCESS
+ - - -   -   - + + +   +   +
renewal_status
string -
- + + always -
Status of the domain renewal
-
-
Sample:
-
PENDING_AUTO_RENEWAL
- +
Status of the domain renewal
+
+
Sample:
+
PENDING_AUTO_RENEWAL
+ - - -   - + + +   +
revocation_reason
string -
- + + when the certificate has been revoked -
Reason for certificate revocation
-
-
Sample:
-
SUPERCEDED
- +
Reason for certificate revocation
+
+
Sample:
+
SUPERCEDED
+ - -   - + +   +
revoked_at
string -
- + + when the certificate has been revoked -
Date certificate was revoked
-
-
Sample:
-
2017-09-01T10:00:00+10:00
- +
Date certificate was revoked
+
+
Sample:
+
2017-09-01T10:00:00+10:00
+ - -   - + +   +
serial
string -
- + + always -
The serial number of the certificate
-
-
Sample:
-
00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
- +
The serial number of the certificate
+
+
Sample:
+
00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
+ - -   - + +   +
signature_algorithm
string -
- + + always -
Algorithm used to sign the certificate
-
-
Sample:
-
SHA256WITHRSA
- +
Algorithm used to sign the certificate
+
+
Sample:
+
SHA256WITHRSA
+ - -   - + +   +
status
string -
- + + always -
Status of the certificate in ACM
-
-
Sample:
-
ISSUED
- +
Status of the certificate in ACM
+
+
Sample:
+
ISSUED
+ - -   - + +   +
subject
string -
- + + always -
The name of the entity that is associated with the public key contained in the certificate
-
-
Sample:
-
CN=*.example.com
- +
The name of the entity that is associated with the public key contained in the certificate
+
+
Sample:
+
CN=*.example.com
+ - -   - + +   +
subject_alternative_names
list - / elements=string
- + / elements=string + always -
Subject Alternative Names for the certificate
-
-
Sample:
-
['*.example.com']
- +
Subject Alternative Names for the certificate
+
+
Sample:
+
['*.example.com']
+ - -   - + +   +
tags
dictionary -
- + + always -
Tags associated with the certificate
-
-
Sample:
-
{'Application': 'helloworld', 'Environment': 'test'}
- +
Tags associated with the certificate
+
+
Sample:
+
{'Application': 'helloworld', 'Environment': 'test'}
+ - -   - + +   +
type
string -
- + + always -
The source of the certificate
-
-
Sample:
-
AMAZON_ISSUED
- +
The source of the certificate
+
+
Sample:
+
AMAZON_ISSUED
+ - - + +

@@ -956,5 +972,3 @@ Authors ~~~~~~~ - Will Thames (@willthames) - - diff --git a/docs/community.aws.aws_acm_module.rst b/docs/community.aws.aws_acm_module.rst index 40189ba6f08..40b9be63f00 100644 --- a/docs/community.aws.aws_acm_module.rst +++ b/docs/community.aws.aws_acm_module.rst @@ -52,292 +52,311 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
certificate
string -
-
- -
The body of the PEM encoded public certificate.
-
Required when state is not absent.
-
If your certificate is in a file, use lookup('file', 'path/to/cert.pem').
-
+ +
The body of the PEM encoded public certificate.
+
Required when state is not absent.
+
If your certificate is in a file, use lookup('file', 'path/to/cert.pem').
+
+
certificate_arn
string -
-
- -
The ARN of a certificate in ACM to delete
-
Ignored when state=present.
-
If state=absent, you must provide one of certificate_arn, domain_name or name_tag.
-
If state=absent and no resource exists with this ARN in this region, the task will succeed with no effect.
-
If state=absent and the corresponding resource exists in a different region, this task may report success without deleting that resource.
-

aliases: arn
-
+ +
The ARN of a certificate in ACM to delete
+
Ignored when state=present.
+
If state=absent, you must provide one of certificate_arn, domain_name or name_tag.
+
If state=absent and no resource exists with this ARN in this region, the task will succeed with no effect.
+
If state=absent and the corresponding resource exists in a different region, this task may report success without deleting that resource.
+

aliases: arn
+
+
certificate_chain
string -
-
- -
The body of the PEM encoded chain for your certificate.
-
If your certificate chain is in a file, use lookup('file', 'path/to/chain.pem').
-
Ignored when state=absent
-
+ +
The body of the PEM encoded chain for your certificate.
+
If your certificate chain is in a file, use lookup('file', 'path/to/chain.pem').
+
Ignored when state=absent
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
domain_name
string -
-
- -
The domain name of the certificate.
-
If state=absent and domain_name is specified, this task will delete all ACM certificates with this domain.
-
Exactly one of domain_name, name_tag and certificate_arn must be provided.
-
If state=present this must not be specified. (Since the domain name is encoded within the public certificate's body.)
-

aliases: domain
-
+ +
The domain name of the certificate.
+
If state=absent and domain_name is specified, this task will delete all ACM certificates with this domain.
+
Exactly one of domain_name, name_tag and certificate_arn must be provided.
+
If state=present this must not be specified. (Since the domain name is encoded within the public certificate's body.)
+

aliases: domain
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name_tag
string -
-
- -
The unique identifier for tagging resources using AWS tags, with key Name.
-
This can be any set of characters accepted by AWS for tag values.
-
This is to ensure Ansible can treat certificates idempotently, even though the ACM API allows duplicate certificates.
-
If state=preset, this must be specified.
-
If state=absent, you must provide exactly one of certificate_arn, domain_name or name_tag.
-

aliases: name
-
+ +
The unique identifier for tagging resources using AWS tags, with key Name.
+
This can be any set of characters accepted by AWS for tag values.
+
This is to ensure Ansible can treat certificates idempotently, even though the ACM API allows duplicate certificates.
+
If state=preset, this must be specified.
+
If state=absent, you must provide exactly one of certificate_arn, domain_name or name_tag.
+

aliases: name
+
+
private_key
string -
-
- -
The body of the PEM encoded private key.
-
Required when state=present.
-
Ignored when state=absent.
-
If your private key is in a file, use lookup('file', 'path/to/key.pem').
-
+ +
The body of the PEM encoded private key.
+
Required when state=present.
+
Ignored when state=absent.
+
If your private key is in a file, use lookup('file', 'path/to/key.pem').
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
If state=present, the specified public certificate and private key will be uploaded, with Name tag equal to name_tag.
-
If state=absent, any certificates in this region with a corresponding domain_name, name_tag or certificate_arn will be deleted.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
If state=present, the specified public certificate and private key will be uploaded, with Name tag equal to name_tag.
+
If state=absent, any certificates in this region with a corresponding domain_name, name_tag or certificate_arn will be deleted.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -345,7 +364,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -356,8 +375,6 @@ Examples .. code-block:: yaml+jinja - - - name: upload a self-signed certificate community.aws.aws_acm: certificate: "{{ lookup('file', 'cert.pem' ) }}" @@ -376,7 +393,7 @@ Examples register: cert_create - name: print ARN of cert we just created - debug: + ansible.builtin.debug: var: cert_create.certificate.arn - name: delete the cert we just created @@ -399,8 +416,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -413,76 +428,76 @@ Common return values are documented `here Returned Description - - + +
arns
list - / elements=string
- + / elements=string + when state=absent -
A list of the ARNs of the certificates in ACM which were deleted
-
-
Sample:
-
['arn:aws:acm:ap-southeast-2:123456789012:certificate/01234567-abcd-abcd-abcd-012345678901']
- +
A list of the ARNs of the certificates in ACM which were deleted
+
+
Sample:
+
['arn:aws:acm:ap-southeast-2:123456789012:certificate/01234567-abcd-abcd-abcd-012345678901']
+ - - + +
certificate
complex -
- + + when state=present -
Information about the certificate which was uploaded
-
- +
Information about the certificate which was uploaded
+
+ - -   - + +   +
arn
string -
- + + when state=present -
The ARN of the certificate in ACM
-
-
Sample:
-
arn:aws:acm:ap-southeast-2:123456789012:certificate/01234567-abcd-abcd-abcd-012345678901
- +
The ARN of the certificate in ACM
+
+
Sample:
+
arn:aws:acm:ap-southeast-2:123456789012:certificate/01234567-abcd-abcd-abcd-012345678901
+ - -   - + +   +
domain_name
string -
- + + when state=present -
The domain name encoded within the public certificate
-
-
Sample:
-
acm.ansible.com
- +
The domain name encoded within the public certificate
+
+
Sample:
+
acm.ansible.com
+ - - + +

@@ -494,5 +509,3 @@ Authors ~~~~~~~ - Matthew Davis (@matt-telstra) on behalf of Telstra Corporation Limited - - diff --git a/docs/community.aws.aws_api_gateway_module.rst b/docs/community.aws.aws_api_gateway_module.rst index d623936fc68..7b3da60f236 100644 --- a/docs/community.aws.aws_api_gateway_module.rst +++ b/docs/community.aws.aws_api_gateway_module.rst @@ -39,393 +39,412 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
api_id
string -
-
- -
The ID of the API you want to manage.
-
+ +
The ID of the API you want to manage.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cache_enabled
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Enable API GW caching of backend responses. Defaults to false.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Enable API GW caching of backend responses. Defaults to false.
+
+
cache_size
string -
-
-
    Choices: -
  • 0.5 ←
  • -
  • 1.6
  • -
  • 6.1
  • -
  • 13.5
  • -
  • 28.4
  • -
  • 58.2
  • -
  • 118
  • -
  • 237
  • -
-
-
Size in GB of the API GW cache, becomes effective when cache_enabled is true.
-
+
    Choices: +
  • 0.5 ←
  • +
  • 1.6
  • +
  • 6.1
  • +
  • 13.5
  • +
  • 28.4
  • +
  • 58.2
  • +
  • 118
  • +
  • 237
  • +
+
+
Size in GB of the API GW cache, becomes effective when cache_enabled is true.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
deploy_desc
string -
-
- Default:
"Automatic deployment by Ansible."
-
-
Description of the deployment - recorded and visible in the AWS console.
-
+ Default:
"Automatic deployment by Ansible."
+
+
Description of the deployment - recorded and visible in the AWS console.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
endpoint_type
string -
-
-
    Choices: -
  • EDGE ←
  • -
  • REGIONAL
  • -
  • PRIVATE
  • -
-
-
Type of endpoint configuration, use EDGE for an edge optimized API endpoint,
-
REGIONAL for just a regional deploy or PRIVATE for a private API.
-
This will flag will only be used when creating a new API Gateway setup, not for updates.
-
+
    Choices: +
  • EDGE ←
  • +
  • REGIONAL
  • +
  • PRIVATE
  • +
+
+
Type of endpoint configuration, use EDGE for an edge optimized API endpoint,
+
REGIONAL for just a regional deploy or PRIVATE for a private API.
+
This will flag will only be used when creating a new API Gateway setup, not for updates.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
stage
string -
-
- -
The name of the stage the API should be deployed to.
-
+ +
The name of the stage the API should be deployed to.
+
+
stage_canary_settings
dictionary -
-
- -
Canary settings for the deployment of the stage.
-
Dict with following settings:
-
percentTraffic: The percent (0-100) of traffic diverted to a canary deployment.
-
deploymentId: The ID of the canary deployment.
-
stageVariableOverrides: Stage variables overridden for a canary release deployment.
-
useStageCache: A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
- -
+ +
Canary settings for the deployment of the stage.
+
Dict with following settings:
+
percentTraffic: The percent (0-100) of traffic diverted to a canary deployment.
+
deploymentId: The ID of the canary deployment.
+
stageVariableOverrides: Stage variables overridden for a canary release deployment.
+
useStageCache: A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
+ +
+
stage_variables
dictionary -
-
- -
ENV variables for the stage. Define a dict of key values pairs for variables.
-
+ +
ENV variables for the stage. Define a dict of key values pairs for variables.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete API Gateway.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete API Gateway.
+
+
swagger_dict
json -
-
- -
Swagger definitions API ansible dictionary which will be converted to JSON and uploaded.
-
+ +
Swagger definitions API ansible dictionary which will be converted to JSON and uploaded.
+
+
swagger_file
path -
-
- -
JSON or YAML file containing swagger definitions for API. Exactly one of swagger_file, swagger_text or swagger_dict must be present.
-

aliases: src, api_file
-
+ +
JSON or YAML file containing swagger definitions for API. Exactly one of swagger_file, swagger_text or swagger_dict must be present.
+

aliases: src, api_file
+
+
swagger_text
string -
-
- -
Swagger definitions for API in JSON or YAML as a string direct from playbook.
-
+ +
Swagger definitions for API in JSON or YAML as a string direct from playbook.
+
+
tracing_enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Specifies whether active tracing with X-ray is enabled for the API GW stage.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Specifies whether active tracing with X-ray is enabled for the API GW stage.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -435,7 +454,7 @@ Notes .. note:: - A future version of this module will probably use tags or another ID so that an API can be create only once. - As an early work around an intermediate version will probably do the same using a tag embedded in the API name. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -446,7 +465,6 @@ Examples .. code-block:: yaml+jinja - - name: Setup AWS API Gateway setup on AWS and deploy API definition community.aws.aws_api_gateway: swagger_file: my_api.yml @@ -478,7 +496,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -491,75 +508,75 @@ Common return values are documented `here Returned Description - - + +
api_id
string -
- + + success -
API id of the API endpoint created
-
-
Sample:
-
0ln4zq7p86
- +
API id of the API endpoint created
+
+
Sample:
+
0ln4zq7p86
+ - - + +
configure_response
dictionary -
- + + success -
AWS response from the API configure call
-
-
Sample:
-
{'api_key_source': 'HEADER', 'created_at': '2020-01-01T11:37:59+00:00', 'id': '0ln4zq7p86'}
- +
AWS response from the API configure call
+
+
Sample:
+
{'api_key_source': 'HEADER', 'created_at': '2020-01-01T11:37:59+00:00', 'id': '0ln4zq7p86'}
+ - - + +
deploy_response
dictionary -
- + + success -
AWS response from the API deploy call
-
-
Sample:
-
{'created_date': '2020-01-01T11:36:59+00:00', 'id': 'rptv4b', 'description': 'Automatic deployment by Ansible.'}
- +
AWS response from the API deploy call
+
+
Sample:
+
{'created_date': '2020-01-01T11:36:59+00:00', 'id': 'rptv4b', 'description': 'Automatic deployment by Ansible.'}
+ - - + +
resource_actions
list -
- + + always -
Actions performed against AWS API
-
-
Sample:
-
['apigateway:CreateRestApi', 'apigateway:CreateDeployment', 'apigateway:PutRestApi']
- +
Actions performed against AWS API
+
+
Sample:
+
['apigateway:CreateRestApi', 'apigateway:CreateDeployment', 'apigateway:PutRestApi']
+ - +

@@ -571,5 +588,3 @@ Authors ~~~~~~~ - Michael De La Rue (@mikedlr) - - diff --git a/docs/community.aws.aws_application_scaling_policy_module.rst b/docs/community.aws.aws_application_scaling_policy_module.rst index 7f76effd9aa..566b546f187 100644 --- a/docs/community.aws.aws_application_scaling_policy_module.rst +++ b/docs/community.aws.aws_application_scaling_policy_module.rst @@ -38,458 +38,477 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
maximum_tasks
integer -
-
- -
The maximum value to scale to in response to a scale out event. This parameter is required if you are creating a first new policy for the specified service.
-
+ +
The maximum value to scale to in response to a scale out event. This parameter is required if you are creating a first new policy for the specified service.
+
+
minimum_tasks
integer -
-
- -
The minimum value to scale to in response to a scale in event. This parameter is required if you are creating a first new policy for the specified service.
-
+ +
The minimum value to scale to in response to a scale in event. This parameter is required if you are creating a first new policy for the specified service.
+
+
override_task_capacity
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to override values of minimum and/or maximum tasks if it's already set.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to override values of minimum and/or maximum tasks if it's already set.
+
+
policy_name
string - / required
-
- -
The name of the scaling policy.
-
+ +
The name of the scaling policy.
+
+
policy_type
string - / required
-
-
    Choices: -
  • StepScaling
  • -
  • TargetTrackingScaling
  • -
-
-
The policy type.
-
+
    Choices: +
  • StepScaling
  • +
  • TargetTrackingScaling
  • +
+
+
The policy type.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
resource_id
string - / required
-
- -
The identifier of the resource associated with the scalable target.
-
+ +
The identifier of the resource associated with the scalable target.
+
+
scalable_dimension
string - / required
-
-
    Choices: -
  • ecs:service:DesiredCount
  • -
  • ec2:spot-fleet-request:TargetCapacity
  • -
  • elasticmapreduce:instancegroup:InstanceCount
  • -
  • appstream:fleet:DesiredCapacity
  • -
  • dynamodb:table:ReadCapacityUnits
  • -
  • dynamodb:table:WriteCapacityUnits
  • -
  • dynamodb:index:ReadCapacityUnits
  • -
  • dynamodb:index:WriteCapacityUnits
  • -
-
-
The scalable dimension associated with the scalable target.
-
+
    Choices: +
  • ecs:service:DesiredCount
  • +
  • ec2:spot-fleet-request:TargetCapacity
  • +
  • elasticmapreduce:instancegroup:InstanceCount
  • +
  • appstream:fleet:DesiredCapacity
  • +
  • dynamodb:table:ReadCapacityUnits
  • +
  • dynamodb:table:WriteCapacityUnits
  • +
  • dynamodb:index:ReadCapacityUnits
  • +
  • dynamodb:index:WriteCapacityUnits
  • +
+
+
The scalable dimension associated with the scalable target.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
service_namespace
string - / required
-
-
    Choices: -
  • ecs
  • -
  • elasticmapreduce
  • -
  • ec2
  • -
  • appstream
  • -
  • dynamodb
  • -
-
-
The namespace of the AWS service.
-
+
    Choices: +
  • ecs
  • +
  • elasticmapreduce
  • +
  • ec2
  • +
  • appstream
  • +
  • dynamodb
  • +
+
+
The namespace of the AWS service.
+
+
state
string - / required
-
-
    Choices: -
  • absent
  • -
  • present
  • -
-
-
Whether a policy should be present or absent
-
+
    Choices: +
  • absent
  • +
  • present
  • +
+
+
Whether a policy should be present or absent
+
+
step_scaling_policy_configuration
dictionary -
-
- -
A step scaling policy. This parameter is required if you are creating a policy and the policy type is StepScaling.
-
+ +
A step scaling policy. This parameter is required if you are creating a policy and the policy type is StepScaling.
+
+
target_tracking_scaling_policy_configuration
dictionary -
-
- -
A target tracking policy. This parameter is required if you are creating a new policy and the policy type is TargetTrackingScaling.
-
Full documentation of the suboptions can be found in the API documentation:
- -
+ + + +
A target tracking policy. This parameter is required if you are creating a new policy and the policy type is TargetTrackingScaling.
+
Full documentation of the suboptions can be found in the API documentation:
+ +
CustomizedMetricSpecification
dictionary -
-
- -
The metric to use if using a customized metric.
-
+ +
The metric to use if using a customized metric.
+
+
DisableScaleIn
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether scaling-in should be disabled.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether scaling-in should be disabled.
+
+
PredefinedMetricSpecification
dictionary -
-
- -
The metric to use if using a predefined metric.
-
+ +
The metric to use if using a predefined metric.
+
+
ScaleInCooldown
integer -
-
- -
The time (in seconds) to wait after scaling-in before another scaling action can occur.
-
+ +
The time (in seconds) to wait after scaling-in before another scaling action can occur.
+
+
ScaleOutCooldown
integer -
-
- -
The time (in seconds) to wait after scaling-out before another scaling action can occur.
-
+ +
The time (in seconds) to wait after scaling-out before another scaling action can occur.
+
+
TargetValue
float -
-
- -
The target value for the metric
-
+ + + +
The target value for the metric
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -498,7 +517,7 @@ Notes .. note:: - for details of the parameters and returns see http://boto3.readthedocs.io/en/latest/reference/services/application-autoscaling.html#ApplicationAutoScaling.Client.put_scaling_policy - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -509,7 +528,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Create step scaling policy for ECS Service @@ -563,7 +581,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -576,428 +593,428 @@ Common return values are documented `here Returned Description - - + +
alarms
complex -
- + + when state present -
List of the CloudWatch alarms associated with the scaling policy
-
- +
List of the CloudWatch alarms associated with the scaling policy
+
+ - -   - + +   +
alarm_arn
string -
- + + when state present -
The Amazon Resource Name (ARN) of the alarm
-
- +
The Amazon Resource Name (ARN) of the alarm
+
+ - -   - + +   +
alarm_name
string -
- + + when state present -
The name of the alarm
-
- +
The name of the alarm
+
+ - - - + + +
creation_time
string -
- + + when state present -
The Unix timestamp for when the scalable target was created.
-
-
Sample:
-
2017-09-28T08:22:51.881000-03:00
- +
The Unix timestamp for when the scalable target was created.
+
+
Sample:
+
2017-09-28T08:22:51.881000-03:00
+ - - + +
max_capacity
integer -
- + + when state present -
The maximum value to scale to in response to a scale out event. Required if state is present.
-
-
Sample:
-
2
- +
The maximum value to scale to in response to a scale out event. Required if state is present.
+
+
Sample:
+
2
+ - - + +
min_capacity
integer -
- + + when state present -
The minimum value to scale to in response to a scale in event. Required if state is present.
-
-
Sample:
-
1
- +
The minimum value to scale to in response to a scale in event. Required if state is present.
+
+
Sample:
+
1
+ - - + +
policy_arn
string -
- + + when state present -
The Amazon Resource Name (ARN) of the scaling policy..
-
- +
The Amazon Resource Name (ARN) of the scaling policy..
+
+ - - + +
policy_name
string -
- + + when state present -
The name of the scaling policy.
-
- +
The name of the scaling policy.
+
+ - - + +
policy_type
string -
- + + when state present -
The policy type.
-
- +
The policy type.
+
+ - - + +
resource_id
string -
- + + when state present -
The identifier of the resource associated with the scalable target.
-
-
Sample:
-
service/cluster-name/service-name
- +
The identifier of the resource associated with the scalable target.
+
+
Sample:
+
service/cluster-name/service-name
+ - - + +
role_arn
string -
- + + when state present -
The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. Required if state is present.
-
-
Sample:
-
arn:aws:iam::123456789123:role/roleName
- +
The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. Required if state is present.
+
+
Sample:
+
arn:aws:iam::123456789123:role/roleName
+ - - + +
scalable_dimension
string -
- + + when state present -
The scalable dimension associated with the scalable target.
-
-
Sample:
-
ecs:service:DesiredCount
- +
The scalable dimension associated with the scalable target.
+
+
Sample:
+
ecs:service:DesiredCount
+ - - + +
service_namespace
string -
- + + when state present -
The namespace of the AWS service.
-
-
Sample:
-
ecs
- +
The namespace of the AWS service.
+
+
Sample:
+
ecs
+ - - + +
step_scaling_policy_configuration
complex -
- + + when state present and the policy type is StepScaling -
The step scaling policy.
-
- +
The step scaling policy.
+
+ - -   - + +   +
adjustment_type
string -
- + + when state present and the policy type is StepScaling -
The adjustment type
-
-
Sample:
-
ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
- +
The adjustment type
+
+
Sample:
+
ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
+ - -   - + +   +
cooldown
integer -
- + + when state present and the policy type is StepScaling -
The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events
-
-
Sample:
-
60
- +
The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events
+
+
Sample:
+
60
+ - -   - + +   +
metric_aggregation_type
string -
- + + when state present and the policy type is StepScaling -
The aggregation type for the CloudWatch metrics
-
-
Sample:
-
Average, Minimum, Maximum
- +
The aggregation type for the CloudWatch metrics
+
+
Sample:
+
Average, Minimum, Maximum
+ - -   - + +   +
step_adjustments
list - / elements=dictionary
- + / elements=dictionary + when state present and the policy type is StepScaling -
A set of adjustments that enable you to scale based on the size of the alarm breach
-
- +
A set of adjustments that enable you to scale based on the size of the alarm breach
+
+ - - - + + +
target_tracking_scaling_policy_configuration
complex -
- + + when state present and the policy type is TargetTrackingScaling -
The target tracking policy.
-
- +
The target tracking policy.
+
+ - -   - + +   +
predefined_metric_specification
complex -
- + + when state present and the policy type is TargetTrackingScaling -
A predefined metric
-
- +
A predefined metric
+
+ - -   -   - + +   +   +
predefined_metric_type
string -
- + + when state present and the policy type is TargetTrackingScaling -
The metric type
-
-
Sample:
-
ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
- +
The metric type
+
+
Sample:
+
ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
+ - -   -   - + +   +   +
resource_label
string -
- + + when metric type is ALBRequestCountPerTarget -
Identifies the resource associated with the metric type
-
- +
Identifies the resource associated with the metric type
+
+ - - -   - + + +   +
scale_in_cooldown
integer -
- + + when state present and the policy type is TargetTrackingScaling -
The amount of time, in seconds, after a scale in activity completes before another scale in activity can start
-
-
Sample:
-
60
- +
The amount of time, in seconds, after a scale in activity completes before another scale in activity can start
+
+
Sample:
+
60
+ - -   - + +   +
scale_out_cooldown
integer -
- + + when state present and the policy type is TargetTrackingScaling -
The amount of time, in seconds, after a scale out activity completes before another scale out activity can start
-
-
Sample:
-
60
- +
The amount of time, in seconds, after a scale out activity completes before another scale out activity can start
+
+
Sample:
+
60
+ - -   - + +   +
target_value
integer -
- + + when state present and the policy type is TargetTrackingScaling -
The target value for the metric
-
-
Sample:
-
70
- +
The target value for the metric
+
+
Sample:
+
70
+ - - + +

@@ -1010,5 +1027,3 @@ Authors - Gustavo Maia (@gurumaia) - Chen Leibovich (@chenl87) - - diff --git a/docs/community.aws.aws_batch_compute_environment_module.rst b/docs/community.aws.aws_batch_compute_environment_module.rst index 223d746be03..d270d6a5d6b 100644 --- a/docs/community.aws.aws_batch_compute_environment_module.rst +++ b/docs/community.aws.aws_batch_compute_environment_module.rst @@ -17,7 +17,9 @@ Version added: 1.0.0 Synopsis -------- -- This module allows the management of AWS Batch Compute Environments. It is idempotent and supports "Check" mode. Use module :ref:`community.aws.aws_batch_compute_environment ` to manage the compute environment, :ref:`community.aws.aws_batch_job_queue ` to manage job queues, :ref:`community.aws.aws_batch_job_definition ` to manage job definitions. +- This module allows the management of AWS Batch Compute Environments. +- It is idempotent and supports "Check" mode. +- Use module :ref:`community.aws.aws_batch_compute_environment ` to manage the compute environment, :ref:`community.aws.aws_batch_job_queue ` to manage job queues, :ref:`community.aws.aws_batch_job_definition ` to manage job definitions. @@ -36,447 +38,469 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / elements=string / required + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bid_percentage
integer -
-
- -
The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance.
-
+ +
The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched.
+
For example, if your bid percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance.
+
+
compute_environment_name
string - / required
-
- -
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
-
+ +
The name for your compute environment.
+
Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
+
+
compute_environment_state
string -
-
-
    Choices: -
  • ENABLED ←
  • -
  • DISABLED
  • -
-
-
The state of the compute environment. If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
-
+
    Choices: +
  • ENABLED ←
  • +
  • DISABLED
  • +
+
+
The state of the compute environment.
+
If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
+
+
compute_resource_type
string - / required
-
-
    Choices: -
  • EC2
  • -
  • SPOT
  • -
-
-
The type of compute resource.
-
+
    Choices: +
  • EC2
  • +
  • SPOT
  • +
+
+
The type of compute resource.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
desiredv_cpus
integer -
-
- -
The desired number of EC2 vCPUS in the compute environment.
-
+ +
The desired number of EC2 vCPUS in the compute environment.
+
+
ec2_key_pair
string -
-
- -
The EC2 key pair that is used for instances launched in the compute environment.
-
+ +
The EC2 key pair that is used for instances launched in the compute environment.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
image_id
string -
-
- -
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
-
+ +
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
+
+
instance_role
string - / required
-
- -
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.
-
+ +
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.
+
+
instance_types
list - / elements=string / required
-
- -
The instance types that may be launched.
-
+ +
The instance types that may be launched.
+
+
maxv_cpus
integer - / required
-
- -
The maximum number of EC2 vCPUs that an environment can reach.
-
+ +
The maximum number of EC2 vCPUs that an environment can reach.
+
+
minv_cpus
integer - / required
-
- -
The minimum number of EC2 vCPUs that an environment should maintain.
-
+ +
The minimum number of EC2 vCPUs that an environment should maintain.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_group_ids
list - / elements=string / required
-
- -
The EC2 security groups that are associated with instances launched in the compute environment.
-
+ +
The EC2 security groups that are associated with instances launched in the compute environment.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
service_role
string - / required
-
- -
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
-
+ +
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
+
+
spot_iam_fleet_role
string -
-
- -
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment.
-
+ +
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
subnets
list - / elements=string / required
-
- -
The VPC subnets into which the compute resources are launched.
-
+ +
The VPC subnets into which the compute resources are launched.
+
+
tags
dictionary -
-
- -
Key-value pair tags to be applied to resources that are launched in the compute environment.
-
+ +
Key-value pair tags to be applied to resources that are launched in the compute environment.
+
+
type
string - / required
-
-
    Choices: -
  • MANAGED
  • -
  • UNMANAGED
  • -
-
-
The type of the compute environment.
-
+
    Choices: +
  • MANAGED
  • +
  • UNMANAGED
  • +
+
+
The type of the compute environment.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -484,7 +508,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -495,43 +519,35 @@ Examples .. code-block:: yaml+jinja - - --- - - hosts: localhost - gather_facts: no - vars: + - name: My Batch Compute Environment + community.aws.aws_batch_compute_environment: + compute_environment_name: computeEnvironmentName state: present - tasks: - - name: My Batch Compute Environment - community.aws.aws_batch_compute_environment: - compute_environment_name: computeEnvironmentName - state: present - region: us-east-1 - compute_environment_state: ENABLED - type: MANAGED - compute_resource_type: EC2 - minv_cpus: 0 - maxv_cpus: 2 - desiredv_cpus: 1 - instance_types: - - optimal - subnets: - - my-subnet1 - - my-subnet2 - security_group_ids: - - my-sg1 - - my-sg2 - instance_role: arn:aws:iam:::instance-profile/ - tags: - tag1: value1 - tag2: value2 - service_role: arn:aws:iam:::role/service-role/ - register: aws_batch_compute_environment_action - - - name: show results - debug: - var: aws_batch_compute_environment_action - + region: us-east-1 + compute_environment_state: ENABLED + type: MANAGED + compute_resource_type: EC2 + minv_cpus: 0 + maxv_cpus: 2 + desiredv_cpus: 1 + instance_types: + - optimal + subnets: + - my-subnet1 + - my-subnet2 + security_group_ids: + - my-sg1 + - my-sg2 + instance_role: arn:aws:iam:::instance-profile/ + tags: + tag1: value1 + tag2: value2 + service_role: arn:aws:iam:::role/service-role/ + register: aws_batch_compute_environment_action + + - name: show results + ansible.builtin.debug: + var: aws_batch_compute_environment_action @@ -547,24 +563,24 @@ Common return values are documented `here Returned Description - - + +
output
dictionary -
- + + always -
returns what action was taken, whether something was changed, invocation and response
-
-
Sample:
-
{'batch_compute_environment_action': 'none', 'changed': False, 'invocation': {'module_args': {'aws_access_key': None, 'aws_secret_key': None, 'bid_percentage': None, 'compute_environment_name': '<name>', 'compute_environment_state': 'ENABLED', 'compute_resource_type': 'EC2', 'desiredv_cpus': 0, 'ec2_key_pair': None, 'ec2_url': None, 'image_id': None, 'instance_role': 'arn:aws:iam::...', 'instance_types': ['optimal'], 'maxv_cpus': 8, 'minv_cpus': 0, 'profile': None, 'region': 'us-east-1', 'security_group_ids': ['*******'], 'security_token': None, 'service_role': 'arn:aws:iam::....', 'spot_iam_fleet_role': None, 'state': 'present', 'subnets': ['******'], 'tags': {'Environment': '<name>', 'Name': '<name>'}, 'type': 'MANAGED', 'validate_certs': True}}, 'response': {'computeEnvironmentArn': 'arn:aws:batch:....', 'computeEnvironmentName': '<name>', 'computeResources': {'desiredvCpus': 0, 'instanceRole': 'arn:aws:iam::...', 'instanceTypes': ['optimal'], 'maxvCpus': 8, 'minvCpus': 0, 'securityGroupIds': ['******'], 'subnets': ['*******'], 'tags': {'Environment': '<name>', 'Name': '<name>'}, 'type': 'EC2'}, 'ecsClusterArn': 'arn:aws:ecs:.....', 'serviceRole': 'arn:aws:iam::...', 'state': 'ENABLED', 'status': 'VALID', 'statusReason': 'ComputeEnvironment Healthy', 'type': 'MANAGED'}}
- +
returns what action was taken, whether something was changed, invocation and response
+
+
Sample:
+
{'batch_compute_environment_action': 'none', 'changed': False, 'invocation': {'module_args': {'aws_access_key': None, 'aws_secret_key': None, 'bid_percentage': None, 'compute_environment_name': '<name>', 'compute_environment_state': 'ENABLED', 'compute_resource_type': 'EC2', 'desiredv_cpus': 0, 'ec2_key_pair': None, 'ec2_url': None, 'image_id': None, 'instance_role': 'arn:aws:iam::...', 'instance_types': ['optimal'], 'maxv_cpus': 8, 'minv_cpus': 0, 'profile': None, 'region': 'us-east-1', 'security_group_ids': ['*******'], 'security_token': None, 'service_role': 'arn:aws:iam::....', 'spot_iam_fleet_role': None, 'state': 'present', 'subnets': ['******'], 'tags': {'Environment': '<name>', 'Name': '<name>'}, 'type': 'MANAGED', 'validate_certs': True}}, 'response': {'computeEnvironmentArn': 'arn:aws:batch:....', 'computeEnvironmentName': '<name>', 'computeResources': {'desiredvCpus': 0, 'instanceRole': 'arn:aws:iam::...', 'instanceTypes': ['optimal'], 'maxvCpus': 8, 'minvCpus': 0, 'securityGroupIds': ['******'], 'subnets': ['*******'], 'tags': {'Environment': '<name>', 'Name': '<name>'}, 'type': 'EC2'}, 'ecsClusterArn': 'arn:aws:ecs:.....', 'serviceRole': 'arn:aws:iam::...', 'state': 'ENABLED', 'status': 'VALID', 'statusReason': 'ComputeEnvironment Healthy', 'type': 'MANAGED'}}
+ - +

@@ -576,5 +592,3 @@ Authors ~~~~~~~ - Jon Meran (@jonmer85) - - diff --git a/docs/community.aws.aws_batch_job_definition_module.rst b/docs/community.aws.aws_batch_job_definition_module.rst index 241bab98d91..e41b3ad6bc6 100644 --- a/docs/community.aws.aws_batch_job_definition_module.rst +++ b/docs/community.aws.aws_batch_job_definition_module.rst @@ -17,7 +17,9 @@ Version added: 1.0.0 Synopsis -------- -- This module allows the management of AWS Batch Job Definitions. It is idempotent and supports "Check" mode. Use module :ref:`community.aws.aws_batch_compute_environment ` to manage the compute environment, :ref:`community.aws.aws_batch_job_queue ` to manage job queues, :ref:`community.aws.aws_batch_job_definition ` to manage job definitions. +- This module allows the management of AWS Batch Job Definitions. +- It is idempotent and supports "Check" mode. +- Use module :ref:`community.aws.aws_batch_compute_environment ` to manage the compute environment, :ref:`community.aws.aws_batch_job_queue ` to manage job queues, :ref:`community.aws.aws_batch_job_definition ` to manage job definitions. @@ -36,599 +38,618 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - -
Parameter Choices/DefaultsCommentsComments
+
attempts
integer -
-
- -
Retry strategy - The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If attempts is greater than one, the job is retried if it fails until it has moved to RUNNABLE that many times.
-
+ +
Retry strategy - The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If attempts is greater than one, the job is retried if it fails until it has moved to RUNNABLE that many times.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
command
list - / elements=string
-
- -
The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd.
-
+ +
The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
environment
list - / elements=dictionary
-
- -
The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run.
-
+ / elements=dictionary + + +
The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run.
+
name
- -
-
- -
The name of the key value pair. For environment variables, this is the name of the environment variable.
-
+ +
The name of the key value pair. For environment variables, this is the name of the environment variable.
+
+
value
- -
-
- -
The value of the key value pair. For environment variables, this is the value of the environment variable.
-
+ + + +
The value of the key value pair. For environment variables, this is the value of the environment variable.
+
image
string - / required
-
- -
The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image <colon>tag ``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run.
-
+ +
The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image <colon>tag ``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run.
+
+
job_definition_arn
string -
-
- -
The ARN for the job definition.
-
+ +
The ARN for the job definition.
+
+
job_definition_name
string - / required
-
- -
The name for the job definition.
-
+ +
The name for the job definition.
+
+
job_role_arn
string -
-
- -
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
-
+ +
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
+
+
memory
integer - / required
-
- -
The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run.
-
+ +
The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run.
+
+
mount_points
list - / elements=dictionary
-
- -
The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.
-
+ / elements=dictionary + + +
The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.
+
containerPath
- -
-
- -
The path on the container at which to mount the host volume.
-
+ +
The path on the container at which to mount the host volume.
+
+
readOnly
- -
-
- -
If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false.
-
+ +
If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false.
+
+
sourceVolume
- -
-
- -
The name of the volume to mount.
-
+ + + +
The name of the volume to mount.
+
parameters
dictionary -
-
- -
Default parameter substitution placeholders to set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition.
-
+ +
Default parameter substitution placeholders to set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition.
+
+
privileged
string -
-
- -
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run.
-
+ +
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
readonly_root_filesystem
string -
-
- -
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run.
-
+ +
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
type
string - / required
-
- -
The type of job definition.
-
+ +
The type of job definition.
+
+
ulimits
list - / elements=dictionary
-
- -
A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run.
-
+ / elements=dictionary + + +
A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run.
+
hardLimit
- -
-
- -
The hard limit for the ulimit type.
-
+ +
The hard limit for the ulimit type.
+
+
name
- -
-
- -
The type of the ulimit.
-
+ +
The type of the ulimit.
+
+
softLimit
- -
-
- -
The soft limit for the ulimit type.
-
+ + + +
The soft limit for the ulimit type.
+
user
string -
-
- -
The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
-
+ +
The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vcpus
integer - / required
-
- -
The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run. Each vCPU is equivalent to 1,024 CPU shares.
-
+ +
The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run. Each vCPU is equivalent to 1,024 CPU shares.
+
+
volumes
list - / elements=dictionary
-
- -
A list of data volumes used in a job.
-
+ / elements=dictionary + + +
A list of data volumes used in a job.
+
host
- -
-
- -
The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. This is a dictionary with one property, sourcePath - The path on the host container instance that is presented to the container. If this parameter is empty,then the Docker daemon has assigned a host path for you. If the host parameter contains a sourcePath file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
-
+ +
The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running. This is a dictionary with one property, sourcePath - The path on the host container instance that is presented to the container. If this parameter is empty,then the Docker daemon has assigned a host path for you. If the host parameter contains a sourcePath file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
+
+
name
- -
-
- -
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints.
-
+ + + + + +
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints.
+ + + +
@@ -636,7 +657,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -647,7 +668,6 @@ Examples .. code-block:: yaml+jinja - --- - hosts: localhost gather_facts: no @@ -674,8 +694,7 @@ Examples register: job_definition_create_result - name: show results - debug: var=job_definition_create_result - + ansible.builtin.debug: var=job_definition_create_result @@ -691,24 +710,24 @@ Common return values are documented `here Returned Description - - + +
output
dictionary -
- + + always -
returns what action was taken, whether something was changed, invocation and response
-
-
Sample:
-
{'aws_batch_job_definition_action': 'none', 'changed': False, 'response': {'job_definition_arn': 'arn:aws:batch:....', 'job_definition_name': '<name>', 'status': 'INACTIVE', 'type': 'container'}}
- +
returns what action was taken, whether something was changed, invocation and response
+
+
Sample:
+
{'aws_batch_job_definition_action': 'none', 'changed': False, 'response': {'job_definition_arn': 'arn:aws:batch:....', 'job_definition_name': '<name>', 'status': 'INACTIVE', 'type': 'container'}}
+ - +

@@ -720,5 +739,3 @@ Authors ~~~~~~~ - Jon Meran (@jonmer85) - - diff --git a/docs/community.aws.aws_batch_job_queue_module.rst b/docs/community.aws.aws_batch_job_queue_module.rst index 0173794f19e..108aec0d249 100644 --- a/docs/community.aws.aws_batch_job_queue_module.rst +++ b/docs/community.aws.aws_batch_job_queue_module.rst @@ -17,7 +17,9 @@ Version added: 1.0.0 Synopsis -------- -- This module allows the management of AWS Batch Job Queues. It is idempotent and supports "Check" mode. Use module :ref:`community.aws.aws_batch_compute_environment ` to manage the compute environment, :ref:`community.aws.aws_batch_job_queue ` to manage job queues, :ref:`community.aws.aws_batch_job_definition ` to manage job definitions. +- This module allows the management of AWS Batch Job Queues. +- It is idempotent and supports "Check" mode. +- Use module :ref:`community.aws.aws_batch_compute_environment ` to manage the compute environment, :ref:`community.aws.aws_batch_job_queue ` to manage job queues, :ref:`community.aws.aws_batch_job_definition ` to manage job definitions. @@ -36,277 +38,296 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
compute_environment_order
list - / elements=dictionary / required
-
- -
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to 3 compute environments with a job queue.
-
+ +
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to 3 compute environments with a job queue.
+
+
compute_environment
string -
-
- -
The name of the compute environment.
-
+ +
The name of the compute environment.
+
+
order
integer -
-
- -
The relative priority of the environment.
-
+ +
The relative priority of the environment.
+
+ +
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
job_queue_name
string - / required
-
- -
The name for the job queue
-
+ +
The name for the job queue
+
+
job_queue_state
string -
-
-
    Choices: -
  • ENABLED ←
  • -
  • DISABLED
  • -
-
-
The state of the job queue. If the job queue state is ENABLED , it is able to accept jobs.
-
+
    Choices: +
  • ENABLED ←
  • +
  • DISABLED
  • +
+
+
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
+
+
priority
integer - / required
-
- -
The priority of the job queue. Job queues with a higher priority (or a lower integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in ascending order, for example, a job queue with a priority value of 1 is given scheduling preference over a job queue with a priority value of 10.
-
+ +
The priority of the job queue. Job queues with a higher priority (or a lower integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in ascending order, for example, a job queue with a priority value of 1 is given scheduling preference over a job queue with a priority value of 10.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -314,7 +335,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -325,31 +346,23 @@ Examples .. code-block:: yaml+jinja - - --- - - hosts: localhost - gather_facts: no - vars: + - name: My Batch Job Queue + community.aws.aws_batch_job_queue: + job_queue_name: jobQueueName state: present - tasks: - - name: My Batch Job Queue - community.aws.aws_batch_job_queue: - job_queue_name: jobQueueName - state: present - region: us-east-1 - job_queue_state: ENABLED - priority: 1 - compute_environment_order: - - order: 1 - compute_environment: my_compute_env1 - - order: 2 - compute_environment: my_compute_env2 - register: batch_job_queue_action - - - name: show results - debug: - var: batch_job_queue_action + region: us-east-1 + job_queue_state: ENABLED + priority: 1 + compute_environment_order: + - order: 1 + compute_environment: my_compute_env1 + - order: 2 + compute_environment: my_compute_env2 + register: batch_job_queue_action + - name: show results + ansible.builtin.debug: + var: batch_job_queue_action @@ -365,24 +378,24 @@ Common return values are documented `here Returned Description - - + +
output
dictionary -
- + + always -
returns what action was taken, whether something was changed, invocation and response
-
-
Sample:
-
{'batch_job_queue_action': 'updated', 'changed': False, 'response': {'job_queue_arn': 'arn:aws:batch:....', 'job_queue_name': '<name>', 'priority': 1, 'state': 'DISABLED', 'status': 'UPDATING', 'status_reason': 'JobQueue Healthy'}}
- +
returns what action was taken, whether something was changed, invocation and response
+
+
Sample:
+
{'batch_job_queue_action': 'updated', 'changed': False, 'response': {'job_queue_arn': 'arn:aws:batch:....', 'job_queue_name': '<name>', 'priority': 1, 'state': 'DISABLED', 'status': 'UPDATING', 'status_reason': 'JobQueue Healthy'}}
+ - +

@@ -394,5 +407,3 @@ Authors ~~~~~~~ - Jon Meran (@jonmer85) - - diff --git a/docs/community.aws.aws_codebuild_module.rst b/docs/community.aws.aws_codebuild_module.rst index 6e1313d128b..fe5872f9bbe 100644 --- a/docs/community.aws.aws_codebuild_module.rst +++ b/docs/community.aws.aws_codebuild_module.rst @@ -37,680 +37,699 @@ Parameters .. raw:: html - + - + - - + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - - + + - - + / required + + + - - - + + - - + / required + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
artifacts
dictionary - / required
-
- -
Information about the build output artifacts for the build project.
-
+ +
Information about the build output artifacts for the build project.
+
+
location
- -
-
- -
Information about the build output artifact location. When choosing type S3, set the bucket name here.
-
+ +
Information about the build output artifact location. When choosing type S3, set the bucket name here.
+
+
name
- -
-
- -
Along with path and namespace_type, the pattern that AWS CodeBuild will use to name and store the output artifact.
-
+ +
Along with path and namespace_type, the pattern that AWS CodeBuild will use to name and store the output artifact.
+
+
namespace_type
- -
-
- -
Along with path and name, the pattern that AWS CodeBuild will use to determine the name and location to store the output artifacts.
-
Accepts BUILD_ID and NONE.
- -
+ +
Along with path and name, the pattern that AWS CodeBuild will use to determine the name and location to store the output artifacts.
+
Accepts BUILD_ID and NONE.
+ +
+
packaging
- -
-
- -
The type of build output artifact to create on S3, can be NONE for creating a folder or ZIP for a ZIP file.
-
+ +
The type of build output artifact to create on S3, can be NONE for creating a folder or ZIP for a ZIP file.
+
+
path
- -
-
- -
Along with namespace_type and name, the pattern that AWS CodeBuild will use to name and store the output artifacts.
-
Used for path in S3 bucket when type is S3.
-
+ +
Along with namespace_type and name, the pattern that AWS CodeBuild will use to name and store the output artifacts.
+
Used for path in S3 bucket when type is S3.
+
+
type
- - / required
-
- -
The type of build output for artifacts. Can be one of the following: CODEPIPELINE, NO_ARTIFACTS, S3.
-
+ +
The type of build output for artifacts. Can be one of the following: CODEPIPELINE, NO_ARTIFACTS, S3.
+
+ +
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cache
dictionary -
-
- -
Caching params to speed up following builds.
-
+ +
Caching params to speed up following builds.
+
+
location
- - / required
-
- -
Caching location on S3.
-
+ +
Caching location on S3.
+
+
type
- - / required
-
- -
Cache type. Can be NO_CACHE or S3.
-
+ +
Cache type. Can be NO_CACHE or S3.
+
+ +
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
Descriptive text of the CodeBuild project.
-
+ +
Descriptive text of the CodeBuild project.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
encryption_key
string -
-
- -
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.
-
+ +
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.
+
+
environment
dictionary -
-
- -
Information about the build environment for the build project.
-
+ +
Information about the build environment for the build project.
+
+
compute_type
- - / required
-
- -
Information about the compute resources the build project will use.
-
Available values include: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE.
-
+ +
Information about the compute resources the build project will use.
+
Available values include: BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE.
+
+
environment_variables
- -
-
- -
A set of environment variables to make available to builds for the build project. List of dictionaries with name and value fields.
-
Example: { name: 'MY_ENV_VARIABLE', value: 'test' }
-
+ +
A set of environment variables to make available to builds for the build project. List of dictionaries with name and value fields.
+
Example: { name: 'MY_ENV_VARIABLE', value: 'test' }
+
+
image
- - / required
-
- -
The ID of the Docker image to use for this build project.
-
+ +
The ID of the Docker image to use for this build project.
+
+
privileged_mode
- -
-
- -
Enables running the Docker daemon inside a Docker container. Set to true only if the build project is be used to build Docker images.
-
+ +
Enables running the Docker daemon inside a Docker container. Set to true only if the build project is be used to build Docker images.
+
+
type
- - / required
-
- -
The type of build environment to use for the project. Usually LINUX_CONTAINER.
-
+ +
The type of build environment to use for the project. Usually LINUX_CONTAINER.
+
+ +
name
string - / required
-
- -
Name of the CodeBuild project.
-
+ +
Name of the CodeBuild project.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
service_role
string -
-
- -
The ARN of the AWS IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
-
+ +
The ARN of the AWS IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
+
+
source
dictionary - / required
-
- -
Configure service and location for the build input source.
-
+ +
Configure service and location for the build input source.
+
+
buildspec
string -
-
- -
The build spec declaration to use for the builds in this build project. Leave empty if part of the code project.
-
+ +
The build spec declaration to use for the builds in this build project. Leave empty if part of the code project.
+
+
git_clone_depth
integer -
-
- -
When using git you can specify the clone depth as an integer here.
-
+ +
When using git you can specify the clone depth as an integer here.
+
+
insecure_ssl
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Enable this flag to ignore SSL warnings while connecting to the project source code.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Enable this flag to ignore SSL warnings while connecting to the project source code.
+
+
location
string -
-
- -
Information about the location of the source code to be built. For type CODEPIPELINE location should not be specified.
-
+ +
Information about the location of the source code to be built. For type CODEPIPELINE location should not be specified.
+
+
type
string - / required
-
- -
The type of the source. Allows one of these: CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE.
-
+ +
The type of the source. Allows one of these: CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE.
+
+ +
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or remove code build project.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or remove code build project.
+
+
tags
list - / elements=dictionary
-
- -
A set of tags for the build project.
-
+ +
A set of tags for the build project.
+
+
key
string -
-
- -
The name of the Tag.
-
+ +
The name of the Tag.
+
+
value
string -
-
- -
The value of the Tag.
-
+ +
The value of the Tag.
+
+ +
timeout_in_minutes
integer -
-
- Default:
60
-
-
How long CodeBuild should wait until timing out any build that has not been marked as completed.
-
+ Default:
60
+
+
How long CodeBuild should wait until timing out any build that has not been marked as completed.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_config
dictionary -
-
- -
The VPC config enables AWS CodeBuild to access resources in an Amazon VPC.
-
+ +
The VPC config enables AWS CodeBuild to access resources in an Amazon VPC.
+
+
@@ -719,7 +738,7 @@ Notes .. note:: - For details of the parameters and returns see http://boto3.readthedocs.io/en/latest/reference/services/codebuild.html. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -730,7 +749,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - community.aws.aws_codebuild: @@ -759,7 +777,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -772,353 +789,353 @@ Common return values are documented `here Returned Description - - + +
project
complex -
- + + success -
Returns the dictionary describing the code project configuration.
-
- +
Returns the dictionary describing the code project configuration.
+
+ - -   - + +   +
arn
string -
- + + always -
ARN of the CodeBuild project
-
-
Sample:
-
arn:aws:codebuild:us-east-1:123123123:project/vod-api-app-builder
- +
ARN of the CodeBuild project
+
+
Sample:
+
arn:aws:codebuild:us-east-1:123123123:project/vod-api-app-builder
+ - -   - + +   +
artifacts
complex -
- + + always -
Information about the output of build artifacts
-
- +
Information about the output of build artifacts
+
+ - -   -   - + +   +   +
location
string -
- + + when configured -
Output location for build artifacts
-
- +
Output location for build artifacts
+
+ - -   -   - + +   +   +
type
string -
- + + always -
The type of build artifact.
-
-
Sample:
-
CODEPIPELINE
- +
The type of build artifact.
+
+
Sample:
+
CODEPIPELINE
+ - - -   - + + +   +
cache
dictionary -
- + + when configured -
Cache settings for the build project.
-
- +
Cache settings for the build project.
+
+ - -   - + +   +
created
string -
- + + always -
Timestamp of the create time of the project
-
-
Sample:
-
2018-04-17T16:56:03.245000+02:00
- +
Timestamp of the create time of the project
+
+
Sample:
+
2018-04-17T16:56:03.245000+02:00
+ - -   - + +   +
description
string -
- + + always -
A description of the build project
-
-
Sample:
-
My nice little project
- +
A description of the build project
+
+
Sample:
+
My nice little project
+ - -   - + +   +
environment
dictionary -
- + + always -
Environment settings for the build
-
- +
Environment settings for the build
+
+ - -   - + +   +
name
string -
- + + always -
Name of the CodeBuild project
-
-
Sample:
-
my_project
- +
Name of the CodeBuild project
+
+
Sample:
+
my_project
+ - -   - + +   +
service_role
string -
- + + always -
IAM role to be used during build to access other AWS services.
-
-
Sample:
-
arn:aws:iam::123123123:role/codebuild-service-role
- +
IAM role to be used during build to access other AWS services.
+
+
Sample:
+
arn:aws:iam::123123123:role/codebuild-service-role
+ - -   - + +   +
source
complex -
- + + always -
Information about the build input source code.
-
- +
Information about the build input source code.
+
+ - -   -   - + +   +   +
auth
complex -
- + + when configured -
Information about the authorization settings for AWS CodeBuild to access the source code to be built.
-
- +
Information about the authorization settings for AWS CodeBuild to access the source code to be built.
+
+ - -   -   - + +   +   +
build_spec
string -
- + + always -
The build spec declaration to use for the builds in this build project.
-
- +
The build spec declaration to use for the builds in this build project.
+
+ - -   -   - + +   +   +
git_clone_depth
integer -
- + + when configured -
The git clone depth
-
- +
The git clone depth
+
+ - -   -   - + +   +   +
insecure_ssl
boolean -
- + + when configured -
True if set to ignore SSL warnings.
-
- +
True if set to ignore SSL warnings.
+
+ - -   -   - + +   +   +
location
string -
- + + when configured -
Location identifier, depending on the source type.
-
- +
Location identifier, depending on the source type.
+
+ - -   -   - + +   +   +
type
string -
- + + always -
The type of the repository
-
-
Sample:
-
CODEPIPELINE
- +
The type of the repository
+
+
Sample:
+
CODEPIPELINE
+ - - -   - + + +   +
tags
list -
- + + when configured -
Tags added to the project
-
- +
Tags added to the project
+
+ - -   - + +   +
timeout_in_minutes
integer -
- + + always -
The timeout of a build in minutes
-
-
Sample:
-
60
- +
The timeout of a build in minutes
+
+
Sample:
+
60
+ - - + +

@@ -1130,5 +1147,3 @@ Authors ~~~~~~~ - Stefan Horning (@stefanhorning) - - diff --git a/docs/community.aws.aws_codecommit_module.rst b/docs/community.aws.aws_codecommit_module.rst index c58d960ff2a..ac3d996b448 100644 --- a/docs/community.aws.aws_codecommit_module.rst +++ b/docs/community.aws.aws_codecommit_module.rst @@ -38,211 +38,230 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
description or comment of repository.
-

aliases: comment
-
+ +
description or comment of repository.
+

aliases: comment
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
name of repository.
-
+ +
name of repository.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Specifies the state of repository.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Specifies the state of repository.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -250,7 +269,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -261,7 +280,6 @@ Examples .. code-block:: yaml+jinja - # Create a new repository - community.aws.aws_codecommit: name: repo @@ -274,7 +292,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -287,271 +304,271 @@ Common return values are documented `here Returned Description - - + +
repository_metadata
complex -
- + + always -
Information about the repository.
-
- +
Information about the repository.
+
+ - -   - + +   +
account_id
string -
- + + when state is present -
The ID of the AWS account associated with the repository.
-
-
Sample:
-
268342293637
- +
The ID of the AWS account associated with the repository.
+
+
Sample:
+
268342293637
+ - -   - + +   +
arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the repository.
-
-
Sample:
-
arn:aws:codecommit:ap-northeast-1:268342293637:username
- +
The Amazon Resource Name (ARN) of the repository.
+
+
Sample:
+
arn:aws:codecommit:ap-northeast-1:268342293637:username
+ - -   - + +   +
clone_url_http
string -
- + + when state is present -
The URL to use for cloning the repository over HTTPS.
-
-
Sample:
-
https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/reponame
- +
The URL to use for cloning the repository over HTTPS.
+
+
Sample:
+
https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/reponame
+ - -   - + +   +
clone_url_ssh
string -
- + + when state is present -
The URL to use for cloning the repository over SSH.
-
-
Sample:
-
ssh://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/reponame
- +
The URL to use for cloning the repository over SSH.
+
+
Sample:
+
ssh://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/reponame
+ - -   - + +   +
creation_date
string -
- + + when state is present -
The date and time the repository was created, in timestamp format.
-
-
Sample:
-
2018-10-16T13:21:41.261000+09:00
- +
The date and time the repository was created, in timestamp format.
+
+
Sample:
+
2018-10-16T13:21:41.261000+09:00
+ - -   - + +   +
last_modified_date
string -
- + + when state is present -
The date and time the repository was last modified, in timestamp format.
-
-
Sample:
-
2018-10-16T13:21:41.261000+09:00
- +
The date and time the repository was last modified, in timestamp format.
+
+
Sample:
+
2018-10-16T13:21:41.261000+09:00
+ - -   - + +   +
repository_description
string -
- + + when state is present -
A comment or description about the repository.
-
-
Sample:
-
test from ptux
- +
A comment or description about the repository.
+
+
Sample:
+
test from ptux
+ - -   - + +   +
repository_id
string -
- + + always -
The ID of the repository that was created or deleted
-
-
Sample:
-
e62a5c54-i879-497b-b62f-9f99e4ebfk8e
- +
The ID of the repository that was created or deleted
+
+
Sample:
+
e62a5c54-i879-497b-b62f-9f99e4ebfk8e
+ - -   - + +   +
repository_name
string -
- + + when state is present -
The repository's name.
-
-
Sample:
-
reponame
- +
The repository's name.
+
+
Sample:
+
reponame
+ - - - + + +
response_metadata
complex -
- + + always -
Information about the response.
-
- +
Information about the response.
+
+ - -   - + +   +
http_headers
dictionary -
- + + always -
http headers of http response
-
- +
http headers of http response
+
+ - -   - + +   +
http_status_code
string -
- + + always -
http status code of http response
-
-
Sample:
-
200
- +
http status code of http response
+
+
Sample:
+
200
+ - -   - + +   +
request_id
string -
- + + always -
http request id
-
-
Sample:
-
fb49cfca-d0fa-11e8-85cb-b3cc4b5045ef
- +
http request id
+
+
Sample:
+
fb49cfca-d0fa-11e8-85cb-b3cc4b5045ef
+ - -   - + +   +
retry_attempts
string -
- + + always -
numbers of retry attempts
-
-
Sample:
-
0
- +
numbers of retry attempts
+
+
Sample:
+
0
+ - - + +

@@ -563,5 +580,3 @@ Authors ~~~~~~~ - Shuang Wang (@ptux) - - diff --git a/docs/community.aws.aws_codepipeline_module.rst b/docs/community.aws.aws_codepipeline_module.rst index d43d409a3d2..d9a93479a0e 100644 --- a/docs/community.aws.aws_codepipeline_module.rst +++ b/docs/community.aws.aws_codepipeline_module.rst @@ -37,323 +37,342 @@ Parameters .. raw:: html - + - + - - + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / elements=dictionary / required + + + - - - + + - - + / elements=dictionary + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
artifact_store
dictionary - / required
-
- -
Location information where artifacts are stored (on S3). Dictionary with fields type and location.
-
+ +
Location information where artifacts are stored (on S3). Dictionary with fields type and location.
+
+
location
string -
-
- -
Bucket name for artifacts.
-
+ +
Bucket name for artifacts.
+
+
type
string -
-
- -
Type of the artifacts storage (only 'S3' is currently supported).
-
+ +
Type of the artifacts storage (only 'S3' is currently supported).
+
+ +
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Name of the pipeline
-
+ +
Name of the pipeline
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string - / required
-
- -
ARN of the IAM role to use when executing the pipeline
-
+ +
ARN of the IAM role to use when executing the pipeline
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
stages
list - / elements=dictionary / required
-
- -
List of stages to perform in the CodePipeline. List of dictionaries containing name and actions for each stage.
-
+ +
List of stages to perform in the CodePipeline. List of dictionaries containing name and actions for each stage.
+
+
actions
list - / elements=dictionary
-
- -
List of action configurations for that stage.
-
See the boto3 documentation for full documentation of suboptions:
- -
+ +
List of action configurations for that stage.
+
See the boto3 documentation for full documentation of suboptions:
+ +
+
name
string -
-
- -
Name of the stage (step) in the codepipeline
-
+ +
Name of the stage (step) in the codepipeline
+
+ +
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or remove code pipeline
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or remove code pipeline
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
version
integer -
-
- -
Version number of the pipeline. This number is automatically incremented when a pipeline is updated.
-
+ +
Version number of the pipeline. This number is automatically incremented when a pipeline is updated.
+
+
@@ -362,7 +381,7 @@ Notes .. note:: - for details of the parameters and returns see http://boto3.readthedocs.io/en/latest/reference/services/codepipeline.html - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -373,7 +392,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Example for creating a pipeline for continuous deploy of Github code to an ECS cluster (container) @@ -443,7 +461,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -456,163 +473,163 @@ Common return values are documented `here Returned Description - - + +
pipeline
complex -
- + + success -
Returns the dictionary describing the code pipeline configuration.
-
- +
Returns the dictionary describing the code pipeline configuration.
+
+ - -   - + +   +
artifact_store
complex -
- + + always -
Information about where the build artifacts are stored
-
- +
Information about where the build artifacts are stored
+
+ - -   -   - + +   +   +
encryption_key
string -
- + + when configured -
The encryption key used to encrypt the artifacts store, such as an AWS KMS key.
-
- +
The encryption key used to encrypt the artifacts store, such as an AWS KMS key.
+
+ - -   -   - + +   +   +
location
string -
- + + always -
The location of the artifacts storage (s3 bucket name)
-
-
Sample:
-
my_s3_codepipline_bucket
- +
The location of the artifacts storage (s3 bucket name)
+
+
Sample:
+
my_s3_codepipline_bucket
+ - -   -   - + +   +   +
type
string -
- + + always -
The type of the artifacts store, such as S3
-
-
Sample:
-
S3
- +
The type of the artifacts store, such as S3
+
+
Sample:
+
S3
+ - - -   - + + +   +
name
string -
- + + always -
Name of the CodePipeline
-
-
Sample:
-
my_deploy_pipeline
- +
Name of the CodePipeline
+
+
Sample:
+
my_deploy_pipeline
+ - -   - + +   +
role_arn
string -
- + + always -
ARN of the IAM role attached to the code pipeline
-
-
Sample:
-
arn:aws:iam::123123123:role/codepipeline-service-role
- +
ARN of the IAM role attached to the code pipeline
+
+
Sample:
+
arn:aws:iam::123123123:role/codepipeline-service-role
+ - -   - + +   +
stages
list -
- + + always -
List of stages configured for this pipeline
-
- +
List of stages configured for this pipeline
+
+ - -   - + +   +
version
integer -
- + + always -
The version number of the pipeline. This number is auto incremented when pipeline params are changed.
-
- +
The version number of the pipeline. This number is auto incremented when pipeline params are changed.
+
+ - - + +

@@ -624,5 +641,3 @@ Authors ~~~~~~~ - Stefan Horning (@stefanhorning) - - diff --git a/docs/community.aws.aws_config_aggregation_authorization_module.rst b/docs/community.aws.aws_config_aggregation_authorization_module.rst index 2e128d5c014..4e91d76e0ec 100644 --- a/docs/community.aws.aws_config_aggregation_authorization_module.rst +++ b/docs/community.aws.aws_config_aggregation_authorization_module.rst @@ -37,210 +37,229 @@ Parameters .. raw:: html - + - + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
authorized_account_id
string - / required
-
- -
The 12-digit account ID of the account authorized to aggregate data.
-
+ +
The 12-digit account ID of the account authorized to aggregate data.
+
+
authorized_aws_region
string - / required
-
- -
The region authorized to collect aggregated data.
-
+ +
The region authorized to collect aggregated data.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the Config rule should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the Config rule should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -248,7 +267,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -259,7 +278,6 @@ Examples .. code-block:: yaml+jinja - - name: Get current account ID community.aws.aws_caller_info: register: whoami @@ -271,7 +289,6 @@ Examples - Status ------ @@ -280,5 +297,3 @@ Authors ~~~~~~~ - Aaron Smith (@slapula) - - diff --git a/docs/community.aws.aws_config_aggregator_module.rst b/docs/community.aws.aws_config_aggregator_module.rst index 8aaca905c39..5f2bd66cc21 100644 --- a/docs/community.aws.aws_config_aggregator_module.rst +++ b/docs/community.aws.aws_config_aggregator_module.rst @@ -37,331 +37,350 @@ Parameters .. raw:: html - + - + - - + - - + / elements=dictionary / required + + + - - - + + - - + / elements=string + + + - - - + + - - + + + + - - - + + - - + / elements=string + + + - - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - - + + - - + + + + - - - + + - - + / elements=string + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
account_sources
list - / elements=dictionary / required
-
- -
Provides a list of source accounts and regions to be aggregated.
-
+ +
Provides a list of source accounts and regions to be aggregated.
+
+
account_ids
list - / elements=string
-
- -
A list of 12-digit account IDs of accounts being aggregated.
-
+ +
A list of 12-digit account IDs of accounts being aggregated.
+
+
all_aws_regions
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
If true, aggregate existing AWS Config regions and future regions.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
If true, aggregate existing AWS Config regions and future regions.
+
+
aws_regions
list - / elements=string
-
- -
A list of source regions being aggregated.
-
+ +
A list of source regions being aggregated.
+
+ +
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name of the AWS Config resource.
-
+ +
The name of the AWS Config resource.
+
+
organization_source
dictionary - / required
-
- -
The region authorized to collect aggregated data.
-
+ +
The region authorized to collect aggregated data.
+
+
all_aws_regions
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
If true, aggregate existing AWS Config regions and future regions.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
If true, aggregate existing AWS Config regions and future regions.
+
+
aws_regions
list - / elements=string
-
- -
The source regions being aggregated.
-
+ +
The source regions being aggregated.
+
+
role_arn
string -
-
- -
ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account.
-
+ +
ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account.
+
+ +
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the Config rule should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the Config rule should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -369,7 +388,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -380,7 +399,6 @@ Examples .. code-block:: yaml+jinja - - name: Create cross-account aggregator community.aws.aws_config_aggregator: name: test_config_rule @@ -395,7 +413,6 @@ Examples - Status ------ @@ -404,5 +421,3 @@ Authors ~~~~~~~ - Aaron Smith (@slapula) - - diff --git a/docs/community.aws.aws_config_delivery_channel_module.rst b/docs/community.aws.aws_config_delivery_channel_module.rst index ca5149c3b28..8adc38fe662 100644 --- a/docs/community.aws.aws_config_delivery_channel_module.rst +++ b/docs/community.aws.aws_config_delivery_channel_module.rst @@ -37,262 +37,281 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delivery_frequency
string -
-
-
    Choices: -
  • One_Hour
  • -
  • Three_Hours
  • -
  • Six_Hours
  • -
  • Twelve_Hours
  • -
  • TwentyFour_Hours
  • -
-
-
The frequency with which AWS Config delivers configuration snapshots.
-
+
    Choices: +
  • One_Hour
  • +
  • Three_Hours
  • +
  • Six_Hours
  • +
  • Twelve_Hours
  • +
  • TwentyFour_Hours
  • +
+
+
The frequency with which AWS Config delivers configuration snapshots.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name of the AWS Config resource.
-
+ +
The name of the AWS Config resource.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
s3_bucket
string - / required
-
- -
The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.
-
+ +
The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.
+
+
s3_prefix
string -
-
- -
The prefix for the specified Amazon S3 bucket.
-
+ +
The prefix for the specified Amazon S3 bucket.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
sns_topic_arn
string -
-
- -
The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.
-
+ +
The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the Config rule should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the Config rule should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -300,7 +319,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -311,7 +330,6 @@ Examples .. code-block:: yaml+jinja - - name: Create Delivery Channel for AWS Config community.aws.aws_config_delivery_channel: name: test_delivery_channel @@ -323,7 +341,6 @@ Examples - Status ------ @@ -332,5 +349,3 @@ Authors ~~~~~~~ - Aaron Smith (@slapula) - - diff --git a/docs/community.aws.aws_config_recorder_module.rst b/docs/community.aws.aws_config_recorder_module.rst index 24570ab033f..00e5dd1864c 100644 --- a/docs/community.aws.aws_config_recorder_module.rst +++ b/docs/community.aws.aws_config_recorder_module.rst @@ -37,282 +37,301 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name of the AWS Config resource.
-
+ +
The name of the AWS Config resource.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
recording_group
dictionary -
-
- -
Specifies the types of AWS resources for which AWS Config records configuration changes.
-
Required when state=present
-
+ +
Specifies the types of AWS resources for which AWS Config records configuration changes.
+
Required when state=present
+
+
all_supported
- -
-
- -
Specifies whether AWS Config records configuration changes for every supported type of regional resource.
-
If all_supported=true, when AWS Config adds support for a new type of regional resource, it starts recording resources of that type automatically.
-
If all_supported=true, you cannot enumerate a list of resource_types.
-
+ +
Specifies whether AWS Config records configuration changes for every supported type of regional resource.
+
If all_supported=true, when AWS Config adds support for a new type of regional resource, it starts recording resources of that type automatically.
+
If all_supported=true, you cannot enumerate a list of resource_types.
+
+
include_global_types
- -
-
- -
Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.
-
The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.
-
If you set include_global_types=true, you must also set all_supported=true.
-
If you set include_global_types=true, when AWS Config adds support for a new type of global resource, it starts recording resources of that type automatically.
-
+ +
Specifies whether AWS Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.
+
The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources.
+
If you set include_global_types=true, you must also set all_supported=true.
+
If you set include_global_types=true, when AWS Config adds support for a new type of global resource, it starts recording resources of that type automatically.
+
+
resource_types
- -
-
- -
A list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail).
-
Before you can set this option, you must set all_supported=false.
-
+ +
A list that specifies the types of AWS resources for which AWS Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail).
+
Before you can set this option, you must set all_supported=false.
+
+ +
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string -
-
- -
Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
-
Required when state=present.
-
+ +
Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
+
Required when state=present.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the Config rule should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the Config rule should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -320,7 +339,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -331,7 +350,6 @@ Examples .. code-block:: yaml+jinja - - name: Create Configuration Recorder for AWS Config community.aws.aws_config_recorder: name: test_configuration_recorder @@ -344,7 +362,6 @@ Examples - Status ------ @@ -353,5 +370,3 @@ Authors ~~~~~~~ - Aaron Smith (@slapula) - - diff --git a/docs/community.aws.aws_config_rule_module.rst b/docs/community.aws.aws_config_rule_module.rst index 56e5dcdd542..5ca9cbd3490 100644 --- a/docs/community.aws.aws_config_rule_module.rst +++ b/docs/community.aws.aws_config_rule_module.rst @@ -37,395 +37,414 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
The description that you provide for the AWS Config rule.
-
+ +
The description that you provide for the AWS Config rule.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
execution_frequency
string -
-
-
    Choices: -
  • One_Hour
  • -
  • Three_Hours
  • -
  • Six_Hours
  • -
  • Twelve_Hours
  • -
  • TwentyFour_Hours
  • -
-
-
The maximum frequency with which AWS Config runs evaluations for a rule.
-
+
    Choices: +
  • One_Hour
  • +
  • Three_Hours
  • +
  • Six_Hours
  • +
  • Twelve_Hours
  • +
  • TwentyFour_Hours
  • +
+
+
The maximum frequency with which AWS Config runs evaluations for a rule.
+
+
input_parameters
string -
-
- -
A string, in JSON format, that is passed to the AWS Config rule Lambda function.
-
+ +
A string, in JSON format, that is passed to the AWS Config rule Lambda function.
+
+
name
string - / required
-
- -
The name of the AWS Config resource.
-
+ +
The name of the AWS Config resource.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
scope
dictionary -
-
- -
Defines which resources can trigger an evaluation for the rule.
-
+ +
Defines which resources can trigger an evaluation for the rule.
+
+
compliance_id
- -
-
- -
The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for compliance_types.
-
+ +
The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for compliance_types.
+
+
compliance_types
- -
-
- -
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for compliance_id.
-
+ +
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for compliance_id.
+
+
tag_key
- -
-
- -
The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
-
+ +
The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
+
+
tag_value
- -
-
- -
The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for tag_value, you must also specify a value for tag_key.
-
+ +
The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for tag_value, you must also specify a value for tag_key.
+
+ +
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
source
dictionary - / required
-
- -
Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
-
+ +
Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
+
+
details
- -
-
- -
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
-
This parameter expects a list of dictionaries. Each dictionary expects the following key/value pairs.
-
Key `EventSource` The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
-
Key `MessageType` The type of notification that triggers AWS Config to run an evaluation for a rule.
-
Key `MaximumExecutionFrequency` The frequency at which you want AWS Config to run evaluations for a custom rule with a periodic trigger.
-
+ +
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
+
This parameter expects a list of dictionaries. Each dictionary expects the following key/value pairs.
+
Key `EventSource` The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.
+
Key `MessageType` The type of notification that triggers AWS Config to run an evaluation for a rule.
+
Key `MaximumExecutionFrequency` The frequency at which you want AWS Config to run evaluations for a custom rule with a periodic trigger.
+
+
identifier
- -
-
- -
The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for compliance_types.
-
+ +
The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for compliance_types.
+
+
owner
- -
-
- -
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for compliance_id.
-
+ +
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for compliance_id.
+
+ +
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the Config rule should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the Config rule should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -433,7 +452,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -444,7 +463,6 @@ Examples .. code-block:: yaml+jinja - - name: Create Config Rule for AWS Config community.aws.aws_config_rule: name: test_config_rule @@ -460,8 +478,6 @@ Examples - - Status ------ @@ -470,5 +486,3 @@ Authors ~~~~~~~ - Aaron Smith (@slapula) - - diff --git a/docs/community.aws.aws_direct_connect_confirm_connection_module.rst b/docs/community.aws.aws_direct_connect_confirm_connection_module.rst new file mode 100644 index 00000000000..a2d4ec8e631 --- /dev/null +++ b/docs/community.aws.aws_direct_connect_confirm_connection_module.rst @@ -0,0 +1,317 @@ +.. _community.aws.aws_direct_connect_confirm_connection_module: + + +*************************************************** +community.aws.aws_direct_connect_confirm_connection +*************************************************** + +**Confirms the creation of a hosted DirectConnect connection.** + + + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- +- Confirms the creation of a hosted DirectConnect, which requires approval before it can be used. +- DirectConnect connections that require approval would be in the 'ordering'. +- After confirmation, they will move to the 'pending' state and finally the 'available' state. + + + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- boto +- boto3 +- botocore +- python >= 2.6 + + +Parameters +---------- + +.. raw:: html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterChoices/DefaultsComments
+
+ aws_access_key + +
+ string +
+
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
+ aws_config + +
+ dictionary +
+
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
+ aws_secret_key + +
+ string +
+
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
+ connection_id + +
+ string +
+
+ +
The ID of the Direct Connect connection.
+
One of connection_id or name must be specified.
+
+
+ debug_botocore_endpoint_logs + +
+ boolean +
+
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
+ ec2_url + +
+ string +
+
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
+ name + +
+ string +
+
+ +
The name of the Direct Connect connection.
+
One of connection_id or name must be specified.
+
+
+ profile + +
+ string +
+
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
+ region + +
+ string +
+
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
+ security_token + +
+ string +
+
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
+ validate_certs + +
+ boolean +
+
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
+ + +Notes +----- + +.. note:: + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` + - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html + - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file + + + +Examples +-------- + +.. code-block:: yaml+jinja + + # confirm a Direct Connect by name + - name: confirm the connection id + aws_direct_connect_confirm_connection: + name: my_host_direct_connect + + # confirm a Direct Connect by connection_id + - name: confirm the connection id + aws_direct_connect_confirm_connection: + connection_id: dxcon-xxxxxxxx + + + +Return Values +------------- +Common return values are documented `here `_, the following are the fields unique to this module: + +.. raw:: html + + + + + + + + + + + + +
KeyReturnedDescription
+
+ connection_state + +
+ string +
+
always +
The state of the connection.
+
+
Sample:
+
pending
+
+

+ + +Status +------ + + +Authors +~~~~~~~ + +- Matt Traynham (@mtraynham) diff --git a/docs/community.aws.aws_direct_connect_connection_module.rst b/docs/community.aws.aws_direct_connect_connection_module.rst index fcec8fd5e11..87858e73181 100644 --- a/docs/community.aws.aws_direct_connect_connection_module.rst +++ b/docs/community.aws.aws_direct_connect_connection_module.rst @@ -37,284 +37,303 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bandwidth
string -
-
-
    Choices: -
  • 1Gbps
  • -
  • 10Gbps
  • -
-
-
The bandwidth of the Direct Connect connection.
-
Required when state=present.
-
+
    Choices: +
  • 1Gbps
  • +
  • 10Gbps
  • +
+
+
The bandwidth of the Direct Connect connection.
+
Required when state=present.
+
+
connection_id
string -
-
- -
The ID of the Direct Connect connection.
-
Modifying attributes of a connection with forced_update will result in a new Direct Connect connection ID.
-
One of connection_id or name must be specified.
-
+ +
The ID of the Direct Connect connection.
+
Modifying attributes of a connection with forced_update will result in a new Direct Connect connection ID.
+
One of connection_id or name must be specified.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
forced_update
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
To modify bandwidth or location the connection will need to be deleted and recreated. By default this will not happen - this option must be set to True.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
To modify bandwidth or location the connection will need to be deleted and recreated. By default this will not happen - this option must be set to True.
+
+
link_aggregation_group
string -
-
- -
The ID of the link aggregation group you want to associate with the connection.
-
This is optional when a stand-alone connection is desired.
-
+ +
The ID of the link aggregation group you want to associate with the connection.
+
This is optional when a stand-alone connection is desired.
+
+
location
string -
-
- -
Where the Direct Connect connection is located.
-
Required when state=present.
-
+ +
Where the Direct Connect connection is located.
+
Required when state=present.
+
+
name
string -
-
- -
The name of the Direct Connect connection. This is required to create a new connection.
-
One of connection_id or name must be specified.
-
+ +
The name of the Direct Connect connection. This is required to create a new connection.
+
One of connection_id or name must be specified.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
The state of the Direct Connect connection.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
The state of the Direct Connect connection.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -322,7 +341,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -333,8 +352,6 @@ Examples .. code-block:: yaml+jinja - - # create a Direct Connect connection - community.aws.aws_direct_connect_connection: name: ansible-test-connection @@ -366,7 +383,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -379,185 +395,185 @@ Common return values are documented `here Returned Description - - + +
connection
complex -
- + + state=present -
The attributes of the direct connect connection.
-
- +
The attributes of the direct connect connection.
+
+ - -   - + +   +
aws_device
string -
- + + when the requested state is no longer 'requested' -
The endpoint which the physical connection terminates on.
-
-
Sample:
-
EqDC2-12pmo7hemtz1z
- +
The endpoint which the physical connection terminates on.
+
+
Sample:
+
EqDC2-12pmo7hemtz1z
+ - -   - + +   +
bandwidth
string -
- + + always -
The bandwidth of the connection.
-
-
Sample:
-
1Gbps
- +
The bandwidth of the connection.
+
+
Sample:
+
1Gbps
+ - -   - + +   +
connection_id
string -
- + + always -
The ID of the connection.
-
-
Sample:
-
dxcon-ffy9ywed
- +
The ID of the connection.
+
+
Sample:
+
dxcon-ffy9ywed
+ - -   - + +   +
connection_name
string -
- + + always -
The name of the connection.
-
-
Sample:
-
ansible-test-connection
- +
The name of the connection.
+
+
Sample:
+
ansible-test-connection
+ - -   - + +   +
connection_state
string -
- + + always -
The state of the connection.
-
-
Sample:
-
pending
- +
The state of the connection.
+
+
Sample:
+
pending
+ - -   - + +   +
loa_issue_time
string -
- + + when the LOA-CFA has been issued (the connection state will no longer be 'requested') -
The issue time of the connection's Letter of Authorization - Connecting Facility Assignment.
-
-
Sample:
-
2018-03-20T17:36:26-04:00
- +
The issue time of the connection's Letter of Authorization - Connecting Facility Assignment.
+
+
Sample:
+
2018-03-20T17:36:26-04:00
+ - -   - + +   +
location
string -
- + + always -
The location of the connection.
-
-
Sample:
-
EqDC2
- +
The location of the connection.
+
+
Sample:
+
EqDC2
+ - -   - + +   +
owner_account
string -
- + + always -
The account that owns the direct connect connection.
-
-
Sample:
-
123456789012
- +
The account that owns the direct connect connection.
+
+
Sample:
+
123456789012
+ - -   - + +   +
region
string -
- + + always -
The region in which the connection exists.
-
-
Sample:
-
us-east-1
- +
The region in which the connection exists.
+
+
Sample:
+
us-east-1
+ - - + +

@@ -569,5 +585,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.aws_direct_connect_gateway_module.rst b/docs/community.aws.aws_direct_connect_gateway_module.rst index 2281c1fb090..838fa801f73 100644 --- a/docs/community.aws.aws_direct_connect_gateway_module.rst +++ b/docs/community.aws.aws_direct_connect_gateway_module.rst @@ -39,259 +39,278 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
amazon_asn
string -
-
- -
The Amazon side ASN.
-
Required when state=present.
-
+ +
The Amazon side ASN.
+
Required when state=present.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
direct_connect_gateway_id
string -
-
- -
The ID of an existing Direct Connect Gateway.
-
Required when state=absent.
-
+ +
The ID of an existing Direct Connect Gateway.
+
Required when state=absent.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string -
-
- -
Name of the Direct Connect Gateway to be created or deleted.
-
+ +
Name of the Direct Connect Gateway to be created or deleted.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Set state=present to ensure a resource is created.
-
Set state=absent to remove a resource.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Set state=present to ensure a resource is created.
+
Set state=absent to remove a resource.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
virtual_gateway_id
string -
-
- -
The VPN gateway ID of an existing virtual gateway.
-
+ +
The VPN gateway ID of an existing virtual gateway.
+
+
wait_timeout
integer -
-
- Default:
320
-
-
How long to wait for the association to be deleted.
-
+ Default:
320
+
+
How long to wait for the association to be deleted.
+
+
@@ -299,7 +318,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -310,7 +329,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a new direct connect gateway attached to virtual private gateway community.aws.aws_direct_connect_gateway: state: present @@ -328,8 +346,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -342,103 +358,103 @@ Common return values are documented `here Returned Description - - + +
result
complex -
- + + state=present -
The attributes of the Direct Connect Gateway
-
- +
The attributes of the Direct Connect Gateway
+
+ - -   - + +   +
amazon_side_asn
string -
- + + -
ASN on the amazon side.
-
- +
ASN on the amazon side.
+
+ - -   - + +   +
direct_connect_gateway_id
string -
- + + -
The ID of the direct connect gateway.
-
- +
The ID of the direct connect gateway.
+
+ - -   - + +   +
direct_connect_gateway_name
string -
- + + -
The name of the direct connect gateway.
-
- +
The name of the direct connect gateway.
+
+ - -   - + +   +
direct_connect_gateway_state
string -
- + + -
The state of the direct connect gateway.
-
- +
The state of the direct connect gateway.
+
+ - -   - + +   +
owner_account
string -
- + + -
The AWS account ID of the owner of the direct connect gateway.
-
- +
The AWS account ID of the owner of the direct connect gateway.
+
+ - - + +

@@ -450,5 +466,3 @@ Authors ~~~~~~~ - Gobin Sougrakpam (@gobins) - - diff --git a/docs/community.aws.aws_direct_connect_link_aggregation_group_module.rst b/docs/community.aws.aws_direct_connect_link_aggregation_group_module.rst index ce309c8e9b9..13b327e3191 100644 --- a/docs/community.aws.aws_direct_connect_link_aggregation_group_module.rst +++ b/docs/community.aws.aws_direct_connect_link_aggregation_group_module.rst @@ -37,360 +37,379 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
bandwidth
string -
-
- -
The bandwidth of the link aggregation group.
-
+ + + +
The bandwidth of the link aggregation group.
+
connection_id
string -
-
- -
A connection ID to link with the link aggregation group upon creation.
-
+ + + +
A connection ID to link with the link aggregation group upon creation.
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
delete_with_disassociation
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
To be used with state=absent to delete connections after disassociating them with the LAG.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
To be used with state=absent to delete connections after disassociating them with the LAG.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
force_delete
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
This allows the minimum number of links to be set to 0, any hosted connections disassociated, and any virtual interfaces associated to the LAG deleted.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
This allows the minimum number of links to be set to 0, any hosted connections disassociated, and any virtual interfaces associated to the LAG deleted.
+
link_aggregation_group_id
string -
-
- -
The ID of the Direct Connect link aggregation group.
-
+ + + +
The ID of the Direct Connect link aggregation group.
+
location
string -
-
- -
The location of the link aggregation group.
-
+ + + +
The location of the link aggregation group.
+
min_links
integer -
-
- -
The minimum number of physical connections that must be operational for the LAG itself to be operational.
-
+ + + +
The minimum number of physical connections that must be operational for the LAG itself to be operational.
+
name
string -
-
- -
The name of the Direct Connect link aggregation group.
-
+ + + +
The name of the Direct Connect link aggregation group.
+
num_connections
integer -
-
- -
The number of connections with which to initialize the link aggregation group.
-
+ + + +
The number of connections with which to initialize the link aggregation group.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
The state of the Direct Connect link aggregation group.
-
+ / required + +
    Choices: +
  • present
  • +
  • absent
  • +
+
+
The state of the Direct Connect link aggregation group.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not to wait for the operation to complete.
-
May be useful when waiting for virtual interfaces to be deleted.
-
The time to wait can be controlled by setting wait_timeout.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not to wait for the operation to complete.
+
May be useful when waiting for virtual interfaces to be deleted.
+
The time to wait can be controlled by setting wait_timeout.
+
wait_timeout
integer -
-
- Default:
120
-
-
The duration in seconds to wait if wait=true.
-
+ + + + Default:
120
+ + +
The duration in seconds to wait if wait=true.
+ + +
@@ -398,7 +417,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -409,8 +428,6 @@ Examples .. code-block:: yaml+jinja - - # create a Direct Connect connection - community.aws.aws_direct_connect_link_aggregation_group: state: present @@ -420,8 +437,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -434,199 +449,199 @@ Common return values are documented `here Returned Description - - + +
aws_device
string -
- + + when state=present -
The AWS Direct Connection endpoint that hosts the LAG.
-
-
Sample:
-
EqSe2-1bwfvazist2k0
- - - - +
The AWS Direct Connection endpoint that hosts the LAG.
+
+
Sample:
+
EqSe2-1bwfvazist2k0
+ + + +
changed
string -
- + + always -
Whether or not the LAG has changed.
-
- +
Whether or not the LAG has changed.
+
+ - - + +
connections
list -
- + + when state=present -
A list of connections bundled by this LAG.
-
-
Sample:
-
{'connections': [{'aws_device': 'EqSe2-1bwfvazist2k0', 'bandwidth': '1Gbps', 'connection_id': 'dxcon-fgzjah5a', 'connection_name': 'Requested Connection 1 for Lag dxlag-fgtoh97h', 'connection_state': 'down', 'lag_id': 'dxlag-fgnsp4rq', 'location': 'EqSe2', 'owner_account': '448830907657', 'region': 'us-west-2'}]}
- - - - +
A list of connections bundled by this LAG.
+
+
Sample:
+
{'connections': [{'aws_device': 'EqSe2-1bwfvazist2k0', 'bandwidth': '1Gbps', 'connection_id': 'dxcon-fgzjah5a', 'connection_name': 'Requested Connection 1 for Lag dxlag-fgtoh97h', 'connection_state': 'down', 'lag_id': 'dxlag-fgnsp4rq', 'location': 'EqSe2', 'owner_account': '448830907657', 'region': 'us-west-2'}]}
+ + + +
connections_bandwidth
string -
- + + when state=present -
The individual bandwidth of the physical connections bundled by the LAG.
-
-
Sample:
-
1Gbps
- - - - +
The individual bandwidth of the physical connections bundled by the LAG.
+
+
Sample:
+
1Gbps
+ + + +
lag_id
string -
- + + when state=present -
Unique identifier for the link aggregation group.
-
-
Sample:
-
dxlag-fgnsp4rq
- - - - +
Unique identifier for the link aggregation group.
+
+
Sample:
+
dxlag-fgnsp4rq
+ + + +
lag_name
string -
- + + when state=present -
User-provided name for the link aggregation group.
-
- +
User-provided name for the link aggregation group.
+
+ - - + +
lag_state
string -
- + + when state=present -
State of the LAG.
-
-
Sample:
-
pending
- - - - +
State of the LAG.
+
+
Sample:
+
pending
+ + + +
location
string -
- + + when state=present -
Where the connection is located.
-
-
Sample:
-
EqSe2
- - - - +
Where the connection is located.
+
+
Sample:
+
EqSe2
+ + + +
minimum_links
integer -
- + + when state=present -
The minimum number of physical connections that must be operational for the LAG itself to be operational.
-
- +
The minimum number of physical connections that must be operational for the LAG itself to be operational.
+
+ - - + +
number_of_connections
integer -
- + + when state=present -
The number of physical connections bundled by the LAG.
-
- +
The number of physical connections bundled by the LAG.
+
+ - - + +
owner_account
string -
- + + when state=present -
Owner account ID of the LAG.
-
- +
Owner account ID of the LAG.
+
+ - - + +
region
string -
- + + when state=present -
The region in which the LAG exists.
-
- +
The region in which the LAG exists.
+
+ - +

@@ -638,5 +653,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.aws_direct_connect_virtual_interface_module.rst b/docs/community.aws.aws_direct_connect_virtual_interface_module.rst index be650a3a736..18d055c93a0 100644 --- a/docs/community.aws.aws_direct_connect_virtual_interface_module.rst +++ b/docs/community.aws.aws_direct_connect_virtual_interface_module.rst @@ -37,367 +37,403 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
address_type
string -
-
- -
The type of IP address for the BGP peer.
-
+ +
The type of IP address for the BGP peer.
+
+
amazon_address
string -
-
- -
The amazon address CIDR with which to create the virtual interface.
-
+ +
The amazon address CIDR with which to create the virtual interface.
+
+
authentication_key
string -
-
- -
The authentication key for BGP configuration.
-
+ +
The authentication key for BGP configuration.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bgp_asn
integer -
-
- Default:
65000
-
-
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
-
+ Default:
65000
+
+
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
+
+
cidr
list - / elements=string
-
- -
A list of route filter prefix CIDRs with which to create the public virtual interface.
-
+ +
A list of route filter prefix CIDRs with which to create the public virtual interface.
+
+
customer_address
string -
-
- -
The customer address CIDR with which to create the virtual interface.
-
+ +
The customer address CIDR with which to create the virtual interface.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
+
+ direct_connect_gateway_id + +
+ string +
+
+ +
The direct connect gateway ID for creating a private virtual interface.
+
To create a private virtual interface virtual_gateway_id or direct_connect_gateway_id is required. These options are mutually exclusive.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
id_to_associate
string - / required
-
- -
The ID of the link aggregation group or connection to associate with the virtual interface.
-

aliases: link_aggregation_group_id, connection_id
-
+ +
The ID of the link aggregation group or connection to associate with the virtual interface.
+

aliases: link_aggregation_group_id, connection_id
+
+
name
string -
-
- -
The name of the virtual interface.
-
+ +
The name of the virtual interface.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
public
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
The type of virtual interface.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
The type of virtual interface.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
The desired state of the Direct Connect virtual interface.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
The desired state of the Direct Connect virtual interface.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
virtual_gateway_id
string -
-
- -
The virtual gateway ID required for creating a private virtual interface.
-
+ +
The virtual gateway ID required for creating a private virtual interface.
+
To create a private virtual interface virtual_gateway_id or direct_connect_gateway_id is required. These options are mutually exclusive.
+
+
virtual_interface_id
string -
-
- -
The virtual interface ID.
-
+ +
The virtual interface ID.
+
+
vlan
integer -
-
- Default:
100
-
-
The VLAN ID.
-
+ + + + Default:
100
+ + +
The VLAN ID.
+ + +
@@ -405,7 +441,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -416,7 +452,6 @@ Examples .. code-block:: yaml+jinja - --- - name: create an association between a LAG and connection community.aws.aws_direct_connect_virtual_interface: @@ -433,8 +468,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -447,451 +480,468 @@ Common return values are documented `here Returned Description - - + +
address_family
string -
- + + always -
The address family for the BGP peer.
-
-
Sample:
-
ipv4
- - - - +
The address family for the BGP peer.
+
+
Sample:
+
ipv4
+ + + +
amazon_address
string -
- + + always -
IP address assigned to the Amazon interface.
-
-
Sample:
-
169.254.255.1/30
- - - - +
IP address assigned to the Amazon interface.
+
+
Sample:
+
169.254.255.1/30
+ + + +
asn
integer -
- + + always -
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
-
-
Sample:
-
65000
- - - - +
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
+
+
Sample:
+
65000
+ + + +
auth_key
string -
- + + always -
The authentication key for BGP configuration.
-
-
Sample:
-
0xZ59Y1JZ2oDOSh6YriIlyRE
- - - - +
The authentication key for BGP configuration.
+
+
Sample:
+
0xZ59Y1JZ2oDOSh6YriIlyRE
+ + + +
bgp_peers
complex -
- + + always -
A list of the BGP peers configured on this virtual interface.
-
- +
A list of the BGP peers configured on this virtual interface.
+
+ - -   - + +   +
address_family
string -
- + + always -
The address family for the BGP peer.
-
-
Sample:
-
ipv4
- - - -   - +
The address family for the BGP peer.
+
+
Sample:
+
ipv4
+ + + +   +
amazon_address
string -
- + + always -
IP address assigned to the Amazon interface.
-
-
Sample:
-
169.254.255.1/30
- - - -   - +
IP address assigned to the Amazon interface.
+
+
Sample:
+
169.254.255.1/30
+ + + +   +
asn
integer -
- + + always -
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
-
-
Sample:
-
65000
- - - -   - +
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
+
+
Sample:
+
65000
+ + + +   +
auth_key
string -
- + + always -
The authentication key for BGP configuration.
-
-
Sample:
-
0xZ59Y1JZ2oDOSh6YriIlyRE
- - - -   - +
The authentication key for BGP configuration.
+
+
Sample:
+
0xZ59Y1JZ2oDOSh6YriIlyRE
+ + + +   +
bgp_peer_state
string -
- + + always -
The state of the BGP peer (verifying, pending, available)
-
-
Sample:
-
available
- - - -   - +
The state of the BGP peer (verifying, pending, available)
+
+
Sample:
+
available
+ + + +   +
bgp_status
string -
- + + always -
The up/down state of the BGP peer.
-
-
Sample:
-
up
- - - -   - +
The up/down state of the BGP peer.
+
+
Sample:
+
up
+ + + +   +
customer_address
string -
- + + always -
IP address assigned to the customer interface.
-
-
Sample:
-
169.254.255.2/30
- +
IP address assigned to the customer interface.
+
+
Sample:
+
169.254.255.2/30
+ - - - + + +
changed
boolean -
- + + always -
Indicated if the virtual interface has been created/modified/deleted
-
- +
Indicated if the virtual interface has been created/modified/deleted
+
+ - - + +
connection_id
string -
- + + always -
The ID of the connection. This field is also used as the ID type for operations that use multiple connection types (LAG, interconnect, and/or connection).
-
-
Sample:
-
dxcon-fgb175av
- - - - +
The ID of the connection. This field is also used as the ID type for operations that use multiple connection types (LAG, interconnect, and/or connection).
+
+
Sample:
+
dxcon-fgb175av
+ + + +
customer_address
string -
- + + always -
IP address assigned to the customer interface.
-
-
Sample:
-
169.254.255.2/30
- - - - +
IP address assigned to the customer interface.
+
+
Sample:
+
169.254.255.2/30
+ + + +
customer_router_config
string -
- + + always -
Information for generating the customer router configuration.
-
- +
Information for generating the customer router configuration.
+
+ - - + + +
+ direct_connect_gateway_id + +
+ string +
+ + when public=False + +
The ID of the Direct Connect gateway. This only applies to private virtual interfaces.
+
+
Sample:
+
f7593767-eded-44e8-926d-a2234175835d
+ + + +
location
string -
- + + always -
Where the connection is located.
-
-
Sample:
-
EqDC2
- - - - +
Where the connection is located.
+
+
Sample:
+
EqDC2
+ + + +
owner_account
string -
- + + always -
The AWS account that will own the new virtual interface.
-
-
Sample:
-
123456789012
- - - - +
The AWS account that will own the new virtual interface.
+
+
Sample:
+
123456789012
+ + + +
route_filter_prefixes
complex -
- + + always -
A list of routes to be advertised to the AWS network in this region (public virtual interface).
-
- +
A list of routes to be advertised to the AWS network in this region (public virtual interface).
+
+ - -   - + +   +
cidr
string -
- + + always -
A routes to be advertised to the AWS network in this region.
-
-
Sample:
-
54.227.92.216/30
- +
A routes to be advertised to the AWS network in this region.
+
+
Sample:
+
54.227.92.216/30
+ - - - + + +
virtual_gateway_id
string -
- + + when public=False -
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.
-
-
Sample:
-
vgw-f3ce259a
- - - - +
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.
+
+
Sample:
+
vgw-f3ce259a
+ + + +
virtual_interface_id
string -
- + + always -
The ID of the virtual interface.
-
-
Sample:
-
dxvif-fh0w7cex
- - - - +
The ID of the virtual interface.
+
+
Sample:
+
dxvif-fh0w7cex
+ + + +
virtual_interface_name
string -
- + + always -
The name of the virtual interface assigned by the customer.
-
-
Sample:
-
test_virtual_interface
- - - - +
The name of the virtual interface assigned by the customer.
+
+
Sample:
+
test_virtual_interface
+ + + +
virtual_interface_state
string -
- + + always -
State of the virtual interface (confirming, verifying, pending, available, down, rejected).
-
-
Sample:
-
available
- - - - +
State of the virtual interface (confirming, verifying, pending, available, down, rejected).
+
+
Sample:
+
available
+ + + +
virtual_interface_type
string -
- + + always -
The type of virtual interface (private, public).
-
-
Sample:
-
private
- - - - +
The type of virtual interface (private, public).
+
+
Sample:
+
private
+ + + +
vlan
integer -
- + + always -
The VLAN ID.
-
-
Sample:
-
100
- +
The VLAN ID.
+
+
Sample:
+
100
+ - +

@@ -903,5 +953,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.aws_eks_cluster_module.rst b/docs/community.aws.aws_eks_cluster_module.rst index d6eb39c06c9..3e55dd4097f 100644 --- a/docs/community.aws.aws_eks_cluster_module.rst +++ b/docs/community.aws.aws_eks_cluster_module.rst @@ -37,290 +37,309 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Name of EKS cluster
-
+ +
Name of EKS cluster
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string -
-
- -
ARN of IAM role used by the EKS cluster
-
+ +
ARN of IAM role used by the EKS cluster
+
+
security_groups
list - / elements=string
-
- -
list of security group names or IDs
-
+ +
list of security group names or IDs
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • absent
  • -
  • present ←
  • -
-
-
desired state of the EKS cluster
-
+
    Choices: +
  • absent
  • +
  • present ←
  • +
+
+
desired state of the EKS cluster
+
+
subnets
list - / elements=string
-
- -
list of subnet IDs for the Kubernetes cluster
-
+ +
list of subnet IDs for the Kubernetes cluster
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
version
string -
-
- -
Kubernetes version - defaults to latest
-
+ +
Kubernetes version - defaults to latest
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specifies whether the module waits until the cluster is active or deleted before moving on. It takes "usually less than 10 minutes" per AWS documentation.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specifies whether the module waits until the cluster is active or deleted before moving on. It takes "usually less than 10 minutes" per AWS documentation.
+
+
wait_timeout
integer -
-
- Default:
1200
-
-
The duration in seconds to wait for the cluster to become active. Defaults to 1200 seconds (20 minutes).
-
+ Default:
1200
+
+
The duration in seconds to wait for the cluster to become active. Defaults to 1200 seconds (20 minutes).
+
+
@@ -328,7 +347,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -339,7 +358,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create an EKS cluster @@ -362,7 +380,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -375,228 +392,228 @@ Common return values are documented `here Returned Description - - + +
arn
string -
- + + when state is present -
ARN of the EKS cluster
-
-
Sample:
-
arn:aws:eks:us-west-2:111111111111:cluster/my-eks-cluster
- +
ARN of the EKS cluster
+
+
Sample:
+
arn:aws:eks:us-west-2:111111111111:cluster/my-eks-cluster
+ - - + +
certificate_authority
complex -
- + + after creation -
Dictionary containing Certificate Authority Data for cluster
-
- +
Dictionary containing Certificate Authority Data for cluster
+
+ - -   - + +   +
data
string -
- + + when the cluster has been created and is active -
Base-64 encoded Certificate Authority Data for cluster
-
- +
Base-64 encoded Certificate Authority Data for cluster
+
+ - - - + + +
created_at
string -
- + + when state is present -
Cluster creation date and time
-
-
Sample:
-
2018-06-06T11:56:56.242000+00:00
- +
Cluster creation date and time
+
+
Sample:
+
2018-06-06T11:56:56.242000+00:00
+ - - + +
endpoint
string -
- + + when the cluster has been created and is active -
Kubernetes API server endpoint
-
-
Sample:
-
https://API_SERVER_ENDPOINT.yl4.us-west-2.eks.amazonaws.com
- +
Kubernetes API server endpoint
+
+
Sample:
+
https://API_SERVER_ENDPOINT.yl4.us-west-2.eks.amazonaws.com
+ - - + +
name
string -
- + + when state is present -
EKS cluster name
-
-
Sample:
-
my-eks-cluster
- +
EKS cluster name
+
+
Sample:
+
my-eks-cluster
+ - - + +
resources_vpc_config
complex -
- + + when state is present -
VPC configuration of the cluster
-
- +
VPC configuration of the cluster
+
+ - -   - + +   +
security_group_ids
list -
- + + always -
List of security group IDs
-
-
Sample:
-
['sg-abcd1234', 'sg-aaaa1111']
- +
List of security group IDs
+
+
Sample:
+
['sg-abcd1234', 'sg-aaaa1111']
+ - -   - + +   +
subnet_ids
list -
- + + always -
List of subnet IDs
-
-
Sample:
-
['subnet-abcdef12', 'subnet-345678ab', 'subnet-cdef1234']
- +
List of subnet IDs
+
+
Sample:
+
['subnet-abcdef12', 'subnet-345678ab', 'subnet-cdef1234']
+ - -   - + +   +
vpc_id
string -
- + + always -
VPC id
-
-
Sample:
-
vpc-a1b2c3d4
- +
VPC id
+
+
Sample:
+
vpc-a1b2c3d4
+ - - - + + +
role_arn
string -
- + + when state is present -
ARN of the IAM role used by the cluster
-
-
Sample:
-
arn:aws:iam::111111111111:role/aws_eks_cluster_role
- +
ARN of the IAM role used by the cluster
+
+
Sample:
+
arn:aws:iam::111111111111:role/aws_eks_cluster_role
+ - - + +
status
string -
- + + when state is present -
status of the EKS cluster
-
-
Sample:
-
['CREATING', 'ACTIVE']
- +
status of the EKS cluster
+
+
Sample:
+
['CREATING', 'ACTIVE']
+ - - + +
version
string -
- + + when state is present -
Kubernetes version of the cluster
-
-
Sample:
-
1.10
- +
Kubernetes version of the cluster
+
+
Sample:
+
1.10
+ - +

@@ -608,5 +625,3 @@ Authors ~~~~~~~ - Will Thames (@willthames) - - diff --git a/docs/community.aws.aws_elasticbeanstalk_app_module.rst b/docs/community.aws.aws_elasticbeanstalk_app_module.rst index f912ecc7cd1..7c50f8ac67f 100644 --- a/docs/community.aws.aws_elasticbeanstalk_app_module.rst +++ b/docs/community.aws.aws_elasticbeanstalk_app_module.rst @@ -35,230 +35,249 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
app_name
string -
-
- -
Name of the beanstalk application you wish to manage.
-

aliases: name
-
+ +
Name of the beanstalk application you wish to manage.
+

aliases: name
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
The description of the application.
-
+ +
The description of the application.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • absent
  • -
  • present ←
  • -
-
-
Whether to ensure the application is present or absent.
-
+
    Choices: +
  • absent
  • +
  • present ←
  • +
+
+
Whether to ensure the application is present or absent.
+
+
terminate_by_force
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When terminate_by_force=true, running environments will be terminated before deleting the application.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When terminate_by_force=true, running environments will be terminated before deleting the application.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -266,7 +285,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -277,7 +296,6 @@ Examples .. code-block:: yaml+jinja - # Create or update an application - community.aws.aws_elasticbeanstalk_app: app_name: Sample_App @@ -291,8 +309,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -305,41 +321,41 @@ Common return values are documented `here Returned Description - - + +
app
dictionary -
- + + always -
Beanstalk application.
-
-
Sample:
-
{'ApplicationName': 'app-name', 'ConfigurationTemplates': [], 'DateCreated': '2016-12-28T14:50:03.185000+00:00', 'DateUpdated': '2016-12-28T14:50:03.185000+00:00', 'Description': 'description', 'Versions': ['1.0.0', '1.0.1']}
- +
Beanstalk application.
+
+
Sample:
+
{'ApplicationName': 'app-name', 'ConfigurationTemplates': [], 'DateCreated': '2016-12-28T14:50:03.185000+00:00', 'DateUpdated': '2016-12-28T14:50:03.185000+00:00', 'Description': 'description', 'Versions': ['1.0.0', '1.0.1']}
+ - - + +
output
string -
- + + in check mode -
Message indicating what change will occur.
-
-
Sample:
-
App is up-to-date
- +
Message indicating what change will occur.
+
+
Sample:
+
App is up-to-date
+ - +

@@ -352,5 +368,3 @@ Authors - Harpreet Singh (@hsingh) - Stephen Granger (@viper233) - - diff --git a/docs/community.aws.aws_glue_connection_module.rst b/docs/community.aws.aws_glue_connection_module.rst index e679965bd0d..82645217a19 100644 --- a/docs/community.aws.aws_glue_connection_module.rst +++ b/docs/community.aws.aws_glue_connection_module.rst @@ -36,305 +36,324 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
catalog_id
string -
-
- -
The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
-
+ +
The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
+
+
connection_properties
dictionary -
-
- -
A dict of key-value pairs used as parameters for this connection.
-
Required when state=present.
-
+ +
A dict of key-value pairs used as parameters for this connection.
+
Required when state=present.
+
+
connection_type
string -
-
-
    Choices: -
  • JDBC ←
  • -
  • SFTP
  • -
-
-
The type of the connection. Currently, only JDBC is supported; SFTP is not supported.
-
+
    Choices: +
  • JDBC ←
  • +
  • SFTP
  • +
+
+
The type of the connection. Currently, only JDBC is supported; SFTP is not supported.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
The description of the connection.
-
+ +
The description of the connection.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
match_criteria
list - / elements=string
-
- -
A list of UTF-8 strings that specify the criteria that you can use in selecting this connection.
-
+ +
A list of UTF-8 strings that specify the criteria that you can use in selecting this connection.
+
+
name
string - / required
-
- -
The name of the connection.
-
+ +
The name of the connection.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_groups
list - / elements=string
-
- -
A list of security groups to be used by the connection. Use either security group name or ID.
-
+ +
A list of security groups to be used by the connection. Use either security group name or ID.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or delete the AWS Glue connection.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or delete the AWS Glue connection.
+
+
subnet_id
string -
-
- -
The subnet ID used by the connection.
-
+ +
The subnet ID used by the connection.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -342,7 +361,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -353,7 +372,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Create an AWS Glue connection @@ -372,8 +390,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -386,141 +402,141 @@ Common return values are documented `here Returned Description - - + +
connection_properties
dictionary -
- + + when state is present -
A dict of key-value pairs used as parameters for this connection.
-
-
Sample:
-
{'JDBC_CONNECTION_URL': 'jdbc:mysql://mydb:3306/databasename', 'USERNAME': 'x', 'PASSWORD': 'y'}
- +
A dict of key-value pairs used as parameters for this connection.
+
+
Sample:
+
{'JDBC_CONNECTION_URL': 'jdbc:mysql://mydb:3306/databasename', 'USERNAME': 'x', 'PASSWORD': 'y'}
+ - - + +
connection_type
string -
- + + when state is present -
The type of the connection.
-
-
Sample:
-
JDBC
- +
The type of the connection.
+
+
Sample:
+
JDBC
+ - - + +
creation_time
string -
- + + when state is present -
The time this connection definition was created.
-
-
Sample:
-
2018-04-21T05:19:58.326000+00:00
- +
The time this connection definition was created.
+
+
Sample:
+
2018-04-21T05:19:58.326000+00:00
+ - - + +
description
string -
- + + when state is present -
Description of the job being defined.
-
-
Sample:
-
My first Glue job
- +
Description of the job being defined.
+
+
Sample:
+
My first Glue job
+ - - + +
last_updated_time
string -
- + + when state is present -
The last time this connection definition was updated.
-
-
Sample:
-
2018-04-21T05:19:58.326000+00:00
- +
The last time this connection definition was updated.
+
+
Sample:
+
2018-04-21T05:19:58.326000+00:00
+ - - + +
match_criteria
list -
- + + when state is present -
A list of criteria that can be used in selecting this connection.
-
- +
A list of criteria that can be used in selecting this connection.
+
+ - - + +
name
string -
- + + when state is present -
The name of the connection definition.
-
-
Sample:
-
my-glue-connection
- +
The name of the connection definition.
+
+
Sample:
+
my-glue-connection
+ - - + +
physical_connection_requirements
dictionary -
- + + when state is present -
A dict of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection successfully.
-
-
Sample:
-
{'subnet-id': 'subnet-aabbccddee'}
- +
A dict of physical connection requirements, such as VPC and SecurityGroup, needed for making this connection successfully.
+
+
Sample:
+
{'subnet-id': 'subnet-aabbccddee'}
+ - +

@@ -532,5 +548,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.aws_glue_job_module.rst b/docs/community.aws.aws_glue_job_module.rst index 8a5a4c4870b..1856b2389e9 100644 --- a/docs/community.aws.aws_glue_job_module.rst +++ b/docs/community.aws.aws_glue_job_module.rst @@ -36,348 +36,367 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
allocated_capacity
integer -
-
- -
The number of AWS Glue data processing units (DPUs) to allocate to this Job. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
-
+ +
The number of AWS Glue data processing units (DPUs) to allocate to this Job. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
command_name
string -
-
- Default:
"glueetl"
-
-
The name of the job command. This must be 'glueetl'.
-
+ Default:
"glueetl"
+
+
The name of the job command. This must be 'glueetl'.
+
+
command_script_location
string -
-
- -
The S3 path to a script that executes a job.
-
Required when state=present.
-
+ +
The S3 path to a script that executes a job.
+
Required when state=present.
+
+
connections
list - / elements=string
-
- -
A list of Glue connections used for this job.
-
+ +
A list of Glue connections used for this job.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
default_arguments
dictionary -
-
- -
A dict of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
-
+ +
A dict of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
+
+
description
string -
-
- -
Description of the job being defined.
-
+ +
Description of the job being defined.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
max_concurrent_runs
integer -
-
- -
The maximum number of concurrent runs allowed for the job. The default is 1. An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.
-
+ +
The maximum number of concurrent runs allowed for the job. The default is 1. An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.
+
+
max_retries
integer -
-
- -
The maximum number of times to retry this job if it fails.
-
+ +
The maximum number of times to retry this job if it fails.
+
+
name
string - / required
-
- -
The name you assign to this job definition. It must be unique in your account.
-
+ +
The name you assign to this job definition. It must be unique in your account.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role
string -
-
- -
The name or ARN of the IAM role associated with this job.
-
Required when state=present.
-
+ +
The name or ARN of the IAM role associated with this job.
+
Required when state=present.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or delete the AWS Glue job.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or delete the AWS Glue job.
+
+
timeout
integer -
-
- -
The job timeout in minutes.
-
+ +
The job timeout in minutes.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -385,7 +404,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -396,7 +415,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Create an AWS Glue job @@ -413,8 +431,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -427,280 +443,280 @@ Common return values are documented `here Returned Description - - + +
allocated_capacity
integer -
- + + when state is present -
The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
-
-
Sample:
-
10
- - - - +
The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
+
+
Sample:
+
10
+ + + +
command
complex -
- + + when state is present -
The JobCommand that executes this job.
-
- +
The JobCommand that executes this job.
+
+ - -   - + +   +
name
string -
- + + when state is present -
The name of the job command.
-
-
Sample:
-
glueetl
- - - -   - +
The name of the job command.
+
+
Sample:
+
glueetl
+ + + +   +
script_location
string -
- + + when state is present -
Specifies the S3 path to a script that executes a job.
-
-
Sample:
-
mybucket/myscript.py
- +
Specifies the S3 path to a script that executes a job.
+
+
Sample:
+
mybucket/myscript.py
+ - - - + + +
connections
dictionary -
- + + when state is present -
The connections used for this job.
-
-
Sample:
-
{ Connections: [ 'list', 'of', 'connections' ] }
- - - - +
The connections used for this job.
+
+
Sample:
+
{ Connections: [ 'list', 'of', 'connections' ] }
+ + + +
created_on
string -
- + + when state is present -
The time and date that this job definition was created.
-
-
Sample:
-
2018-04-21T05:19:58.326000+00:00
- - - - +
The time and date that this job definition was created.
+
+
Sample:
+
2018-04-21T05:19:58.326000+00:00
+ + + +
default_arguments
dictionary -
- + + when state is present -
The default arguments for this job, specified as name-value pairs.
-
-
Sample:
-
{ 'mykey1': 'myvalue1' }
- - - - +
The default arguments for this job, specified as name-value pairs.
+
+
Sample:
+
{ 'mykey1': 'myvalue1' }
+ + + +
description
string -
- + + when state is present -
Description of the job being defined.
-
-
Sample:
-
My first Glue job
- - - - +
Description of the job being defined.
+
+
Sample:
+
My first Glue job
+ + + +
execution_property
complex -
- + + always -
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
-
- +
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
+
+ - -   - + +   +
max_concurrent_runs
integer -
- + + when state is present -
The maximum number of concurrent runs allowed for the job. The default is 1. An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.
-
-
Sample:
-
1
- +
The maximum number of concurrent runs allowed for the job. The default is 1. An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.
+
+
Sample:
+
1
+ - - - + + +
job_name
string -
- + + always -
The name of the AWS Glue job.
-
-
Sample:
-
my-glue-job
- - - - +
The name of the AWS Glue job.
+
+
Sample:
+
my-glue-job
+ + + +
last_modified_on
string -
- + + when state is present -
The last point in time when this job definition was modified.
-
-
Sample:
-
2018-04-21T05:19:58.326000+00:00
- - - - +
The last point in time when this job definition was modified.
+
+
Sample:
+
2018-04-21T05:19:58.326000+00:00
+ + + +
max_retries
integer -
- + + when state is present -
The maximum number of times to retry this job after a JobRun fails.
-
-
Sample:
-
5
- - - - +
The maximum number of times to retry this job after a JobRun fails.
+
+
Sample:
+
5
+ + + +
name
string -
- + + when state is present -
The name assigned to this job definition.
-
-
Sample:
-
my-glue-job
- - - - +
The name assigned to this job definition.
+
+
Sample:
+
my-glue-job
+ + + +
role
string -
- + + when state is present -
The name or ARN of the IAM role associated with this job.
-
-
Sample:
-
my-iam-role
- - - - +
The name or ARN of the IAM role associated with this job.
+
+
Sample:
+
my-iam-role
+ + + +
timeout
integer -
- + + when state is present -
The job timeout in minutes.
-
-
Sample:
-
300
- +
The job timeout in minutes.
+
+
Sample:
+
300
+ - +

@@ -712,5 +728,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.aws_inspector_target_module.rst b/docs/community.aws.aws_inspector_target_module.rst index 4ebc10da0c7..6c61e1fcf03 100644 --- a/docs/community.aws.aws_inspector_target_module.rst +++ b/docs/community.aws.aws_inspector_target_module.rst @@ -37,211 +37,230 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The user-defined name that identifies the assessment target. The name must be unique within the AWS account.
-
+ +
The user-defined name that identifies the assessment target. The name must be unique within the AWS account.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • absent
  • -
  • present ←
  • -
-
-
The state of the assessment target.
-
+
    Choices: +
  • absent
  • +
  • present ←
  • +
+
+
The state of the assessment target.
+
+
tags
dictionary -
-
- -
Tags of the EC2 instances to be added to the assessment target.
-
Required if state=present.
-
+ +
Tags of the EC2 instances to be added to the assessment target.
+
Required if state=present.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -249,7 +268,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -260,7 +279,6 @@ Examples .. code-block:: yaml+jinja - - name: Create my_target Assessment Target community.aws.aws_inspector_target: name: my_target @@ -281,7 +299,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -294,109 +311,109 @@ Common return values are documented `here Returned Description - - + +
arn
string -
- + + success -
The ARN that specifies the Amazon Inspector assessment target.
-
-
Sample:
-
arn:aws:inspector:eu-west-1:123456789012:target/0-O4LnL7n1
- +
The ARN that specifies the Amazon Inspector assessment target.
+
+
Sample:
+
arn:aws:inspector:eu-west-1:123456789012:target/0-O4LnL7n1
+ - - + +
created_at
string -
- + + success -
The time at which the assessment target was created.
-
-
Sample:
-
2018-01-29T13:48:51.958000+00:00
- +
The time at which the assessment target was created.
+
+
Sample:
+
2018-01-29T13:48:51.958000+00:00
+ - - + +
name
string -
- + + success -
The name of the Amazon Inspector assessment target.
-
-
Sample:
-
my_target
- +
The name of the Amazon Inspector assessment target.
+
+
Sample:
+
my_target
+ - - + +
resource_group_arn
string -
- + + success -
The ARN that specifies the resource group that is associated with the assessment target.
-
-
Sample:
-
arn:aws:inspector:eu-west-1:123456789012:resourcegroup/0-qY4gDel8
- +
The ARN that specifies the resource group that is associated with the assessment target.
+
+
Sample:
+
arn:aws:inspector:eu-west-1:123456789012:resourcegroup/0-qY4gDel8
+ - - + +
tags
list -
- + + success -
The tags of the resource group that is associated with the assessment target.
-
-
Sample:
-
{'role': 'scan_target', 'env': 'dev'}
- +
The tags of the resource group that is associated with the assessment target.
+
+
Sample:
+
{'role': 'scan_target', 'env': 'dev'}
+ - - + +
updated_at
string -
- + + success -
The time at which the assessment target was last updated.
-
-
Sample:
-
2018-01-29T13:48:51.958000+00:00
- +
The time at which the assessment target was last updated.
+
+
Sample:
+
2018-01-29T13:48:51.958000+00:00
+ - +

@@ -408,5 +425,3 @@ Authors ~~~~~~~ - Dennis Conrad (@dennisconrad) - - diff --git a/docs/community.aws.aws_kms_info_module.rst b/docs/community.aws.aws_kms_info_module.rst index dfd111a404b..420b18fbb8d 100644 --- a/docs/community.aws.aws_kms_info_module.rst +++ b/docs/community.aws.aws_kms_info_module.rst @@ -36,195 +36,214 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. The filters aren't natively supported by boto3, but are supported to provide similar functionality to other modules. Standard tag filters (tag-key, tag-value and tag:tagName) are available, as are key-id and alias
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. The filters aren't natively supported by boto3, but are supported to provide similar functionality to other modules. Standard tag filters (tag-key, tag-value and tag:tagName) are available, as are key-id and alias
+
+
pending_deletion
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to get full details (tags, grants etc.) of keys pending deletion
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to get full details (tags, grants etc.) of keys pending deletion
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -232,7 +251,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -243,7 +262,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Gather information about all KMS keys @@ -261,7 +279,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -274,441 +291,441 @@ Common return values are documented `here Returned Description - - + +
keys
complex -
- + + always -
list of keys
-
- +
list of keys
+
+ - -   - + +   +
aliases
list -
- + + always -
list of aliases associated with the key
-
-
Sample:
-
['aws/acm', 'aws/ebs']
- - - -   - +
list of aliases associated with the key
+
+
Sample:
+
['aws/acm', 'aws/ebs']
+ + + +   +
aws_account_id
string -
- + + always -
The AWS Account ID that the key belongs to
-
-
Sample:
-
1234567890123
- - - -   - +
The AWS Account ID that the key belongs to
+
+
Sample:
+
1234567890123
+ + + +   +
creation_date
string -
- + + always -
Date of creation of the key
-
-
Sample:
-
2017-04-18T15:12:08.551000+10:00
- - - -   - +
Date of creation of the key
+
+
Sample:
+
2017-04-18T15:12:08.551000+10:00
+ + + +   +
description
string -
- + + always -
Description of the key
-
-
Sample:
-
My Key for Protecting important stuff
- - - -   - +
Description of the key
+
+
Sample:
+
My Key for Protecting important stuff
+ + + +   +
enable_key_rotation
boolean -
- + + always -
Whether the automatically key rotation every year is enabled.
-
- +
Whether the automatically key rotation every year is enabled.
+
+ - -   - + +   +
enabled
string -
- + + always -
Whether the key is enabled. True if KeyState is true.
-
- +
Whether the key is enabled. True if KeyState is true.
+
+ - -   - + +   +
grants
complex -
- + + always -
list of grants associated with a key
-
- +
list of grants associated with a key
+
+ - -   -   - + +   +   +
constraints
dictionary -
- + + always -
Constraints on the encryption context that the grant allows. See https://docs.aws.amazon.com/kms/latest/APIReference/API_GrantConstraints.html for further details
-
-
Sample:
-
{'encryption_context_equals': {'aws:lambda:_function_arn': 'arn:aws:lambda:ap-southeast-2:012345678912:function:xyz'}}
- - - -   -   - +
Constraints on the encryption context that the grant allows. See https://docs.aws.amazon.com/kms/latest/APIReference/API_GrantConstraints.html for further details
+
+
Sample:
+
{'encryption_context_equals': {'aws:lambda:_function_arn': 'arn:aws:lambda:ap-southeast-2:012345678912:function:xyz'}}
+ + + +   +   +
creation_date
string -
- + + always -
Date of creation of the grant
-
-
Sample:
-
2017-04-18T15:12:08+10:00
- - - -   -   - +
Date of creation of the grant
+
+
Sample:
+
2017-04-18T15:12:08+10:00
+ + + +   +   +
grant_id
string -
- + + always -
The unique ID for the grant
-
-
Sample:
-
abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234
- - - -   -   - +
The unique ID for the grant
+
+
Sample:
+
abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234
+ + + +   +   +
grantee_principal
string -
- + + always -
The principal that receives the grant's permissions
-
-
Sample:
-
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
- - - -   -   - +
The principal that receives the grant's permissions
+
+
Sample:
+
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
+ + + +   +   +
issuing_account
string -
- + + always -
The AWS account under which the grant was issued
-
-
Sample:
-
arn:aws:iam::01234567890:root
- - - -   -   - +
The AWS account under which the grant was issued
+
+
Sample:
+
arn:aws:iam::01234567890:root
+ + + +   +   +
key_id
string -
- + + always -
The key ARN to which the grant applies.
-
-
Sample:
-
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
- - - -   -   - +
The key ARN to which the grant applies.
+
+
Sample:
+
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
+ + + +   +   +
name
string -
- + + always -
The friendly name that identifies the grant
-
-
Sample:
-
xyz
- - - -   -   - +
The friendly name that identifies the grant
+
+
Sample:
+
xyz
+ + + +   +   +
operations
list -
- + + always -
The list of operations permitted by the grant
-
-
Sample:
-
['Decrypt', 'RetireGrant']
- - - -   -   - +
The list of operations permitted by the grant
+
+
Sample:
+
['Decrypt', 'RetireGrant']
+ + + +   +   +
retiring_principal
string -
- + + always -
The principal that can retire the grant
-
-
Sample:
-
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
- +
The principal that can retire the grant
+
+
Sample:
+
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
+ - - -   - + + +   +
key_arn
string -
- + + always -
ARN of key
-
-
Sample:
-
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
- - - -   - +
ARN of key
+
+
Sample:
+
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
+ + + +   +
key_id
string -
- + + always -
ID of key
-
-
Sample:
-
abcd1234-abcd-1234-5678-ef1234567890
- - - -   - +
ID of key
+
+
Sample:
+
abcd1234-abcd-1234-5678-ef1234567890
+ + + +   +
key_state
string -
- + + always -
The state of the key
-
-
Sample:
-
PendingDeletion
- - - -   - +
The state of the key
+
+
Sample:
+
PendingDeletion
+ + + +   +
key_usage
string -
- + + always -
The cryptographic operations for which you can use the key.
-
-
Sample:
-
ENCRYPT_DECRYPT
- - - -   - +
The cryptographic operations for which you can use the key.
+
+
Sample:
+
ENCRYPT_DECRYPT
+ + + +   +
origin
string -
- + + always -
The source of the key's key material. When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported or the CMK lacks key material.
-
-
Sample:
-
AWS_KMS
- - - -   - +
The source of the key's key material. When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported or the CMK lacks key material.
+
+
Sample:
+
AWS_KMS
+ + + +   +
policies
list -
- + + always -
list of policy documents for the keys. Empty when access is denied even if there are policies.
-
-
Sample:
-
{'Version': '2012-10-17', 'Id': 'auto-ebs-2', 'Statement': [{'Sid': 'Allow access through EBS for all principals in the account that are authorized to use EBS', 'Effect': 'Allow', 'Principal': {'AWS': '*'}, 'Action': ['kms:Encrypt', 'kms:Decrypt', 'kms:ReEncrypt*', 'kms:GenerateDataKey*', 'kms:CreateGrant', 'kms:DescribeKey'], 'Resource': '*', 'Condition': {'StringEquals': {'kms:CallerAccount': '111111111111', 'kms:ViaService': 'ec2.ap-southeast-2.amazonaws.com'}}}, {'Sid': 'Allow direct access to key metadata to the account', 'Effect': 'Allow', 'Principal': {'AWS': 'arn:aws:iam::111111111111:root'}, 'Action': ['kms:Describe*', 'kms:Get*', 'kms:List*', 'kms:RevokeGrant'], 'Resource': '*'}]}
- - - -   - +
list of policy documents for the keys. Empty when access is denied even if there are policies.
+
+
Sample:
+
{'Version': '2012-10-17', 'Id': 'auto-ebs-2', 'Statement': [{'Sid': 'Allow access through EBS for all principals in the account that are authorized to use EBS', 'Effect': 'Allow', 'Principal': {'AWS': '*'}, 'Action': ['kms:Encrypt', 'kms:Decrypt', 'kms:ReEncrypt*', 'kms:GenerateDataKey*', 'kms:CreateGrant', 'kms:DescribeKey'], 'Resource': '*', 'Condition': {'StringEquals': {'kms:CallerAccount': '111111111111', 'kms:ViaService': 'ec2.ap-southeast-2.amazonaws.com'}}}, {'Sid': 'Allow direct access to key metadata to the account', 'Effect': 'Allow', 'Principal': {'AWS': 'arn:aws:iam::111111111111:root'}, 'Action': ['kms:Describe*', 'kms:Get*', 'kms:List*', 'kms:RevokeGrant'], 'Resource': '*'}]}
+ + + +   +
tags
dictionary -
- + + always -
dictionary of tags applied to the key. Empty when access is denied even if there are tags.
-
-
Sample:
-
{'Name': 'myKey', 'Purpose': 'protecting_stuff'}
- +
dictionary of tags applied to the key. Empty when access is denied even if there are tags.
+
+
Sample:
+
{'Name': 'myKey', 'Purpose': 'protecting_stuff'}
+ - - + +

@@ -720,5 +737,3 @@ Authors ~~~~~~~ - Will Thames (@willthames) - - diff --git a/docs/community.aws.aws_kms_module.rst b/docs/community.aws.aws_kms_module.rst index e308878fd56..0e9ab4a7da5 100644 --- a/docs/community.aws.aws_kms_module.rst +++ b/docs/community.aws.aws_kms_module.rst @@ -35,533 +35,552 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + + - - + / elements=string + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
alias
string -
-
- -
An alias for a key. For safety, even though KMS does not require keys to have an alias, this module expects all new keys to be given an alias to make them easier to manage. Existing keys without an alias may be referred to by key_id. Use community.aws.aws_kms_info to find key ids. Required if key_id is not given. Note that passing a key_id and alias will only cause a new alias to be added, an alias will never be renamed. The 'alias/' prefix is optional.
-

aliases: key_alias
-
+ +
An alias for a key. For safety, even though KMS does not require keys to have an alias, this module expects all new keys to be given an alias to make them easier to manage. Existing keys without an alias may be referred to by key_id. Use community.aws.aws_kms_info to find key ids. Required if key_id is not given. Note that passing a key_id and alias will only cause a new alias to be added, an alias will never be renamed. The 'alias/' prefix is optional.
+

aliases: key_alias
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A description of the CMK. Use a description that helps you decide whether the CMK is appropriate for a task.
-
+ +
A description of the CMK. Use a description that helps you decide whether the CMK is appropriate for a task.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
enable_key_rotation
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether the key should be automatically rotated every year.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether the key should be automatically rotated every year.
+
+
enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether or not a key is enabled
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether or not a key is enabled
+
+
grants
list - / elements=dictionary
-
- -
A list of grants to apply to the key. Each item must contain grantee_principal. Each item can optionally contain retiring_principal, operations, constraints, name.
-
grantee_principal and retiring_principal must be ARNs
-
For full documentation of suboptions see the boto3 documentation:
- -
+ +
A list of grants to apply to the key. Each item must contain grantee_principal. Each item can optionally contain retiring_principal, operations, constraints, name.
+
grantee_principal and retiring_principal must be ARNs
+
For full documentation of suboptions see the boto3 documentation:
+ +
+
constraints
dictionary -
-
- -
Constraints is a dict containing encryption_context_subset or encryption_context_equals, either or both being a dict specifying an encryption context match. See https://docs.aws.amazon.com/kms/latest/APIReference/API_GrantConstraints.html or https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kms.html#KMS.Client.create_grant
-
+ +
Constraints is a dict containing encryption_context_subset or encryption_context_equals, either or both being a dict specifying an encryption context match. See https://docs.aws.amazon.com/kms/latest/APIReference/API_GrantConstraints.html or https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kms.html#KMS.Client.create_grant
+
+
grantee_principal
string - / required
-
- -
The full ARN of the principal being granted permissions.
-
+ +
The full ARN of the principal being granted permissions.
+
+
operations
list - / elements=string
-
-
    Choices: -
  • Decrypt
  • -
  • Encrypt
  • -
  • GenerateDataKey
  • -
  • GenerateDataKeyWithoutPlaintext
  • -
  • ReEncryptFrom
  • -
  • ReEncryptTo
  • -
  • CreateGrant
  • -
  • RetireGrant
  • -
  • DescribeKey
  • -
  • Verify
  • -
  • Sign
  • -
-
-
A list of operations that the grantee may perform using the CMK.
-
+
    Choices: +
  • Decrypt
  • +
  • Encrypt
  • +
  • GenerateDataKey
  • +
  • GenerateDataKeyWithoutPlaintext
  • +
  • ReEncryptFrom
  • +
  • ReEncryptTo
  • +
  • CreateGrant
  • +
  • RetireGrant
  • +
  • DescribeKey
  • +
  • Verify
  • +
  • Sign
  • +
+
+
A list of operations that the grantee may perform using the CMK.
+
+
retiring_principal
string -
-
- -
The full ARN of the principal permitted to revoke/retire the grant.
-
+ +
The full ARN of the principal permitted to revoke/retire the grant.
+
+ +
key_id
string -
-
- -
Key ID or ARN of the key.
-
One of alias or key_id are required.
-

aliases: key_arn
-
+ +
Key ID or ARN of the key.
+
One of alias or key_id are required.
+

aliases: key_arn
+
+
policy
json -
-
- -
policy to apply to the KMS key.
- -
+ +
policy to apply to the KMS key.
+ +
+
policy_clean_invalid_entries
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
(deprecated) If adding/removing a role and invalid grantees are found, remove them. These entries will cause an update to fail in all known cases.
-
Only cleans if changes are being made.
-
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
-
This option has been deprecated, and will be removed in 2.13. Use policy instead.
-

aliases: clean_invalid_entries
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
(deprecated) If adding/removing a role and invalid grantees are found, remove them. These entries will cause an update to fail in all known cases.
+
Only cleans if changes are being made.
+
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
+
This option has been deprecated, and will be removed in 2.13. Use policy instead.
+

aliases: clean_invalid_entries
+
+
policy_grant_types
list - / elements=string
-
- -
(deprecated) List of grants to give to user/role. Likely "role,role grant" or "role,role grant,admin".
-
Required when policy_mode=grant.
-
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
-
This option has been deprecated, and will be removed in 2.13. Use policy instead.
-

aliases: grant_types
-
+ +
(deprecated) List of grants to give to user/role. Likely "role,role grant" or "role,role grant,admin".
+
Required when policy_mode=grant.
+
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
+
This option has been deprecated, and will be removed in 2.13. Use policy instead.
+

aliases: grant_types
+
+
policy_mode
string -
-
-
    Choices: -
  • grant ←
  • -
  • deny
  • -
-
-
(deprecated) Grant or deny access.
-
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
-
This option has been deprecated, and will be removed in 2.13. Use policy instead.
-

aliases: mode
-
+
    Choices: +
  • grant ←
  • +
  • deny
  • +
+
+
(deprecated) Grant or deny access.
+
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
+
This option has been deprecated, and will be removed in 2.13. Use policy instead.
+

aliases: mode
+
+
policy_role_arn
string -
-
- -
(deprecated) ARN of role to allow/deny access.
-
One of policy_role_name or policy_role_arn are required.
-
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
-
This option has been deprecated, and will be removed in 2.13. Use policy instead.
-

aliases: role_arn
-
+ +
(deprecated) ARN of role to allow/deny access.
+
One of policy_role_name or policy_role_arn are required.
+
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
+
This option has been deprecated, and will be removed in 2.13. Use policy instead.
+

aliases: role_arn
+
+
policy_role_name
string -
-
- -
(deprecated) Role to allow/deny access.
-
One of policy_role_name or policy_role_arn are required.
-
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
-
This option has been deprecated, and will be removed in 2.13. Use policy instead.
-

aliases: role_name
-
+ +
(deprecated) Role to allow/deny access.
+
One of policy_role_name or policy_role_arn are required.
+
Used for modifying the Key Policy rather than modifying a grant and only works on the default policy created through the AWS Console.
+
This option has been deprecated, and will be removed in 2.13. Use policy instead.
+

aliases: role_name
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_grants
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether the grants argument should cause grants not in the list to be removed
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether the grants argument should cause grants not in the list to be removed
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether the tags argument should cause tags not in the list to be removed
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether the tags argument should cause tags not in the list to be removed
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether a key should be present or absent. Note that making an existing key absent only schedules a key for deletion. Passing a key that is scheduled for deletion with state present will cancel key deletion.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether a key should be present or absent. Note that making an existing key absent only schedules a key for deletion. Passing a key that is scheduled for deletion with state present will cancel key deletion.
+
+
tags
dictionary -
-
- -
A dictionary of tags to apply to a key.
-
+ +
A dictionary of tags to apply to a key.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -569,7 +588,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -580,7 +599,6 @@ Examples .. code-block:: yaml+jinja - # Managing the KMS IAM Policy via policy_mode and policy_grant_types is fragile # and has been deprecated in favour of the policy option. - name: grant user-style access to production secrets @@ -642,7 +660,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -655,419 +672,419 @@ Common return values are documented `here Returned Description - - + +
aliases
list -
- + + always -
list of aliases associated with the key
-
-
Sample:
-
['aws/acm', 'aws/ebs']
- +
list of aliases associated with the key
+
+
Sample:
+
['aws/acm', 'aws/ebs']
+ - - + +
aws_account_id
string -
- + + always -
The AWS Account ID that the key belongs to
-
-
Sample:
-
1234567890123
- +
The AWS Account ID that the key belongs to
+
+
Sample:
+
1234567890123
+ - - + +
changes_needed
dictionary -
- + + always -
grant types that would be changed/were changed.
-
-
Sample:
-
{'role': 'add', 'role grant': 'add'}
- +
grant types that would be changed/were changed.
+
+
Sample:
+
{'role': 'add', 'role grant': 'add'}
+ - - + +
creation_date
string -
- + + always -
Date of creation of the key
-
-
Sample:
-
2017-04-18T15:12:08.551000+10:00
- +
Date of creation of the key
+
+
Sample:
+
2017-04-18T15:12:08.551000+10:00
+ - - + +
description
string -
- + + always -
Description of the key
-
-
Sample:
-
My Key for Protecting important stuff
- +
Description of the key
+
+
Sample:
+
My Key for Protecting important stuff
+ - - + +
enabled
string -
- + + always -
Whether the key is enabled. True if KeyState is true.
-
- +
Whether the key is enabled. True if KeyState is true.
+
+ - - + +
grants
complex -
- + + always -
list of grants associated with a key
-
- +
list of grants associated with a key
+
+ - -   - + +   +
constraints
dictionary -
- + + always -
Constraints on the encryption context that the grant allows. See https://docs.aws.amazon.com/kms/latest/APIReference/API_GrantConstraints.html for further details
-
-
Sample:
-
{'encryption_context_equals': {'aws:lambda:_function_arn': 'arn:aws:lambda:ap-southeast-2:012345678912:function:xyz'}}
- +
Constraints on the encryption context that the grant allows. See https://docs.aws.amazon.com/kms/latest/APIReference/API_GrantConstraints.html for further details
+
+
Sample:
+
{'encryption_context_equals': {'aws:lambda:_function_arn': 'arn:aws:lambda:ap-southeast-2:012345678912:function:xyz'}}
+ - -   - + +   +
creation_date
string -
- + + always -
Date of creation of the grant
-
-
Sample:
-
2017-04-18T15:12:08+10:00
- +
Date of creation of the grant
+
+
Sample:
+
2017-04-18T15:12:08+10:00
+ - -   - + +   +
grant_id
string -
- + + always -
The unique ID for the grant
-
-
Sample:
-
abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234
- +
The unique ID for the grant
+
+
Sample:
+
abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234
+ - -   - + +   +
grantee_principal
string -
- + + always -
The principal that receives the grant's permissions
-
-
Sample:
-
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
- +
The principal that receives the grant's permissions
+
+
Sample:
+
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
+ - -   - + +   +
issuing_account
string -
- + + always -
The AWS account under which the grant was issued
-
-
Sample:
-
arn:aws:iam::01234567890:root
- +
The AWS account under which the grant was issued
+
+
Sample:
+
arn:aws:iam::01234567890:root
+ - -   - + +   +
key_id
string -
- + + always -
The key ARN to which the grant applies.
-
-
Sample:
-
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
- +
The key ARN to which the grant applies.
+
+
Sample:
+
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
+ - -   - + +   +
name
string -
- + + always -
The friendly name that identifies the grant
-
-
Sample:
-
xyz
- +
The friendly name that identifies the grant
+
+
Sample:
+
xyz
+ - -   - + +   +
operations
list -
- + + always -
The list of operations permitted by the grant
-
-
Sample:
-
['Decrypt', 'RetireGrant']
- +
The list of operations permitted by the grant
+
+
Sample:
+
['Decrypt', 'RetireGrant']
+ - -   - + +   +
retiring_principal
string -
- + + always -
The principal that can retire the grant
-
-
Sample:
-
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
- +
The principal that can retire the grant
+
+
Sample:
+
arn:aws:sts::0123456789012:assumed-role/lambda_xyz/xyz
+ - - - + + +
had_invalid_entries
boolean -
- + + always -
there are invalid (non-ARN) entries in the KMS entry. These don't count as a change, but will be removed if any changes are being made.
-
- +
there are invalid (non-ARN) entries in the KMS entry. These don't count as a change, but will be removed if any changes are being made.
+
+ - - + +
key_arn
string -
- + + always -
ARN of key
-
-
Sample:
-
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
- +
ARN of key
+
+
Sample:
+
arn:aws:kms:ap-southeast-2:123456789012:key/abcd1234-abcd-1234-5678-ef1234567890
+ - - + +
key_id
string -
- + + always -
ID of key
-
-
Sample:
-
abcd1234-abcd-1234-5678-ef1234567890
- +
ID of key
+
+
Sample:
+
abcd1234-abcd-1234-5678-ef1234567890
+ - - + +
key_state
string -
- + + always -
The state of the key
-
-
Sample:
-
PendingDeletion
- +
The state of the key
+
+
Sample:
+
PendingDeletion
+ - - + +
key_usage
string -
- + + always -
The cryptographic operations for which you can use the key.
-
-
Sample:
-
ENCRYPT_DECRYPT
- +
The cryptographic operations for which you can use the key.
+
+
Sample:
+
ENCRYPT_DECRYPT
+ - - + +
origin
string -
- + + always -
The source of the key's key material. When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported or the CMK lacks key material.
-
-
Sample:
-
AWS_KMS
- +
The source of the key's key material. When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported or the CMK lacks key material.
+
+
Sample:
+
AWS_KMS
+ - - + +
policies
list -
- + + always -
list of policy documents for the keys. Empty when access is denied even if there are policies.
-
-
Sample:
-
{'Version': '2012-10-17', 'Id': 'auto-ebs-2', 'Statement': [{'Sid': 'Allow access through EBS for all principals in the account that are authorized to use EBS', 'Effect': 'Allow', 'Principal': {'AWS': '*'}, 'Action': ['kms:Encrypt', 'kms:Decrypt', 'kms:ReEncrypt*', 'kms:GenerateDataKey*', 'kms:CreateGrant', 'kms:DescribeKey'], 'Resource': '*', 'Condition': {'StringEquals': {'kms:CallerAccount': '111111111111', 'kms:ViaService': 'ec2.ap-southeast-2.amazonaws.com'}}}, {'Sid': 'Allow direct access to key metadata to the account', 'Effect': 'Allow', 'Principal': {'AWS': 'arn:aws:iam::111111111111:root'}, 'Action': ['kms:Describe*', 'kms:Get*', 'kms:List*', 'kms:RevokeGrant'], 'Resource': '*'}]}
- +
list of policy documents for the keys. Empty when access is denied even if there are policies.
+
+
Sample:
+
{'Version': '2012-10-17', 'Id': 'auto-ebs-2', 'Statement': [{'Sid': 'Allow access through EBS for all principals in the account that are authorized to use EBS', 'Effect': 'Allow', 'Principal': {'AWS': '*'}, 'Action': ['kms:Encrypt', 'kms:Decrypt', 'kms:ReEncrypt*', 'kms:GenerateDataKey*', 'kms:CreateGrant', 'kms:DescribeKey'], 'Resource': '*', 'Condition': {'StringEquals': {'kms:CallerAccount': '111111111111', 'kms:ViaService': 'ec2.ap-southeast-2.amazonaws.com'}}}, {'Sid': 'Allow direct access to key metadata to the account', 'Effect': 'Allow', 'Principal': {'AWS': 'arn:aws:iam::111111111111:root'}, 'Action': ['kms:Describe*', 'kms:Get*', 'kms:List*', 'kms:RevokeGrant'], 'Resource': '*'}]}
+ - - + +
tags
dictionary -
- + + always -
dictionary of tags applied to the key
-
-
Sample:
-
{'Name': 'myKey', 'Purpose': 'protecting_stuff'}
- +
dictionary of tags applied to the key
+
+
Sample:
+
{'Name': 'myKey', 'Purpose': 'protecting_stuff'}
+ - +

@@ -1081,5 +1098,3 @@ Authors - Ted Timmons (@tedder) - Will Thames (@willthames) - Mark Chappell (@tremble) - - diff --git a/docs/community.aws.aws_region_info_module.rst b/docs/community.aws.aws_region_info_module.rst index 0b64ff2eb9e..cad84e911e2 100644 --- a/docs/community.aws.aws_region_info_module.rst +++ b/docs/community.aws.aws_region_info_module.rst @@ -38,177 +38,201 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- Default:
{}
-
-
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRegions.html for possible filters. Filter names and values are case sensitive. You can also use underscores instead of dashes (-) in the filter keys, which will take precedence in case of conflict.
-
+ Default:
{}
+
+
A dict of filters to apply.
+
Each dict item consists of a filter key and a filter value.
+ +
Filter names and values are case sensitive.
+
You can use underscores instead of dashes (-) in the filter keys.
+
Filter keys with underscores will take precedence in case of conflict.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -216,7 +240,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -227,7 +251,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Gather information about all regions @@ -240,7 +263,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -253,24 +275,24 @@ Common return values are documented `here Returned Description - - + +
regions
list -
- + + on success -
Regions that match the provided filters. Each element consists of a dict with all the information related to that region.
-
-
Sample:
-
[{ 'endpoint': 'ec2.us-west-1.amazonaws.com', 'region_name': 'us-west-1' }]
- +
Regions that match the provided filters. Each element consists of a dict with all the information related to that region.
+
+
Sample:
+
[{ 'endpoint': 'ec2.us-west-1.amazonaws.com', 'region_name': 'us-west-1' }]
+ - +

@@ -282,5 +304,3 @@ Authors ~~~~~~~ - Henrique Rodrigues (@Sodki) - - diff --git a/docs/community.aws.aws_s3_bucket_info_module.rst b/docs/community.aws.aws_s3_bucket_info_module.rst index 33a71bf5035..c0b8306aaa0 100644 --- a/docs/community.aws.aws_s3_bucket_info_module.rst +++ b/docs/community.aws.aws_s3_bucket_info_module.rst @@ -37,161 +37,180 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -199,7 +218,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -210,7 +229,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Note: Only AWS S3 is currently supported @@ -220,12 +238,11 @@ Examples register: result - name: List buckets - debug: + ansible.builtin.debug: msg: "{{ result['buckets'] }}" - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -238,24 +255,24 @@ Common return values are documented `here Returned Description - - + +
buckets
list -
- + + always -
List of buckets
-
-
Sample:
-
[{'creation_date': '2017-07-06 15:05:12 +00:00', 'name': 'my_bucket'}]
- +
List of buckets
+
+
Sample:
+
[{'creation_date': '2017-07-06 15:05:12 +00:00', 'name': 'my_bucket'}]
+ - +

@@ -267,5 +284,3 @@ Authors ~~~~~~~ - Gerben Geijteman (@hyperized) - - diff --git a/docs/community.aws.aws_s3_cors_module.rst b/docs/community.aws.aws_s3_cors_module.rst index 317bfbd5157..bbbd16da1ca 100644 --- a/docs/community.aws.aws_s3_cors_module.rst +++ b/docs/community.aws.aws_s3_cors_module.rst @@ -35,210 +35,229 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Name of the s3 bucket
-
+ +
Name of the s3 bucket
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
rules
list -
-
- -
Cors rules to put on the s3 bucket
-
+ +
Cors rules to put on the s3 bucket
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or remove cors on the s3 bucket
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or remove cors on the s3 bucket
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -246,7 +265,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -257,7 +276,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Create a simple cors for s3 bucket @@ -284,7 +302,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -297,58 +314,58 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
check to see if a change was made to the rules
-
-
Sample:
-
True
- +
check to see if a change was made to the rules
+
+
Sample:
+
True
+ - - + +
name
string -
- + + always -
name of bucket
-
-
Sample:
-
bucket-name
- +
name of bucket
+
+
Sample:
+
bucket-name
+ - - + +
rules
list -
- + + always -
list of current rules
-
-
Sample:
-
[{'allowed_headers': ['Authorization'], 'allowed_methods': ['GET'], 'allowed_origins': ['*'], 'max_age_seconds': 30000}]
- +
list of current rules
+
+
Sample:
+
[{'allowed_headers': ['Authorization'], 'allowed_methods': ['GET'], 'allowed_origins': ['*'], 'max_age_seconds': 30000}]
+ - +

@@ -360,5 +377,3 @@ Authors ~~~~~~~ - Oyvind Saltvik (@fivethreeo) - - diff --git a/docs/community.aws.aws_secret_module.rst b/docs/community.aws.aws_secret_module.rst index 3cacd552a63..b376dcf4c13 100644 --- a/docs/community.aws.aws_secret_module.rst +++ b/docs/community.aws.aws_secret_module.rst @@ -37,324 +37,343 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
Specifies a user-provided description of the secret.
-
+ +
Specifies a user-provided description of the secret.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
kms_key_id
string -
-
- -
Specifies the ARN or alias of the AWS KMS customer master key (CMK) to be used to encrypt the `secret_string` or `secret_binary` values in the versions stored in this secret.
-
+ +
Specifies the ARN or alias of the AWS KMS customer master key (CMK) to be used to encrypt the `secret_string` or `secret_binary` values in the versions stored in this secret.
+
+
name
string - / required
-
- -
Friendly name for the secret you are creating.
-
+ +
Friendly name for the secret you are creating.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
recovery_window
integer -
-
- Default:
30
-
-
Only used if state is absent.
-
Specifies the number of days that Secrets Manager waits before it can delete the secret.
-
If set to 0, the deletion is forced without recovery.
-
+ Default:
30
+
+
Only used if state is absent.
+
Specifies the number of days that Secrets Manager waits before it can delete the secret.
+
If set to 0, the deletion is forced without recovery.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
rotation_interval
integer -
-
- Default:
30
-
-
Specifies the number of days between automatic scheduled rotations of the secret.
-
+ Default:
30
+
+
Specifies the number of days between automatic scheduled rotations of the secret.
+
+
rotation_lambda
string -
-
- -
Specifies the ARN of the Lambda function that can rotate the secret.
-
+ +
Specifies the ARN of the Lambda function that can rotate the secret.
+
+
secret
string -
-
- Default:
""
-
-
Specifies string or binary data that you want to encrypt and store in the new version of the secret.
-
+ Default:
""
+
+
Specifies string or binary data that you want to encrypt and store in the new version of the secret.
+
+
secret_type
string -
-
-
    Choices: -
  • binary
  • -
  • string ←
  • -
-
-
Specifies the type of data that you want to encrypt.
-
+
    Choices: +
  • binary
  • +
  • string ←
  • +
+
+
Specifies the type of data that you want to encrypt.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the secret should be exist or not.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the secret should be exist or not.
+
+
tags
dictionary -
-
- -
Specifies a list of user-defined tags that are attached to the secret.
-
+ +
Specifies a list of user-defined tags that are attached to the secret.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -362,7 +381,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -373,7 +392,6 @@ Examples .. code-block:: yaml+jinja - - name: Add string to AWS Secrets Manager community.aws.aws_secret: name: 'test_secret_string' @@ -390,7 +408,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -403,129 +420,129 @@ Common return values are documented `here Returned Description - - + +
secret
complex -
- + + always -
The secret information
-
- +
The secret information
+
+ - -   - + +   +
arn
string -
- + + always -
The ARN of the secret
-
-
Sample:
-
arn:aws:secretsmanager:eu-west-1:xxxxxxxxxx:secret:xxxxxxxxxxx
- +
The ARN of the secret
+
+
Sample:
+
arn:aws:secretsmanager:eu-west-1:xxxxxxxxxx:secret:xxxxxxxxxxx
+ - -   - + +   +
last_accessed_date
string -
- + + always -
The date the secret was last accessed
-
-
Sample:
-
2018-11-20T01:00:00+01:00
- +
The date the secret was last accessed
+
+
Sample:
+
2018-11-20T01:00:00+01:00
+ - -   - + +   +
last_changed_date
string -
- + + always -
The date the secret was last modified.
-
-
Sample:
-
2018-11-20T12:16:38.433000+01:00
- +
The date the secret was last modified.
+
+
Sample:
+
2018-11-20T12:16:38.433000+01:00
+ - -   - + +   +
name
string -
- + + always -
The secret name.
-
-
Sample:
-
my_secret
- +
The secret name.
+
+
Sample:
+
my_secret
+ - -   - + +   +
rotation_enabled
boolean -
- + + always -
The secret rotation status.
-
- +
The secret rotation status.
+
+ - -   - + +   +
version_ids_to_stages
dictionary -
- + + always -
Provide the secret version ids and the associated secret stage.
-
-
Sample:
-
{'dc1ed59b-6d8e-4450-8b41-536dfe4600a9': ['AWSCURRENT']}
- +
Provide the secret version ids and the associated secret stage.
+
+
Sample:
+
{'dc1ed59b-6d8e-4450-8b41-536dfe4600a9': ['AWSCURRENT']}
+ - - + +

@@ -537,5 +554,3 @@ Authors ~~~~~~~ - REY Remi (@rrey) - - diff --git a/docs/community.aws.aws_ses_identity_module.rst b/docs/community.aws.aws_ses_identity_module.rst index 23d2cad13f2..445b309d524 100644 --- a/docs/community.aws.aws_ses_identity_module.rst +++ b/docs/community.aws.aws_ses_identity_module.rst @@ -38,383 +38,402 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bounce_notifications
dictionary -
-
- -
Setup the SNS topic used to report bounce notifications.
-
If omitted, bounce notifications will not be delivered to a SNS topic.
-
If bounce notifications are not delivered to a SNS topic, feedback_forwarding must be enabled.
-
+ + + +
Setup the SNS topic used to report bounce notifications.
+
If omitted, bounce notifications will not be delivered to a SNS topic.
+
If bounce notifications are not delivered to a SNS topic, feedback_forwarding must be enabled.
+
include_headers
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to include headers when delivering to the SNS topic.
-
If topic is not specified this will have no impact, but the SES setting is updated even if there is no topic.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to include headers when delivering to the SNS topic.
+
If topic is not specified this will have no impact, but the SES setting is updated even if there is no topic.
+
+
topic
- -
-
- -
The ARN of the topic to send notifications to.
-
If omitted, notifications will not be delivered to a SNS topic.
-
+ + + +
The ARN of the topic to send notifications to.
+
If omitted, notifications will not be delivered to a SNS topic.
+
complaint_notifications
dictionary -
-
- -
Setup the SNS topic used to report complaint notifications.
-
If omitted, complaint notifications will not be delivered to a SNS topic.
-
If complaint notifications are not delivered to a SNS topic, feedback_forwarding must be enabled.
-
+ + + +
Setup the SNS topic used to report complaint notifications.
+
If omitted, complaint notifications will not be delivered to a SNS topic.
+
If complaint notifications are not delivered to a SNS topic, feedback_forwarding must be enabled.
+
include_headers
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to include headers when delivering to the SNS topic.
-
If topic is not specified this will have no impact, but the SES setting is updated even if there is no topic.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to include headers when delivering to the SNS topic.
+
If topic is not specified this will have no impact, but the SES setting is updated even if there is no topic.
+
+
topic
- -
-
- -
The ARN of the topic to send notifications to.
-
If omitted, notifications will not be delivered to a SNS topic.
-
+ + + +
The ARN of the topic to send notifications to.
+
If omitted, notifications will not be delivered to a SNS topic.
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delivery_notifications
dictionary -
-
- -
Setup the SNS topic used to report delivery notifications.
-
If omitted, delivery notifications will not be delivered to a SNS topic.
-
+ + + +
Setup the SNS topic used to report delivery notifications.
+
If omitted, delivery notifications will not be delivered to a SNS topic.
+
include_headers
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to include headers when delivering to the SNS topic.
-
If topic is not specified this will have no impact, but the SES setting is updated even if there is no topic.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to include headers when delivering to the SNS topic.
+
If topic is not specified this will have no impact, but the SES setting is updated even if there is no topic.
+
+
topic
- -
-
- -
The ARN of the topic to send notifications to.
-
If omitted, notifications will not be delivered to a SNS topic.
-
+ + + +
The ARN of the topic to send notifications to.
+
If omitted, notifications will not be delivered to a SNS topic.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
feedback_forwarding
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether or not to enable feedback forwarding.
-
This can only be false if both bounce_notifications and complaint_notifications specify SNS topics.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether or not to enable feedback forwarding.
+
This can only be false if both bounce_notifications and complaint_notifications specify SNS topics.
+
+
identity
string - / required
-
- -
This is the email address or domain to verify / delete.
-
If this contains an '@' then it will be considered an email. Otherwise it will be considered a domain.
-
+ +
This is the email address or domain to verify / delete.
+
If this contains an '@' then it will be considered an email. Otherwise it will be considered a domain.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether to create(or update) or delete the identity.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether to create(or update) or delete the identity.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -422,7 +441,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -433,7 +452,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Ensure example@example.com email identity exists @@ -490,7 +508,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -503,226 +520,226 @@ Common return values are documented `here Returned Description - - + +
identity
string -
- + + success -
The identity being modified.
-
-
Sample:
-
example@example.com
- - - - +
The identity being modified.
+
+
Sample:
+
example@example.com
+ + + +
identity_arn
string -
- + + success -
The arn of the identity being modified.
-
-
Sample:
-
arn:aws:ses:us-east-1:12345678:identity/example@example.com
- - - - +
The arn of the identity being modified.
+
+
Sample:
+
arn:aws:ses:us-east-1:12345678:identity/example@example.com
+ + + +
notification_attributes
complex -
- + + success -
The notification setup for the identity.
-
-
Sample:
-
{'bounce_topic': 'arn:aws:sns:....', 'complaint_topic': 'arn:aws:sns:....', 'delivery_topic': 'arn:aws:sns:....', 'forwarding_enabled': False, 'headers_in_bounce_notifications_enabled': True, 'headers_in_complaint_notifications_enabled': True, 'headers_in_delivery_notifications_enabled': True}
- +
The notification setup for the identity.
+
+
Sample:
+
{'bounce_topic': 'arn:aws:sns:....', 'complaint_topic': 'arn:aws:sns:....', 'delivery_topic': 'arn:aws:sns:....', 'forwarding_enabled': False, 'headers_in_bounce_notifications_enabled': True, 'headers_in_complaint_notifications_enabled': True, 'headers_in_delivery_notifications_enabled': True}
+ - -   - + +   +
bounce_topic
string -
- + + -
The ARN of the topic bounce notifications are delivered to.
-
Omitted if bounce notifications are not delivered to a topic.
-
- - - -   - +
The ARN of the topic bounce notifications are delivered to.
+
Omitted if bounce notifications are not delivered to a topic.
+
+ + + +   +
complaint_topic
string -
- + + -
The ARN of the topic complaint notifications are delivered to.
-
Omitted if complaint notifications are not delivered to a topic.
-
- - - -   - +
The ARN of the topic complaint notifications are delivered to.
+
Omitted if complaint notifications are not delivered to a topic.
+
+ + + +   +
delivery_topic
string -
- + + -
The ARN of the topic delivery notifications are delivered to.
-
Omitted if delivery notifications are not delivered to a topic.
-
- - - -   - +
The ARN of the topic delivery notifications are delivered to.
+
Omitted if delivery notifications are not delivered to a topic.
+
+ + + +   +
forwarding_enabled
boolean -
- + + -
Whether or not feedback forwarding is enabled.
-
- +
Whether or not feedback forwarding is enabled.
+
+ - -   - + +   +
headers_in_bounce_notifications_enabled
boolean -
- + + -
Whether or not headers are included in messages delivered to the bounce topic.
-
- +
Whether or not headers are included in messages delivered to the bounce topic.
+
+ - -   - + +   +
headers_in_complaint_notifications_enabled
boolean -
- + + -
Whether or not headers are included in messages delivered to the complaint topic.
-
- +
Whether or not headers are included in messages delivered to the complaint topic.
+
+ - -   - + +   +
headers_in_delivery_notifications_enabled
boolean -
- + + -
Whether or not headers are included in messages delivered to the delivery topic.
-
- +
Whether or not headers are included in messages delivered to the delivery topic.
+
+ - - - + + +
verification_attributes
complex -
- + + success -
The verification information for the identity.
-
-
Sample:
-
{'verification_status': 'Pending', 'verification_token': '....'}
- +
The verification information for the identity.
+
+
Sample:
+
{'verification_status': 'Pending', 'verification_token': '....'}
+ - -   - + +   +
verification_status
string -
- + + -
The verification status of the identity.
-
-
Sample:
-
Pending
- - - -   - +
The verification status of the identity.
+
+
Sample:
+
Pending
+ + + +   +
verification_token
string -
- + + -
The verification token for a domain identity.
-
- +
The verification token for a domain identity.
+
+ - - + +

@@ -734,5 +751,3 @@ Authors ~~~~~~~ - Ed Costello (@orthanc) - - diff --git a/docs/community.aws.aws_ses_identity_policy_module.rst b/docs/community.aws.aws_ses_identity_policy_module.rst index 042a9fd97d8..0404b1a3526 100644 --- a/docs/community.aws.aws_ses_identity_policy_module.rst +++ b/docs/community.aws.aws_ses_identity_policy_module.rst @@ -38,226 +38,245 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
identity
string - / required
-
- -
The SES identity to attach or remove a policy from. This can be either the full ARN or just + / required
+
+ +
The SES identity to attach or remove a policy from. This can be either the full ARN or just the verified email or domain.
-
+
policy
json -
-
- -
A properly formatted JSON sending authorization policy. Required when state=present.
-
+ +
A properly formatted JSON sending authorization policy. Required when state=present.
+
+
policy_name
string - / required
-
- -
The name used to identify the policy within the scope of the identity it's attached to.
-
+ +
The name used to identify the policy within the scope of the identity it's attached to.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether to create(or update) or delete the authorization policy on the identity.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether to create(or update) or delete the authorization policy on the identity.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -265,7 +284,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -276,7 +295,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: add sending authorization policy to domain identity @@ -308,7 +326,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -321,24 +338,24 @@ Common return values are documented `here Returned Description - - + +
policies
list -
- + + success -
A list of all policies present on the identity after the operation.
-
-
Sample:
-
['ExamplePolicy']
- +
A list of all policies present on the identity after the operation.
+
+
Sample:
+
['ExamplePolicy']
+ - +

@@ -350,5 +367,3 @@ Authors ~~~~~~~ - Ed Costello (@orthanc) - - diff --git a/docs/community.aws.aws_ses_rule_set_module.rst b/docs/community.aws.aws_ses_rule_set_module.rst index cfc2787d270..ff95e898d93 100644 --- a/docs/community.aws.aws_ses_rule_set_module.rst +++ b/docs/community.aws.aws_ses_rule_set_module.rst @@ -37,236 +37,255 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
active
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not this rule set should be the active rule set. Only has an impact if state is present.
-
If omitted, the active rule set will not be changed.
-
If True then this rule set will be made active and all others inactive.
-
if False then this rule set will be deactivated. Be careful with this as you can end up with no active rule set.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not this rule set should be the active rule set. Only has an impact if state is present.
+
If omitted, the active rule set will not be changed.
+
If True then this rule set will be made active and all others inactive.
+
if False then this rule set will be deactivated. Be careful with this as you can end up with no active rule set.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
force
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When deleting a rule set, deactivate it first (AWS prevents deletion of the active rule set).
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When deleting a rule set, deactivate it first (AWS prevents deletion of the active rule set).
+
+
name
string - / required
-
- -
The name of the receipt rule set.
-
+ +
The name of the receipt rule set.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • absent
  • -
  • present ←
  • -
-
-
Whether to create (or update) or destroy the receipt rule set.
-
+
    Choices: +
  • absent
  • +
  • present ←
  • +
+
+
Whether to create (or update) or destroy the receipt rule set.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -274,7 +293,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -285,7 +304,6 @@ Examples .. code-block:: yaml+jinja - # Note: None of these examples set aws_access_key, aws_secret_key, or region. # It is assumed that their matching environment variables are set. --- @@ -319,7 +337,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -332,41 +349,41 @@ Common return values are documented `here Returned Description - - + +
active
boolean -
- + + success if state is present -
if the SES rule set is active
-
-
Sample:
-
True
- +
if the SES rule set is active
+
+
Sample:
+
True
+ - - + +
rule_sets
list -
- + + success -
The list of SES receipt rule sets that exist after any changes.
-
-
Sample:
-
[{'created_timestamp': '2018-02-25T01:20:32.690000+00:00', 'name': 'default-rule-set'}]
- +
The list of SES receipt rule sets that exist after any changes.
+
+
Sample:
+
[{'created_timestamp': '2018-02-25T01:20:32.690000+00:00', 'name': 'default-rule-set'}]
+ - +

@@ -379,5 +396,3 @@ Authors - Ben Tomasik (@tomislacker) - Ed Costello (@orthanc) - - diff --git a/docs/community.aws.aws_sgw_info_module.rst b/docs/community.aws.aws_sgw_info_module.rst index c3bdc5d002f..628f900e2cc 100644 --- a/docs/community.aws.aws_sgw_info_module.rst +++ b/docs/community.aws.aws_sgw_info_module.rst @@ -37,237 +37,256 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
gather_file_shares
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Gather file share information for storage gateways in s3 mode.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Gather file share information for storage gateways in s3 mode.
+
+
gather_local_disks
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Gather local disks attached to the storage gateway.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Gather local disks attached to the storage gateway.
+
+
gather_tapes
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Gather tape information for storage gateways in tape mode.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Gather tape information for storage gateways in tape mode.
+
+
gather_volumes
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Gather volume information for storage gateways in iSCSI (cached & stored) modes.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Gather volume information for storage gateways in iSCSI (cached & stored) modes.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -275,7 +294,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -286,7 +305,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: "Get AWS storage gateway information" @@ -298,7 +316,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -311,411 +328,411 @@ Common return values are documented `here Returned Description - - + +
gateways
complex -
- + + always -
list of gateway objects
-
- +
list of gateway objects
+
+ - -   - + +   +
file_shares
complex -
- + + when gateway_type == "FILE_S3" -
Storage gateway file shares
-
- +
Storage gateway file shares
+
+ - -   -   - + +   +   +
file_share_arn
string -
- + + always -
File share ARN
-
-
Sample:
-
arn:aws:storagegateway:eu-west-1:399805793479:share/share-AF999C88
- - - -   -   - +
File share ARN
+
+
Sample:
+
arn:aws:storagegateway:eu-west-1:399805793479:share/share-AF999C88
+ + + +   +   +
file_share_id
string -
- + + always -
File share ID
-
-
Sample:
-
share-AF999C88
- - - -   -   - +
File share ID
+
+
Sample:
+
share-AF999C88
+ + + +   +   +
file_share_status
string -
- + + always -
File share status
-
-
Sample:
-
AVAILABLE
- +
File share status
+
+
Sample:
+
AVAILABLE
+ - - -   - + + +   +
gateway_arn
string -
- + + always -
Storage Gateway ARN
-
-
Sample:
-
arn:aws:storagegateway:eu-west-1:367709993819:gateway/sgw-9999F888
- - - -   - +
Storage Gateway ARN
+
+
Sample:
+
arn:aws:storagegateway:eu-west-1:367709993819:gateway/sgw-9999F888
+ + + +   +
gateway_id
string -
- + + always -
Storage Gateway ID
-
-
Sample:
-
sgw-9999F888
- - - -   - +
Storage Gateway ID
+
+
Sample:
+
sgw-9999F888
+ + + +   +
gateway_name
string -
- + + always -
Storage Gateway friendly name
-
-
Sample:
-
my-sgw-01
- - - -   - +
Storage Gateway friendly name
+
+
Sample:
+
my-sgw-01
+ + + +   +
gateway_operational_state
string -
- + + always -
Storage Gateway operational state
-
-
Sample:
-
ACTIVE
- - - -   - +
Storage Gateway operational state
+
+
Sample:
+
ACTIVE
+ + + +   +
gateway_type
string -
- + + always -
Storage Gateway type
-
-
Sample:
-
FILE_S3
- - - -   - +
Storage Gateway type
+
+
Sample:
+
FILE_S3
+ + + +   +
local_disks
complex -
- + + always -
Storage gateway local disks
-
- +
Storage gateway local disks
+
+ - -   -   - + +   +   +
disk_allocation_type
string -
- + + always -
Disk allocation type
-
-
Sample:
-
CACHE STORAGE
- - - -   -   - +
Disk allocation type
+
+
Sample:
+
CACHE STORAGE
+ + + +   +   +
disk_id
string -
- + + always -
Disk ID on the system
-
-
Sample:
-
pci-0000:00:1f.0
- - - -   -   - +
Disk ID on the system
+
+
Sample:
+
pci-0000:00:1f.0
+ + + +   +   +
disk_node
string -
- + + always -
Disk parent block device
-
-
Sample:
-
/dev/sdb
- - - -   -   - +
Disk parent block device
+
+
Sample:
+
/dev/sdb
+ + + +   +   +
disk_path
string -
- + + always -
Disk path used for the cache
-
-
Sample:
-
/dev/nvme1n1
- - - -   -   - +
Disk path used for the cache
+
+
Sample:
+
/dev/nvme1n1
+ + + +   +   +
disk_size_in_bytes
integer -
- + + always -
Disk size in bytes
-
-
Sample:
-
107374182400
- - - -   -   - +
Disk size in bytes
+
+
Sample:
+
107374182400
+ + + +   +   +
disk_status
string -
- + + always -
Disk status
-
-
Sample:
-
present
- +
Disk status
+
+
Sample:
+
present
+ - - -   - + + +   +
tapes
complex -
- + + when gateway_type == "VTL" -
Storage Gateway tapes
-
- +
Storage Gateway tapes
+
+ - -   -   - + +   +   +
tape_arn
string -
- + + always -
Tape ARN
-
-
Sample:
-
arn:aws:storagegateway:eu-west-1:399805793479:tape/tape-AF999C88
- - - -   -   - +
Tape ARN
+
+
Sample:
+
arn:aws:storagegateway:eu-west-1:399805793479:tape/tape-AF999C88
+ + + +   +   +
tape_barcode
string -
- + + always -
Tape ARN
-
-
Sample:
-
tape-AF999C88
- - - -   -   - +
Tape ARN
+
+
Sample:
+
tape-AF999C88
+ + + +   +   +
tape_size_in_bytes
integer -
- + + always -
Tape ARN
-
-
Sample:
-
555887569
- - - -   -   - +
Tape ARN
+
+
Sample:
+
555887569
+ + + +   +   +
tape_status
string -
- + + always -
Tape ARN
-
-
Sample:
-
AVAILABLE
- +
Tape ARN
+
+
Sample:
+
AVAILABLE
+ - - - + + +

@@ -727,5 +744,3 @@ Authors ~~~~~~~ - Loic Blot (@nerzhul) - - diff --git a/docs/community.aws.aws_ssm_connection.rst b/docs/community.aws.aws_ssm_connection.rst index 0b49d10c44f..83d87eef8ef 100644 --- a/docs/community.aws.aws_ssm_connection.rst +++ b/docs/community.aws.aws_ssm_connection.rst @@ -22,7 +22,7 @@ Synopsis Requirements ------------ -The below requirements are needed on the local master node that executes this connection. +The below requirements are needed on the local Ansible controller node that executes this connection. - The remote EC2 instance must be running the AWS Systems Manager Agent (SSM Agent). - The control machine must have the aws session manager plugin installed. @@ -35,125 +35,125 @@ Parameters .. raw:: html - + - - + + - - + - - - + + + + + - - + - - - + + + + + - - + - - - + + + + + - - + - - - + + + + + - - + - - - + + + + + - - + - - - + + + + + -
Parameter Choices/DefaultsConfigurationCommentsConfigurationComments
+
bucket_name
- -
-
- -
var: ansible_aws_ssm_bucket_name
-
-
The name of the S3 bucket used for file transfers.
-
+ +
var: ansible_aws_ssm_bucket_name
+
+
The name of the S3 bucket used for file transfers.
+
+
instance_id
- -
-
- -
var: ansible_aws_ssm_instance_id
-
-
The EC2 instance ID.
-
+ +
var: ansible_aws_ssm_instance_id
+
+
The EC2 instance ID.
+
+
plugin
- -
-
- Default:
"/usr/local/bin/session-manager-plugin"
-
-
var: ansible_aws_ssm_plugin
-
-
This defines the location of the session-manager-plugin binary.
-
+ Default:
"/usr/local/bin/session-manager-plugin"
+
+
var: ansible_aws_ssm_plugin
+
+
This defines the location of the session-manager-plugin binary.
+
+
region
- -
-
- Default:
"us-east-1"
-
-
var: ansible_aws_ssm_region
-
-
The region the EC2 instance is located.
-
+ Default:
"us-east-1"
+
+
var: ansible_aws_ssm_region
+
+
The region the EC2 instance is located.
+
+
retries
integer -
-
- Default:
3
-
-
var: ansible_aws_ssm_retries
-
-
Number of attempts to connect.
-
+ Default:
3
+
+
var: ansible_aws_ssm_retries
+
+
Number of attempts to connect.
+
+
timeout
integer -
-
- Default:
60
-
-
var: ansible_aws_ssm_timeout
-
-
Connection timeout seconds.
-
+ Default:
60
+
+
var: ansible_aws_ssm_timeout
+
+
Connection timeout seconds.
+
+
@@ -164,8 +164,6 @@ Examples .. code-block:: yaml+jinja - - # Stop Spooler Process on Windows Instances - name: Stop Spooler Service on Windows Instances vars: @@ -258,7 +256,6 @@ Examples - Status ------ diff --git a/docs/community.aws.aws_ssm_parameter_store_module.rst b/docs/community.aws.aws_ssm_parameter_store_module.rst index 11ce603445f..61ecc63feda 100644 --- a/docs/community.aws.aws_ssm_parameter_store_module.rst +++ b/docs/community.aws.aws_ssm_parameter_store_module.rst @@ -37,302 +37,321 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
decryption
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Work with SecureString type to get plain text secrets
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Work with SecureString type to get plain text secrets
+
+
description
string -
-
- -
Parameter key description.
-
+ +
Parameter key description.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
key_id
string -
-
- Default:
"alias/aws/ssm"
-
-
AWS KMS key to decrypt the secrets.
-
The default key (alias/aws/ssm) is automatically generated the first time it's requested.
-
+ Default:
"alias/aws/ssm"
+
+
AWS KMS key to decrypt the secrets.
+
The default key (alias/aws/ssm) is automatically generated the first time it's requested.
+
+
name
string - / required
-
- -
Parameter key name.
-
+ +
Parameter key name.
+
+
overwrite_value
string -
-
-
    Choices: -
  • never
  • -
  • changed ←
  • -
  • always
  • -
-
-
Option to overwrite an existing value if it already exists.
-
+
    Choices: +
  • never
  • +
  • changed ←
  • +
  • always
  • +
+
+
Option to overwrite an existing value if it already exists.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Creates or modifies an existing parameter.
-
Deletes a parameter.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Creates or modifies an existing parameter.
+
Deletes a parameter.
+
+
string_type
string -
-
-
    Choices: -
  • String ←
  • -
  • StringList
  • -
  • SecureString
  • -
-
-
Parameter String type.
-
+
    Choices: +
  • String ←
  • +
  • StringList
  • +
  • SecureString
  • +
+
+
Parameter String type.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
value
string -
-
- -
Parameter value.
-
+ +
Parameter value.
+
+
@@ -340,7 +359,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -351,7 +370,6 @@ Examples .. code-block:: yaml+jinja - - name: Create or update key/value pair in aws parameter store community.aws.aws_ssm_parameter_store: name: "Hello" @@ -387,12 +405,11 @@ Examples overwrite_value: "always" - name: recommend to use with aws_ssm lookup plugin - debug: + ansible.builtin.debug: msg: "{{ lookup('amazon.aws.aws_ssm', 'hello') }}" - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -405,37 +422,37 @@ Common return values are documented `here Returned Description - - + +
delete_parameter
dictionary -
- + + success -
Delete a parameter from the system.
-
- +
Delete a parameter from the system.
+
+ - - + +
put_parameter
dictionary -
- + + success -
Add one or more parameters to the system.
-
- +
Add one or more parameters to the system.
+
+ - +

@@ -449,5 +466,3 @@ Authors - Nathan Webster (@nathanwebsterdotme) - Bill Wang (@ozbillwang) - Michael De La Rue (@mikedlr) - - diff --git a/docs/community.aws.aws_step_functions_state_machine_execution_module.rst b/docs/community.aws.aws_step_functions_state_machine_execution_module.rst index 05c37eeceeb..c739e85b155 100644 --- a/docs/community.aws.aws_step_functions_state_machine_execution_module.rst +++ b/docs/community.aws.aws_step_functions_state_machine_execution_module.rst @@ -35,273 +35,292 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
action
string -
-
-
    Choices: -
  • start ←
  • -
  • stop
  • -
-
-
Desired action (start or stop) for a state machine execution.
-
+
    Choices: +
  • start ←
  • +
  • stop
  • +
+
+
Desired action (start or stop) for a state machine execution.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cause
string -
-
- Default:
""
-
-
A detailed explanation of the cause for stopping the execution.
-
+ Default:
""
+
+
A detailed explanation of the cause for stopping the execution.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
error
string -
-
- Default:
""
-
-
The error code of the failure to pass in when stopping the execution.
-
+ Default:
""
+
+
The error code of the failure to pass in when stopping the execution.
+
+
execution_arn
string -
-
- -
The ARN of the execution you wish to stop.
-
+ +
The ARN of the execution you wish to stop.
+
+
execution_input
json -
-
- Default:
{}
-
-
The JSON input data for the execution.
-
+ Default:
{}
+
+
The JSON input data for the execution.
+
+
name
string -
-
- -
Name of the execution.
-
+ +
Name of the execution.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state_machine_arn
string -
-
- -
The ARN of the state machine that will be executed.
-
+ +
The ARN of the state machine that will be executed.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -309,7 +328,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -320,7 +339,6 @@ Examples .. code-block:: yaml+jinja - - name: Start an execution of a state machine community.aws.aws_step_functions_state_machine_execution: name: an_execution_name @@ -336,7 +354,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -349,58 +366,58 @@ Common return values are documented `here Returned Description - - + +
execution_arn
string -
- + + if action == start and changed == True -
ARN of the AWS Step Functions state machine execution.
-
-
Sample:
-
arn:aws:states:us-west-2:682285639423:execution:HelloWorldStateMachineCopy:a1e8e2b5-5dfe-d40e-d9e3-6201061047c8
- +
ARN of the AWS Step Functions state machine execution.
+
+
Sample:
+
arn:aws:states:us-west-2:682285639423:execution:HelloWorldStateMachineCopy:a1e8e2b5-5dfe-d40e-d9e3-6201061047c8
+ - - + +
start_date
string -
- + + if action == start and changed == True -
The date the execution is started.
-
-
Sample:
-
2019-11-02T22:39:49.071000-07:00
- +
The date the execution is started.
+
+
Sample:
+
2019-11-02T22:39:49.071000-07:00
+ - - + +
stop_date
string -
- + + if action == stop -
The date the execution is stopped.
-
-
Sample:
-
2019-11-02T22:39:49.071000-07:00
- +
The date the execution is stopped.
+
+
Sample:
+
2019-11-02T22:39:49.071000-07:00
+ - +

@@ -412,5 +429,3 @@ Authors ~~~~~~~ - Prasad Katti (@prasadkatti) - - diff --git a/docs/community.aws.aws_step_functions_state_machine_module.rst b/docs/community.aws.aws_step_functions_state_machine_module.rst index 2d328f29b1a..dff3042b9aa 100644 --- a/docs/community.aws.aws_step_functions_state_machine_module.rst +++ b/docs/community.aws.aws_step_functions_state_machine_module.rst @@ -36,261 +36,280 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
definition
json -
-
- -
The Amazon States Language definition of the state machine. See https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html for more information on the Amazon States Language.
-
This parameter is required when state=present.
-
+ +
The Amazon States Language definition of the state machine. See https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html for more information on the Amazon States Language.
+
This parameter is required when state=present.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Name of the state machine
-
+ +
Name of the state machine
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tags parameter is not set then tags will not be modified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tags parameter is not set then tags will not be modified.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string -
-
- -
The ARN of the IAM Role that will be used by the state machine for its executions.
-
This parameter is required when state=present.
-
+ +
The ARN of the IAM Role that will be used by the state machine for its executions.
+
This parameter is required when state=present.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Desired state for the state machine
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Desired state for the state machine
+
+
tags
dictionary -
-
- -
A hash/dictionary of tags to add to the new state machine or to add/remove from an existing one.
-
+ +
A hash/dictionary of tags to add to the new state machine or to add/remove from an existing one.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -298,7 +317,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -309,7 +328,6 @@ Examples .. code-block:: yaml+jinja - # Create a new AWS Step Functions state machine - name: Setup HelloWorld state machine community.aws.aws_step_functions_state_machine: @@ -336,7 +354,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -349,22 +366,22 @@ Common return values are documented `here Returned Description - - + +
state_machine_arn
string -
- + + always -
ARN of the AWS Step Functions state machine
-
- +
ARN of the AWS Step Functions state machine
+
+ - +

@@ -376,5 +393,3 @@ Authors ~~~~~~~ - Tom De Keyser (@tdekeyser) - - diff --git a/docs/community.aws.aws_waf_condition_module.rst b/docs/community.aws.aws_waf_condition_module.rst index daad2ff6c8f..4fe42e72fd5 100644 --- a/docs/community.aws.aws_waf_condition_module.rst +++ b/docs/community.aws.aws_waf_condition_module.rst @@ -35,518 +35,537 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
list - / elements=dictionary
-
- -
A list of the filters against which to match.
-
For type=byte, valid keys are field_to_match, position, header, transformation and target_string.
-
For type=geo, the only valid key is country.
-
For type=ip, the only valid key is ip_address.
-
For type=regex, valid keys are field_to_match, transformation and regex_pattern.
-
For type=size, valid keys are field_to_match, transformation, comparison and size.
-
For type=sql, valid keys are field_to_match and transformation.
-
For type=xss, valid keys are field_to_match and transformation.
-
Required when state=present.
-
+ / elements=dictionary + + +
A list of the filters against which to match.
+
For type=byte, valid keys are field_to_match, position, header, transformation and target_string.
+
For type=geo, the only valid key is country.
+
For type=ip, the only valid key is ip_address.
+
For type=regex, valid keys are field_to_match, transformation and regex_pattern.
+
For type=size, valid keys are field_to_match, transformation, comparison and size.
+
For type=sql, valid keys are field_to_match and transformation.
+
For type=xss, valid keys are field_to_match and transformation.
+
Required when state=present.
+
comparison
string -
-
-
    Choices: -
  • EQ
  • -
  • NE
  • -
  • LE
  • -
  • LT
  • -
  • GE
  • -
  • GT
  • -
-
-
What type of comparison to perform.
-
Only valid key when type=size.
-
+
    Choices: +
  • EQ
  • +
  • NE
  • +
  • LE
  • +
  • LT
  • +
  • GE
  • +
  • GT
  • +
+
+
What type of comparison to perform.
+
Only valid key when type=size.
+
+
country
string -
-
- -
Value of geo constraint (typically a two letter country code).
-
The only valid key when type=geo.
-
+ +
Value of geo constraint (typically a two letter country code).
+
The only valid key when type=geo.
+
+
field_to_match
string -
-
-
    Choices: -
  • uri
  • -
  • query_string
  • -
  • header
  • -
  • method
  • -
  • body
  • -
-
-
The field upon which to perform the match.
-
Valid when type=byte, type=regex, type=sql or type=xss.
-
+
    Choices: +
  • uri
  • +
  • query_string
  • +
  • header
  • +
  • method
  • +
  • body
  • +
+
+
The field upon which to perform the match.
+
Valid when type=byte, type=regex, type=sql or type=xss.
+
+
header
string -
-
- -
Which specific header should be matched.
-
Required when field_to_match=header.
-
Valid when type=byte.
-
+ + + +
Which specific header should be matched.
+
Required when field_to_match=header.
+
Valid when type=byte.
+
ip_address
string -
-
- -
An IP Address or CIDR to match.
-
The only valid key when type=ip.
-
+ +
An IP Address or CIDR to match.
+
The only valid key when type=ip.
+
+
position
string -
-
-
    Choices: -
  • exactly
  • -
  • starts_with
  • -
  • ends_with
  • -
  • contains
  • -
  • contains_word
  • -
-
-
Where in the field the match needs to occur.
-
Only valid when type=byte.
-
+
    Choices: +
  • exactly
  • +
  • starts_with
  • +
  • ends_with
  • +
  • contains
  • +
  • contains_word
  • +
+
+
Where in the field the match needs to occur.
+
Only valid when type=byte.
+
+
regex_pattern
dictionary -
-
- -
A dict describing the regular expressions used to perform the match.
-
Only valid when type=regex.
-
+ + + +
A dict describing the regular expressions used to perform the match.
+
Only valid when type=regex.
+
name
string -
-
- -
A name to describe the set of patterns.
-
+ +
A name to describe the set of patterns.
+
+
regex_strings
list - / elements=string
-
- -
A list of regular expressions to match.
-
+ / elements=string + + +
A list of regular expressions to match.
+
size
integer -
-
- -
The size of the field (in bytes).
-
Only valid key when type=size.
-
+ +
The size of the field (in bytes).
+
Only valid key when type=size.
+
+
target_string
string -
-
- -
The string to search for.
-
May be up to 50 bytes.
-
Valid when type=byte.
-
+ + + +
The string to search for.
+
May be up to 50 bytes.
+
Valid when type=byte.
+
transformation
string -
-
-
    Choices: -
  • none
  • -
  • compress_white_space
  • -
  • html_entity_decode
  • -
  • lowercase
  • -
  • cmd_line
  • -
  • url_decode
  • -
-
-
A transform to apply on the field prior to performing the match.
-
Valid when type=byte, type=regex, type=sql or type=xss.
-
+ + +
    Choices: +
  • none
  • +
  • compress_white_space
  • +
  • html_entity_decode
  • +
  • lowercase
  • +
  • cmd_line
  • +
  • url_decode
  • +
+
+
A transform to apply on the field prior to performing the match.
+
Valid when type=byte, type=regex, type=sql or type=xss.
+
name
string - / required
-
- -
Name of the Web Application Firewall condition to manage.
-
+ +
Name of the Web Application Firewall condition to manage.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_filters
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to remove existing filters from a condition if not passed in filters.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to remove existing filters from a condition if not passed in filters.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the condition should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the condition should be present or absent.
+
+
type
string - / required
-
-
    Choices: -
  • byte
  • -
  • geo
  • -
  • ip
  • -
  • regex
  • -
  • size
  • -
  • sql
  • -
  • xss
  • -
-
-
The type of matching to perform.
-
+
    Choices: +
  • byte
  • +
  • geo
  • +
  • ip
  • +
  • regex
  • +
  • size
  • +
  • sql
  • +
  • xss
  • +
+
+
The type of matching to perform.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
waf_regional
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to use waf-regional module.
-
+ + + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+ + +
Whether to use waf-regional module.
+ + +
@@ -554,7 +573,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -565,8 +584,7 @@ Examples .. code-block:: yaml+jinja - - - name: create WAF byte condition + - name: create WAF byte condition community.aws.aws_waf_condition: name: my_byte_condition filters: @@ -633,8 +651,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -647,780 +663,780 @@ Common return values are documented `here Returned Description - - + +
condition
complex -
- + + always -
Condition returned by operation.
-
- +
Condition returned by operation.
+
+ - -   - + +   +
byte_match_set_id
string -
- + + always -
ID for byte match set.
-
-
Sample:
-
c4882c96-837b-44a2-a762-4ea87dbf812b
- - - -   - +
ID for byte match set.
+
+
Sample:
+
c4882c96-837b-44a2-a762-4ea87dbf812b
+ + + +   +
byte_match_tuples
complex -
- + + always -
List of byte match tuples.
-
- +
List of byte match tuples.
+
+ - -   -   - + +   +   +
field_to_match
complex -
- + + always -
Field to match.
-
- +
Field to match.
+
+ - -   -   -   - + +   +   +   +
data
string -
- + + -
Which specific header (if type is header).
-
-
Sample:
-
content-type
- - - -   -   -   - +
Which specific header (if type is header).
+
+
Sample:
+
content-type
+ + + +   +   +   +
type
string -
- + + -
Type of field
-
-
Sample:
-
HEADER
- - - - -   -   - +
Type of field
+
+
Sample:
+
HEADER
+ + + + +   +   +
positional_constraint
string -
- + + -
Position in the field to match.
-
-
Sample:
-
STARTS_WITH
- - - -   -   - +
Position in the field to match.
+
+
Sample:
+
STARTS_WITH
+ + + +   +   +
target_string
string -
- + + -
String to look for.
-
-
Sample:
-
Hello
- - - -   -   - +
String to look for.
+
+
Sample:
+
Hello
+ + + +   +   +
text_transformation
string -
- + + -
Transformation to apply to the field before matching.
-
-
Sample:
-
NONE
- +
Transformation to apply to the field before matching.
+
+
Sample:
+
NONE
+ - - -   - + + +   +
condition_id
string -
- + + when state is present -
Type-agnostic ID for the condition.
-
-
Sample:
-
dd74b1ff-8c06-4a4f-897a-6b23605de413
- - - -   - +
Type-agnostic ID for the condition.
+
+
Sample:
+
dd74b1ff-8c06-4a4f-897a-6b23605de413
+ + + +   +
geo_match_constraints
complex -
- + + when type is geo and state is present -
List of geographical constraints.
-
- +
List of geographical constraints.
+
+ - -   -   - + +   +   +
type
string -
- + + -
Type of geo constraint.
-
-
Sample:
-
Country
- - - -   -   - +
Type of geo constraint.
+
+
Sample:
+
Country
+ + + +   +   +
value
string -
- + + -
Value of geo constraint (typically a country code).
-
-
Sample:
-
AT
- +
Value of geo constraint (typically a country code).
+
+
Sample:
+
AT
+ - - -   - + + +   +
geo_match_set_id
string -
- + + when type is geo and state is present -
ID of the geo match set.
-
-
Sample:
-
dd74b1ff-8c06-4a4f-897a-6b23605de413
- - - -   - +
ID of the geo match set.
+
+
Sample:
+
dd74b1ff-8c06-4a4f-897a-6b23605de413
+ + + +   +
ip_set_descriptors
complex -
- + + when type is ip and state is present -
list of IP address filters
-
- +
list of IP address filters
+
+ - -   -   - + +   +   +
type
string -
- + + always -
Type of IP address (IPV4 or IPV6).
-
-
Sample:
-
IPV4
- - - -   -   - +
Type of IP address (IPV4 or IPV6).
+
+
Sample:
+
IPV4
+ + + +   +   +
value
string -
- + + always -
IP address.
-
-
Sample:
-
10.0.0.0/8
- +
IP address.
+
+
Sample:
+
10.0.0.0/8
+ - - -   - + + +   +
ip_set_id
string -
- + + when type is ip and state is present -
ID of condition.
-
-
Sample:
-
78ad334a-3535-4036-85e6-8e11e745217b
- - - -   - +
ID of condition.
+
+
Sample:
+
78ad334a-3535-4036-85e6-8e11e745217b
+ + + +   +
name
string -
- + + when state is present -
Name of condition.
-
-
Sample:
-
my_waf_condition
- - - -   - +
Name of condition.
+
+
Sample:
+
my_waf_condition
+ + + +   +
regex_match_set_id
string -
- + + when type is regex and state is present -
ID of the regex match set.
-
-
Sample:
-
5ea3f6a8-3cd3-488b-b637-17b79ce7089c
- - - -   - +
ID of the regex match set.
+
+
Sample:
+
5ea3f6a8-3cd3-488b-b637-17b79ce7089c
+ + + +   +
regex_match_tuples
complex -
- + + when type is regex and state is present -
List of regex matches.
-
- +
List of regex matches.
+
+ - -   -   - + +   +   +
field_to_match
complex -
- + + -
Field on which the regex match is applied.
-
- +
Field on which the regex match is applied.
+
+ - -   -   -   - + +   +   +   +
type
string -
- + + when type is regex and state is present -
The field name.
-
-
Sample:
-
QUERY_STRING
- - - - -   -   - +
The field name.
+
+
Sample:
+
QUERY_STRING
+ + + + +   +   +
regex_pattern_set_id
string -
- + + -
ID of the regex pattern.
-
-
Sample:
-
6fdf7f2d-9091-445c-aef2-98f3c051ac9e
- - - -   -   - +
ID of the regex pattern.
+
+
Sample:
+
6fdf7f2d-9091-445c-aef2-98f3c051ac9e
+ + + +   +   +
text_transformation
string -
- + + -
transformation applied to the text before matching
-
-
Sample:
-
NONE
- +
transformation applied to the text before matching
+
+
Sample:
+
NONE
+ - - -   - + + +   +
size_constraint_set_id
string -
- + + when type is size and state is present -
ID of the size constraint set.
-
-
Sample:
-
de84b4b3-578b-447e-a9a0-0db35c995656
- - - -   - +
ID of the size constraint set.
+
+
Sample:
+
de84b4b3-578b-447e-a9a0-0db35c995656
+ + + +   +
size_constraints
complex -
- + + when type is size and state is present -
List of size constraints to apply.
-
- +
List of size constraints to apply.
+
+ - -   -   - + +   +   +
comparison_operator
string -
- + + -
Comparison operator to apply.
-
-
Sample:
-
GT
- - - -   -   - +
Comparison operator to apply.
+
+
Sample:
+
GT
+ + + +   +   +
field_to_match
complex -
- + + -
Field on which the size constraint is applied.
-
- +
Field on which the size constraint is applied.
+
+ - -   -   -   - + +   +   +   +
type
string -
- + + -
Field name.
-
-
Sample:
-
QUERY_STRING
- - - - -   -   - +
Field name.
+
+
Sample:
+
QUERY_STRING
+ + + + +   +   +
size
integer -
- + + -
Size to compare against the field.
-
-
Sample:
-
300
- - - -   -   - +
Size to compare against the field.
+
+
Sample:
+
300
+ + + +   +   +
text_transformation
string -
- + + -
Transformation applied to the text before matching.
-
-
Sample:
-
NONE
- +
Transformation applied to the text before matching.
+
+
Sample:
+
NONE
+ - - -   - + + +   +
sql_injection_match_set_id
string -
- + + when type is sql and state is present -
ID of the SQL injection match set.
-
-
Sample:
-
de84b4b3-578b-447e-a9a0-0db35c995656
- - - -   - +
ID of the SQL injection match set.
+
+
Sample:
+
de84b4b3-578b-447e-a9a0-0db35c995656
+ + + +   +
sql_injection_match_tuples
complex -
- + + when type is sql and state is present -
List of SQL injection match sets.
-
- +
List of SQL injection match sets.
+
+ - -   -   - + +   +   +
field_to_match
complex -
- + + -
Field on which the SQL injection match is applied.
-
- +
Field on which the SQL injection match is applied.
+
+ - -   -   -   - + +   +   +   +
type
string -
- + + -
Field name.
-
-
Sample:
-
QUERY_STRING
- - - - -   -   - +
Field name.
+
+
Sample:
+
QUERY_STRING
+ + + + +   +   +
text_transformation
string -
- + + -
Transformation applied to the text before matching.
-
-
Sample:
-
URL_DECODE
- +
Transformation applied to the text before matching.
+
+
Sample:
+
URL_DECODE
+ - - -   - + + +   +
xss_match_set_id
string -
- + + when type is xss and state is present -
ID of the XSS match set.
-
-
Sample:
-
de84b4b3-578b-447e-a9a0-0db35c995656
- - - -   - +
ID of the XSS match set.
+
+
Sample:
+
de84b4b3-578b-447e-a9a0-0db35c995656
+ + + +   +
xss_match_tuples
complex -
- + + when type is xss and state is present -
List of XSS match sets.
-
- +
List of XSS match sets.
+
+ - -   -   - + +   +   +
field_to_match
complex -
- + + -
Field on which the XSS match is applied.
-
- +
Field on which the XSS match is applied.
+
+ - -   -   -   - + +   +   +   +
type
string -
- + + -
Field name
-
-
Sample:
-
QUERY_STRING
- - - - -   -   - +
Field name
+
+
Sample:
+
QUERY_STRING
+ + + + +   +   +
text_transformation
string -
- + + -
transformation applied to the text before matching.
-
-
Sample:
-
URL_DECODE
- +
transformation applied to the text before matching.
+
+
Sample:
+
URL_DECODE
+ - - - + + +

@@ -1433,5 +1449,3 @@ Authors - Will Thames (@willthames) - Mike Mochan (@mmochan) - - diff --git a/docs/community.aws.aws_waf_info_module.rst b/docs/community.aws.aws_waf_info_module.rst index 3965f03e249..61c8b7ae285 100644 --- a/docs/community.aws.aws_waf_info_module.rst +++ b/docs/community.aws.aws_waf_info_module.rst @@ -37,195 +37,214 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string -
-
- -
The name of a Web Application Firewall.
-
+ +
The name of a Web Application Firewall.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
waf_regional
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to use the waf-regional module.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to use the waf-regional module.
+
+
@@ -233,7 +252,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -244,7 +263,6 @@ Examples .. code-block:: yaml+jinja - - name: obtain all WAF information community.aws.aws_waf_info: @@ -259,7 +277,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -272,170 +289,170 @@ Common return values are documented `here Returned Description - - + +
wafs
complex -
- + + success -
The WAFs that match the passed arguments.
-
- +
The WAFs that match the passed arguments.
+
+ - -   - + +   +
default_action
integer -
- + + always -
The action to perform if none of the Rules contained in the WebACL match.
-
-
Sample:
-
BLOCK
- +
The action to perform if none of the Rules contained in the WebACL match.
+
+
Sample:
+
BLOCK
+ - -   - + +   +
metric_name
string -
- + + always -
A friendly name or description for the metrics for this WebACL.
-
-
Sample:
-
test_waf_metric
- +
A friendly name or description for the metrics for this WebACL.
+
+
Sample:
+
test_waf_metric
+ - -   - + +   +
name
string -
- + + always -
A friendly name or description of the WebACL.
-
-
Sample:
-
test_waf
- +
A friendly name or description of the WebACL.
+
+
Sample:
+
test_waf
+ - -   - + +   +
rules
complex -
- + + always -
An array that contains the action for each Rule in a WebACL , the priority of the Rule.
-
- +
An array that contains the action for each Rule in a WebACL , the priority of the Rule.
+
+ - -   -   - + +   +   +
action
string -
- + + always -
The action to perform if the Rule matches.
-
-
Sample:
-
BLOCK
- +
The action to perform if the Rule matches.
+
+
Sample:
+
BLOCK
+ - -   -   - + +   +   +
metric_name
string -
- + + always -
A friendly name or description for the metrics for this Rule.
-
-
Sample:
-
ipblockrule
- +
A friendly name or description for the metrics for this Rule.
+
+
Sample:
+
ipblockrule
+ - -   -   - + +   +   +
name
string -
- + + always -
A friendly name or description of the Rule.
-
-
Sample:
-
ip_block_rule
- +
A friendly name or description of the Rule.
+
+
Sample:
+
ip_block_rule
+ - -   -   - + +   +   +
predicates
list -
- + + always -
The Predicates list contains a Predicate for each ByteMatchSet, IPSet, SizeConstraintSet, SqlInjectionMatchSet or XssMatchSet object in a Rule.
-
-
Sample:
-
[{'byte_match_set_id': '47b822b5-abcd-1234-faaf-1234567890', 'byte_match_tuples': [{'field_to_match': {'type': 'QUERY_STRING'}, 'positional_constraint': 'STARTS_WITH', 'target_string': 'bobbins', 'text_transformation': 'NONE'}], 'name': 'bobbins', 'negated': False, 'type': 'ByteMatch'}]
- +
The Predicates list contains a Predicate for each ByteMatchSet, IPSet, SizeConstraintSet, SqlInjectionMatchSet or XssMatchSet object in a Rule.
+
+
Sample:
+
[{'byte_match_set_id': '47b822b5-abcd-1234-faaf-1234567890', 'byte_match_tuples': [{'field_to_match': {'type': 'QUERY_STRING'}, 'positional_constraint': 'STARTS_WITH', 'target_string': 'bobbins', 'text_transformation': 'NONE'}], 'name': 'bobbins', 'negated': False, 'type': 'ByteMatch'}]
+ - - - + + +

@@ -448,5 +465,3 @@ Authors - Mike Mochan (@mmochan) - Will Thames (@willthames) - - diff --git a/docs/community.aws.aws_waf_rule_module.rst b/docs/community.aws.aws_waf_rule_module.rst index d81a277862b..d90ed10f9c1 100644 --- a/docs/community.aws.aws_waf_rule_module.rst +++ b/docs/community.aws.aws_waf_rule_module.rst @@ -35,327 +35,346 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + / required + + + - - - + + - - + / required + + + - - - + + - - + / required + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
conditions
list - / elements=dictionary
-
- -
List of conditions used in the rule. community.aws.aws_waf_condition can be used to create new conditions.
-
+ +
List of conditions used in the rule. community.aws.aws_waf_condition can be used to create new conditions.
+
+
condition
string - / required
-
- -
The name of the condition. The condition must already exist.
-
+ +
The name of the condition. The condition must already exist.
+
+
negated
boolean - / required
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether the condition should be negated.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether the condition should be negated.
+
+
type
string - / required
-
-
    Choices: -
  • byte
  • -
  • geo
  • -
  • ip
  • -
  • size
  • -
  • sql
  • -
  • xss
  • -
-
-
The type of rule to match.
-
+
    Choices: +
  • byte
  • +
  • geo
  • +
  • ip
  • +
  • size
  • +
  • sql
  • +
  • xss
  • +
+
+
The type of rule to match.
+
+ +
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
metric_name
string -
-
- -
A friendly name or description for the metrics for the rule.
-
The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace.
-
You can't change metric_name after you create the rule.
-
Defaults to the same as name with disallowed characters removed.
-
+ +
A friendly name or description for the metrics for the rule.
+
The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace.
+
You can't change metric_name after you create the rule.
+
Defaults to the same as name with disallowed characters removed.
+
+
name
string - / required
-
- -
Name of the Web Application Firewall rule.
-
+ +
Name of the Web Application Firewall rule.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_conditions
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to remove conditions that are not passed when updating `conditions`.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to remove conditions that are not passed when updating `conditions`.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the rule should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the rule should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
waf_regional
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to use waf-regional module.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to use waf-regional module.
+
+
@@ -363,7 +382,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -374,9 +393,7 @@ Examples .. code-block:: yaml+jinja - - - - name: create WAF rule + - name: create WAF rule community.aws.aws_waf_rule: name: my_waf_rule conditions: @@ -397,8 +414,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -411,149 +426,149 @@ Common return values are documented `here Returned Description - - + +
rule
complex -
- + + always -
WAF rule contents
-
- +
WAF rule contents
+
+ - -   - + +   +
metric_name
string -
- + + always -
Metric name for the rule.
-
-
Sample:
-
ansibletest1234rule
- +
Metric name for the rule.
+
+
Sample:
+
ansibletest1234rule
+ - -   - + +   +
name
string -
- + + always -
Friendly name for the rule.
-
-
Sample:
-
ansible-test-1234_rule
- +
Friendly name for the rule.
+
+
Sample:
+
ansible-test-1234_rule
+ - -   - + +   +
predicates
complex -
- + + always -
List of conditions used in the rule.
-
- +
List of conditions used in the rule.
+
+ - -   -   - + +   +   +
data_id
string -
- + + always -
ID of the condition.
-
-
Sample:
-
8251acdb-526c-42a8-92bc-d3d13e584166
- +
ID of the condition.
+
+
Sample:
+
8251acdb-526c-42a8-92bc-d3d13e584166
+ - -   -   - + +   +   +
negated
boolean -
- + + always -
Whether the sense of the condition is negated.
-
- +
Whether the sense of the condition is negated.
+
+ - -   -   - + +   +   +
type
string -
- + + always -
type of the condition.
-
-
Sample:
-
ByteMatch
- +
type of the condition.
+
+
Sample:
+
ByteMatch
+ - - -   - + + +   +
rule_id
string -
- + + always -
ID of the WAF rule.
-
-
Sample:
-
15de0cbc-9204-4e1f-90e6-69b2f415c261
- +
ID of the WAF rule.
+
+
Sample:
+
15de0cbc-9204-4e1f-90e6-69b2f415c261
+ - - + +

@@ -566,5 +581,3 @@ Authors - Mike Mochan (@mmochan) - Will Thames (@willthames) - - diff --git a/docs/community.aws.aws_waf_web_acl_module.rst b/docs/community.aws.aws_waf_web_acl_module.rst index 3412fb29f51..0a6c11d9ef8 100644 --- a/docs/community.aws.aws_waf_web_acl_module.rst +++ b/docs/community.aws.aws_waf_web_acl_module.rst @@ -35,355 +35,374 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + / required + + + - - - + + - - + / required + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
default_action
string -
-
-
    Choices: -
  • block
  • -
  • allow
  • -
  • count
  • -
-
-
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.
-
+
    Choices: +
  • block
  • +
  • allow
  • +
  • count
  • +
+
+
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
metric_name
string -
-
- -
A friendly name or description for the metrics for this WebACL.
-
The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace.
-
You can't change metric_name after you create the WebACL.
-
Metric name will default to name with disallowed characters stripped out.
-
+ +
A friendly name or description for the metrics for this WebACL.
+
The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace.
+
You can't change metric_name after you create the WebACL.
+
Metric name will default to name with disallowed characters stripped out.
+
+
name
string - / required
-
- -
Name of the Web Application Firewall ACL to manage.
-
+ +
Name of the Web Application Firewall ACL to manage.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_rules
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to remove rules that aren't passed with rules.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to remove rules that aren't passed with rules.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
rules
list - / elements=dictionary
-
- -
A list of rules that the Web ACL will enforce.
-
+ +
A list of rules that the Web ACL will enforce.
+
+
action
string - / required
-
- -
The action to perform.
-
+ +
The action to perform.
+
+
name
string - / required
-
- -
Name of the rule.
-
+ +
Name of the rule.
+
+
priority
integer - / required
-
- -
The priority of the action. Priorities must be unique. Lower numbered priorities are evaluated first.
-
+ +
The priority of the action. Priorities must be unique. Lower numbered priorities are evaluated first.
+
+
type
string -
-
-
    Choices: -
  • rate_based
  • -
  • regular
  • -
-
-
The type of rule.
-
+
    Choices: +
  • rate_based
  • +
  • regular
  • +
+
+
The type of rule.
+
+ +
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the Web ACL should be present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the Web ACL should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
waf_regional
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to use waf-regional module.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to use waf-regional module.
+
+
@@ -391,7 +410,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -402,8 +421,7 @@ Examples .. code-block:: yaml+jinja - - - name: create web ACL + - name: create web ACL community.aws.aws_waf_web_acl: name: my_web_acl rules: @@ -421,7 +439,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -434,188 +451,188 @@ Common return values are documented `here Returned Description - - + +
web_acl
complex -
- + + always -
contents of the Web ACL.
-
- +
contents of the Web ACL.
+
+ - -   - + +   +
default_action
dictionary -
- + + always -
Default action taken by the Web ACL if no rules match.
-
-
Sample:
-
{'type': 'BLOCK'}
- +
Default action taken by the Web ACL if no rules match.
+
+
Sample:
+
{'type': 'BLOCK'}
+ - -   - + +   +
metric_name
string -
- + + always -
Metric name used as an identifier.
-
-
Sample:
-
mywebacl
- +
Metric name used as an identifier.
+
+
Sample:
+
mywebacl
+ - -   - + +   +
name
string -
- + + always -
Friendly name of the Web ACL.
-
-
Sample:
-
my web acl
- +
Friendly name of the Web ACL.
+
+
Sample:
+
my web acl
+ - -   - + +   +
rules
complex -
- + + always -
List of rules.
-
- +
List of rules.
+
+ - -   -   - + +   +   +
action
complex -
- + + always -
Action taken by the WAF when the rule matches.
-
-
Sample:
-
{'type': 'ALLOW'}
- +
Action taken by the WAF when the rule matches.
+
+
Sample:
+
{'type': 'ALLOW'}
+ - -   -   - + +   +   +
priority
integer -
- + + always -
priority number of the rule (lower numbers are run first).
-
-
Sample:
-
2
- +
priority number of the rule (lower numbers are run first).
+
+
Sample:
+
2
+ - -   -   - + +   +   +
rule_id
string -
- + + always -
Rule ID.
-
-
Sample:
-
a6fc7ab5-287b-479f-8004-7fd0399daf75
- +
Rule ID.
+
+
Sample:
+
a6fc7ab5-287b-479f-8004-7fd0399daf75
+ - -   -   - + +   +   +
type
string -
- + + always -
Type of rule (either REGULAR or RATE_BASED).
-
-
Sample:
-
REGULAR
- +
Type of rule (either REGULAR or RATE_BASED).
+
+
Sample:
+
REGULAR
+ - - -   - + + +   +
web_acl_id
string -
- + + always -
Unique identifier of Web ACL.
-
-
Sample:
-
10fff965-4b6b-46e2-9d78-24f6d2e2d21c
- +
Unique identifier of Web ACL.
+
+
Sample:
+
10fff965-4b6b-46e2-9d78-24f6d2e2d21c
+ - - + +

@@ -628,5 +645,3 @@ Authors - Mike Mochan (@mmochan) - Will Thames (@willthames) - - diff --git a/docs/community.aws.cloudformation_exports_info_module.rst b/docs/community.aws.cloudformation_exports_info_module.rst index 474a5e4b682..da610f3d474 100644 --- a/docs/community.aws.cloudformation_exports_info_module.rst +++ b/docs/community.aws.cloudformation_exports_info_module.rst @@ -36,161 +36,180 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -198,7 +217,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -209,18 +228,16 @@ Examples .. code-block:: yaml+jinja - - name: Get Exports community.aws.cloudformation_exports_info: profile: 'my_aws_profile' region: 'my_region' register: cf_exports - - debug: + - ansible.builtin.debug: msg: "{{ cf_exports }}" - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -233,22 +250,22 @@ Common return values are documented `here Returned Description - - + +
export_items
dictionary -
- + + Always -
A dictionary of Exports items names and values.
-
- +
A dictionary of Exports items names and values.
+
+ - +

@@ -260,5 +277,3 @@ Authors ~~~~~~~ - Michael Moyle (@mmoyle) - - diff --git a/docs/community.aws.cloudformation_stack_set_module.rst b/docs/community.aws.cloudformation_stack_set_module.rst index 1e689c49184..a7ba8a2aac1 100644 --- a/docs/community.aws.cloudformation_stack_set_module.rst +++ b/docs/community.aws.cloudformation_stack_set_module.rst @@ -37,527 +37,546 @@ Parameters .. raw:: html - + - + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
accounts
list - / elements=string
-
- -
A list of AWS accounts in which to create instance of CloudFormation stacks.
-
At least one region must be specified to create a stack set. On updates, if fewer regions are specified only the specified regions will have their stack instances updated.
-
+ +
A list of AWS accounts in which to create instance of CloudFormation stacks.
+
At least one region must be specified to create a stack set. On updates, if fewer regions are specified only the specified regions will have their stack instances updated.
+
+
administration_role_arn
string -
-
- -
ARN of the administration role, meaning the role that CloudFormation Stack Sets use to assume the roles in your child accounts.
-
This defaults to arn:aws:iam::{{ account ID }}:role/AWSCloudFormationStackSetAdministrationRole where {{ account ID }} is replaced with the account number of the current IAM role/user/STS credentials.
-

aliases: admin_role_arn, admin_role, administration_role
-
+ +
ARN of the administration role, meaning the role that CloudFormation Stack Sets use to assume the roles in your child accounts.
+
This defaults to arn:aws:iam::{{ account ID }}:role/AWSCloudFormationStackSetAdministrationRole where {{ account ID }} is replaced with the account number of the current IAM role/user/STS credentials.
+

aliases: admin_role_arn, admin_role, administration_role
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
capabilities
list - / elements=string
-
-
    Choices: -
  • CAPABILITY_IAM
  • -
  • CAPABILITY_NAMED_IAM
  • -
-
-
Capabilities allow stacks to create and modify IAM resources, which may include adding users or roles.
-
Currently the only available values are 'CAPABILITY_IAM' and 'CAPABILITY_NAMED_IAM'. Either or both may be provided.
-
The following resources require that one or both of these parameters is specified: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::IAM::UserToGroupAddition
-
+
    Choices: +
  • CAPABILITY_IAM
  • +
  • CAPABILITY_NAMED_IAM
  • +
+
+
Capabilities allow stacks to create and modify IAM resources, which may include adding users or roles.
+
Currently the only available values are 'CAPABILITY_IAM' and 'CAPABILITY_NAMED_IAM'. Either or both may be provided.
+
The following resources require that one or both of these parameters is specified: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::IAM::UserToGroupAddition
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A description of what this stack set creates.
-
+ +
A description of what this stack set creates.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
execution_role_name
string -
-
- -
ARN of the execution role, meaning the role that CloudFormation Stack Sets assumes in your child accounts.
-
This MUST NOT be an ARN, and the roles must exist in each child account specified.
-
The default name for the execution role is AWSCloudFormationStackSetExecutionRole
-

aliases: exec_role_name, exec_role, execution_role
-
+ + + +
ARN of the execution role, meaning the role that CloudFormation Stack Sets assumes in your child accounts.
+
This MUST NOT be an ARN, and the roles must exist in each child account specified.
+
The default name for the execution role is AWSCloudFormationStackSetExecutionRole
+

aliases: exec_role_name, exec_role, execution_role
+
failure_tolerance
dictionary -
-
- -
Settings to change what is considered "failed" when running stack instance updates, and how many to do at a time.
-
+ + + +
Settings to change what is considered "failed" when running stack instance updates, and how many to do at a time.
+
fail_count
integer -
-
- -
The number of accounts, per region, for which this operation can fail before CloudFormation stops the operation in that region.
-
You must specify one of fail_count and fail_percentage.
-
+ +
The number of accounts, per region, for which this operation can fail before CloudFormation stops the operation in that region.
+
You must specify one of fail_count and fail_percentage.
+
+
fail_percentage
integer -
-
- -
The percentage of accounts, per region, for which this stack operation can fail before CloudFormation stops the operation in that region.
-
You must specify one of fail_count and fail_percentage.
-
+ +
The percentage of accounts, per region, for which this stack operation can fail before CloudFormation stops the operation in that region.
+
You must specify one of fail_count and fail_percentage.
+
+
parallel_count
integer -
-
- -
The maximum number of accounts in which to perform this operation at one time.
-
parallel_count may be at most one more than the fail_count.
-
You must specify one of parallel_count and parallel_percentage.
-
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual count may be lower.
-
+ + + +
The maximum number of accounts in which to perform this operation at one time.
+
parallel_count may be at most one more than the fail_count.
+
You must specify one of parallel_count and parallel_percentage.
+
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual count may be lower.
+
parallel_percentage
integer -
-
- -
The maximum percentage of accounts in which to perform this operation at one time.
-
You must specify one of parallel_count and parallel_percentage.
-
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual percentage may be lower.
-
+ + + +
The maximum percentage of accounts in which to perform this operation at one time.
+
You must specify one of parallel_count and parallel_percentage.
+
Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual percentage may be lower.
+
name
string - / required
-
- -
Name of the CloudFormation stack set.
-
+ +
Name of the CloudFormation stack set.
+
+
parameters
dictionary -
-
- Default:
{}
-
-
A list of hashes of all the template variables for the stack. The value can be a string or a dict.
-
Dict can be used to set additional template parameter attributes like UsePreviousValue (see example).
-
+ Default:
{}
+
+
A list of hashes of all the template variables for the stack. The value can be a string or a dict.
+
Dict can be used to set additional template parameter attributes like UsePreviousValue (see example).
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_stacks
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Only applicable when state=absent. Sets whether, when deleting a stack set, the stack instances should also be deleted.
-
By default, instances will be deleted. To keep stacks when stack set is deleted set purge_stacks=false.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Only applicable when state=absent. Sets whether, when deleting a stack set, the stack instances should also be deleted.
+
By default, instances will be deleted. To keep stacks when stack set is deleted set purge_stacks=false.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
regions
list - / elements=string
-
- -
A list of AWS regions to create instances of a stack in. The region parameter chooses where the Stack Set is created, and regions specifies the region for stack instances.
-
At least one region must be specified to create a stack set. On updates, if fewer regions are specified only the specified regions will have their stack instances updated.
-
+ +
A list of AWS regions to create instances of a stack in. The region parameter chooses where the Stack Set is created, and regions specifies the region for stack instances.
+
At least one region must be specified to create a stack set. On updates, if fewer regions are specified only the specified regions will have their stack instances updated.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
If state=present, stack will be created. If state=present and if stack exists and template has changed, it will be updated. If state=absent, stack will be removed.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
If state=present, stack will be created. If state=present and if stack exists and template has changed, it will be updated. If state=absent, stack will be removed.
+
+
tags
dictionary -
-
- -
Dictionary of tags to associate with stack and its resources during stack creation.
-
Can be updated later, updating tags removes previous entries.
-
+ +
Dictionary of tags to associate with stack and its resources during stack creation.
+
Can be updated later, updating tags removes previous entries.
+
+
template
path -
-
- -
The local path of the CloudFormation template.
-
This must be the full path to the file, relative to the working directory. If using roles this may look like roles/cloudformation/files/cloudformation-example.json.
-
If state=present and the stack does not exist yet, either template, template_body or template_url must be specified (but only one of them).
-
If state=present, the stack does exist, and neither template, template_body nor template_url are specified, the previous template will be reused.
-
+ + + +
The local path of the CloudFormation template.
+
This must be the full path to the file, relative to the working directory. If using roles this may look like roles/cloudformation/files/cloudformation-example.json.
+
If state=present and the stack does not exist yet, either template, template_body or template_url must be specified (but only one of them).
+
If state=present, the stack does exist, and neither template, template_body nor template_url are specified, the previous template will be reused.
+
template_body
string -
-
- -
Template body. Use this to pass in the actual body of the CloudFormation template.
-
If state=present and the stack does not exist yet, either template, template_body or template_url must be specified (but only one of them).
-
If state=present, the stack does exist, and neither template, template_body nor template_url are specified, the previous template will be reused.
-
+ +
Template body. Use this to pass in the actual body of the CloudFormation template.
+
If state=present and the stack does not exist yet, either template, template_body or template_url must be specified (but only one of them).
+
If state=present, the stack does exist, and neither template, template_body nor template_url are specified, the previous template will be reused.
+
+
template_url
string -
-
- -
Location of file containing the template body.
-
The URL must point to a template (max size 307,200 bytes) located in an S3 bucket in the same region as the stack.
-
If state=present and the stack does not exist yet, either template, template_body or template_url must be specified (but only one of them).
-
If state=present, the stack does exist, and neither template, template_body nor template_url are specified, the previous template will be reused.
-
+ + + +
Location of file containing the template body.
+
The URL must point to a template (max size 307,200 bytes) located in an S3 bucket in the same region as the stack.
+
If state=present and the stack does not exist yet, either template, template_body or template_url must be specified (but only one of them).
+
If state=present, the stack does exist, and neither template, template_body nor template_url are specified, the previous template will be reused.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to wait for stack operation to complete. This includes waiting for stack instances to reach UPDATE_COMPLETE status.
-
If you choose not to wait, this module will not notify when stack operations fail because it will not wait for them to finish.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to wait for stack operation to complete. This includes waiting for stack instances to reach UPDATE_COMPLETE status.
+
If you choose not to wait, this module will not notify when stack operations fail because it will not wait for them to finish.
+
+
wait_timeout
integer -
-
- Default:
900
-
-
How long to wait (in seconds) for stacks to complete create/update/delete operations.
-
+ + + + Default:
900
+ + +
How long to wait (in seconds) for stacks to complete create/update/delete operations.
+ + +
@@ -566,7 +585,7 @@ Notes .. note:: - To make an individual stack, you want the :ref:`amazon.aws.cloudformation ` module. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -577,7 +596,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a stack set with instances in two accounts community.aws.cloudformation_stack_set: name: my-stack @@ -617,7 +635,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -630,75 +647,75 @@ Common return values are documented `here Returned Description - - + +
operations
list -
- + + always -
All operations initiated by this run of the cloudformation_stack_set module
-
-
Sample:
-
[{'action': 'CREATE', 'administration_role_arn': 'arn:aws:iam::1234567890:role/AWSCloudFormationStackSetAdministrationRole', 'creation_timestamp': '2018-06-18T17:40:46.372000+00:00', 'end_timestamp': '2018-06-18T17:41:24.560000+00:00', 'execution_role_name': 'AWSCloudFormationStackSetExecutionRole', 'operation_id': 'Ansible-StackInstance-Create-0ff2af5b-251d-4fdb-8b89-1ee444eba8b8', 'operation_preferences': {'region_order': ['us-east-1', 'us-east-2']}, 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'FAILED'}]
- - - - +
All operations initiated by this run of the cloudformation_stack_set module
+
+
Sample:
+
[{'action': 'CREATE', 'administration_role_arn': 'arn:aws:iam::1234567890:role/AWSCloudFormationStackSetAdministrationRole', 'creation_timestamp': '2018-06-18T17:40:46.372000+00:00', 'end_timestamp': '2018-06-18T17:41:24.560000+00:00', 'execution_role_name': 'AWSCloudFormationStackSetExecutionRole', 'operation_id': 'Ansible-StackInstance-Create-0ff2af5b-251d-4fdb-8b89-1ee444eba8b8', 'operation_preferences': {'region_order': ['us-east-1', 'us-east-2']}, 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'FAILED'}]
+ + + +
operations_log
list -
- + + always -
Most recent events in CloudFormation's event log. This may be from a previous run in some cases.
-
-
Sample:
-
[{'action': 'CREATE', 'creation_timestamp': '2018-06-18T17:40:46.372000+00:00', 'end_timestamp': '2018-06-18T17:41:24.560000+00:00', 'operation_id': 'Ansible-StackInstance-Create-0ff2af5b-251d-4fdb-8b89-1ee444eba8b8', 'status': 'FAILED', 'stack_instances': [{'account': '1234567890', 'region': 'us-east-1', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'OUTDATED', 'status_reason': "Account 1234567890 should have 'AWSCloudFormationStackSetAdministrationRole' role with trust relationship to CloudFormation service."}]}]
- - - - +
Most recent events in CloudFormation's event log. This may be from a previous run in some cases.
+
+
Sample:
+
[{'action': 'CREATE', 'creation_timestamp': '2018-06-18T17:40:46.372000+00:00', 'end_timestamp': '2018-06-18T17:41:24.560000+00:00', 'operation_id': 'Ansible-StackInstance-Create-0ff2af5b-251d-4fdb-8b89-1ee444eba8b8', 'status': 'FAILED', 'stack_instances': [{'account': '1234567890', 'region': 'us-east-1', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'OUTDATED', 'status_reason': "Account 1234567890 should have 'AWSCloudFormationStackSetAdministrationRole' role with trust relationship to CloudFormation service."}]}]
+ + + +
stack_instances
list -
- + + state == present -
CloudFormation stack instances that are members of this stack set. This will also include their region and account ID.
-
-
Sample:
-
[{'account': '1234567890', 'region': 'us-east-1', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'OUTDATED', 'status_reason': "Account 1234567890 should have 'AWSCloudFormationStackSetAdministrationRole' role with trust relationship to CloudFormation service.\n"}, {'account': '1234567890', 'region': 'us-east-2', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'OUTDATED', 'status_reason': 'Cancelled since failure tolerance has exceeded'}]
- - - - +
CloudFormation stack instances that are members of this stack set. This will also include their region and account ID.
+
+
Sample:
+
[{'account': '1234567890', 'region': 'us-east-1', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'OUTDATED', 'status_reason': "Account 1234567890 should have 'AWSCloudFormationStackSetAdministrationRole' role with trust relationship to CloudFormation service.\n"}, {'account': '1234567890', 'region': 'us-east-2', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'status': 'OUTDATED', 'status_reason': 'Cancelled since failure tolerance has exceeded'}]
+ + + +
stack_set
dictionary -
- + + state == present -
Facts about the currently deployed stack set, its parameters, and its tags
-
-
Sample:
-
{'administration_role_arn': 'arn:aws:iam::1234567890:role/AWSCloudFormationStackSetAdministrationRole', 'capabilities': [], 'description': 'test stack PRIME', 'execution_role_name': 'AWSCloudFormationStackSetExecutionRole', 'parameters': [], 'stack_set_arn': 'arn:aws:cloudformation:us-east-1:1234567890:stackset/TestStackPrime:19f3f684-aae9-467-ba36-e09f92cf5929', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'stack_set_name': 'TestStackPrime', 'status': 'ACTIVE', 'tags': {'Some': 'Thing', 'an': 'other'}, 'template_body': 'AWSTemplateFormatVersion: "2010-09-09"\nParameters: {}\nResources:\n Bukkit:\n Type: "AWS::S3::Bucket"\n Properties: {}\n other:\n Type: "AWS::SNS::Topic"\n Properties: {}\n'}
- +
Facts about the currently deployed stack set, its parameters, and its tags
+
+
Sample:
+
{'administration_role_arn': 'arn:aws:iam::1234567890:role/AWSCloudFormationStackSetAdministrationRole', 'capabilities': [], 'description': 'test stack PRIME', 'execution_role_name': 'AWSCloudFormationStackSetExecutionRole', 'parameters': [], 'stack_set_arn': 'arn:aws:cloudformation:us-east-1:1234567890:stackset/TestStackPrime:19f3f684-aae9-467-ba36-e09f92cf5929', 'stack_set_id': 'TestStackPrime:19f3f684-aae9-4e67-ba36-e09f92cf5929', 'stack_set_name': 'TestStackPrime', 'status': 'ACTIVE', 'tags': {'Some': 'Thing', 'an': 'other'}, 'template_body': 'AWSTemplateFormatVersion: "2010-09-09"\nParameters: {}\nResources:\n Bukkit:\n Type: "AWS::S3::Bucket"\n Properties: {}\n other:\n Type: "AWS::SNS::Topic"\n Properties: {}\n'}
+ - +

@@ -710,5 +727,3 @@ Authors ~~~~~~~ - Ryan Scott Brown (@ryansb) - - diff --git a/docs/community.aws.cloudfront_distribution_module.rst b/docs/community.aws.cloudfront_distribution_module.rst index c0bd98ada89..0f409f72045 100644 --- a/docs/community.aws.cloudfront_distribution_module.rst +++ b/docs/community.aws.cloudfront_distribution_module.rst @@ -36,2097 +36,2116 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - + / elements=string + + + - - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - + + + + - - - - - + + + + - - - - - - - - + + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + / elements=string + + + - - - - + + + - - - - - - - - + + + + + + + + - - + + + + - - - - - + + + + - - - - - - - - + + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + / elements=string + + + - - - - + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - + / elements=string + + + - - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - + + + + - - - - - + + + + - - - - - - - - + + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + / elements=string + + + - - - - + + + - - - - - - - - + + + + + + + + - - + + + + - - - - - + + + + - - - - - - - - + + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + / elements=string + + + - - - - + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - - - - - + + + + + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
alias
string -
-
- -
The name of an alias (CNAME) that is used in a distribution. This is used to effectively reference a distribution by its alias as an alias can only be used by one distribution per AWS account. This variable avoids having to provide the distribution_id as well as the e_tag, or caller_reference of an existing distribution.
-
+ +
The name of an alias (CNAME) that is used in a distribution. This is used to effectively reference a distribution by its alias as an alias can only be used by one distribution per AWS account. This variable avoids having to provide the distribution_id as well as the e_tag, or caller_reference of an existing distribution.
+
+
aliases
list - / elements=string
-
- -
A list) of domain name aliases (CNAMEs) as strings to be used for the distribution.
-
Each alias must be unique across all distribution for the AWS account.
-
+ +
A list) of domain name aliases (CNAMEs) as strings to be used for the distribution.
+
Each alias must be unique across all distribution for the AWS account.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cache_behaviors
list - / elements=dictionary
-
- -
A list of dictionaries describing the cache behaviors for the distribution.
-
The order of the list is preserved across runs unless purge_cache_behaviors is enabled.
-
+ / elements=dictionary + + +
A list of dictionaries describing the cache behaviors for the distribution.
+
The order of the list is preserved across runs unless purge_cache_behaviors is enabled.
+
forwarded_values
dictionary -
-
- -
A dict that specifies how CloudFront handles query strings and cookies.
-
+ + + +
A dict that specifies how CloudFront handles query strings and cookies.
+
allowed_methods
dictionary -
-
- -
A dict that controls which HTTP methods CloudFront processes and forwards.
-
+ + + +
A dict that controls which HTTP methods CloudFront processes and forwards.
+
cached_methods
list - / elements=string
-
- -
A list of HTTP methods that you want CloudFront to apply caching to.
-
This can either be [GET,HEAD], or [GET,HEAD,OPTIONS].
-
+ +
A list of HTTP methods that you want CloudFront to apply caching to.
+
This can either be [GET,HEAD], or [GET,HEAD,OPTIONS].
+
+
items
list - / elements=string
-
- -
A list of HTTP methods that you want CloudFront to process and forward.
-
+ / elements=string + + +
A list of HTTP methods that you want CloudFront to process and forward.
+
compress
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether you want CloudFront to automatically compress files.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether you want CloudFront to automatically compress files.
+
cookies
dictionary -
-
- -
A dict that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones.
-
+ + + +
A dict that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones.
+
forward
string -
-
- -
Specifies which cookies to forward to the origin for this cache behavior.
-
Valid values are all, none, or whitelist.
-
+ +
Specifies which cookies to forward to the origin for this cache behavior.
+
Valid values are all, none, or whitelist.
+
+
whitelisted_names
list - / elements=string
-
- -
A list of coockies to forward to the origin for this cache behavior.
-
+ / elements=string + + +
A list of cookies to forward to the origin for this cache behavior.
+
default_ttl
integer -
-
- -
The default amount of time that you want objects to stay in CloudFront caches.
-
+ +
The default amount of time that you want objects to stay in CloudFront caches.
+
+
field_level_encryption_id
string -
-
- -
The field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data.
-
+ +
The field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data.
+
+
headers
list - / elements=string
-
- -
A list of headers to forward to the origin for this cache behavior.
-
To forward all headers use a list containing a single element '*' (['*'])
-
+ +
A list of headers to forward to the origin for this cache behavior.
+
To forward all headers use a list containing a single element '*' (['*'])
+
+
lambda_function_associations
list - / elements=dictionary
-
- -
A list of Lambda function associations to use for this cache behavior.
-
+ / elements=dictionary + + +
A list of Lambda function associations to use for this cache behavior.
+
event_type
string -
-
- -
Specifies the event type that triggers a Lambda function invocation.
-
This can be viewer-request, origin-request, origin-response or viewer-response.
-
+ +
Specifies the event type that triggers a Lambda function invocation.
+
This can be viewer-request, origin-request, origin-response or viewer-response.
+
+
lambda_function_arn
string -
-
- -
The ARN of the Lambda function.
-
+ + + +
The ARN of the Lambda function.
+
max_ttl
integer -
-
- -
The maximum amount of time that you want objects to stay in CloudFront caches.
-
+ +
The maximum amount of time that you want objects to stay in CloudFront caches.
+
+
min_ttl
integer -
-
- -
The minimum amount of time that you want objects to stay in CloudFront caches.
-
+ +
The minimum amount of time that you want objects to stay in CloudFront caches.
+
+
query_string
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.
+
query_string_cache_keys
list - / elements=string
-
- -
A list that contains the query string parameters you want CloudFront to use as a basis for caching for a cache behavior.
-
+ +
A list that contains the query string parameters you want CloudFront to use as a basis for caching for a cache behavior.
+
+
smooth_streaming
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether you want to distribute media files in the Microsoft Smooth Streaming format.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether you want to distribute media files in the Microsoft Smooth Streaming format.
+
trusted_signers
dictionary -
-
- -
A dict that specifies the AWS accounts that you want to allow to create signed URLs for private content.
-
+ + + +
A dict that specifies the AWS accounts that you want to allow to create signed URLs for private content.
+
enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether you want to require viewers to use signed URLs to access the files specified by path_pattern and target_origin_id
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether you want to require viewers to use signed URLs to access the files specified by path_pattern and target_origin_id
+
items
list - / elements=string
-
- -
A list of trusted signers for this cache behavior.
-
+ / elements=string + + +
A list of trusted signers for this cache behavior.
+
viewer_protocol_policy
string -
-
- -
The protocol that viewers can use to access the files in the origin specified by target_origin_id when a request matches path_pattern.
-
Valid values are allow-all, redirect-to-https and https-only.
-
+ + + +
The protocol that viewers can use to access the files in the origin specified by target_origin_id when a request matches path_pattern.
+
Valid values are allow-all, redirect-to-https and https-only.
+
path_pattern
string -
-
- -
The pattern that specifies which requests to apply the behavior to.
-
+ +
The pattern that specifies which requests to apply the behavior to.
+
+
target_origin_id
string -
-
- -
The ID of the origin that you want CloudFront to route requests to by default.
-
+ + + +
The ID of the origin that you want CloudFront to route requests to by default.
+
caller_reference
string -
-
- -
A unique identifier for creating and updating CloudFront distributions.
-
Each caller reference must be unique across all distributions. e.g. a caller reference used in a web distribution cannot be reused in a streaming distribution. This parameter can be used instead of distribution_id to reference an existing distribution. If not specified, this defaults to a datetime stamp of the format YYYY-MM-DDTHH:MM:SS.ffffff.
-
+ +
A unique identifier for creating and updating CloudFront distributions.
+
Each caller reference must be unique across all distributions. e.g. a caller reference used in a web distribution cannot be reused in a streaming distribution. This parameter can be used instead of distribution_id to reference an existing distribution. If not specified, this defaults to a datetime stamp of the format YYYY-MM-DDTHH:MM:SS.ffffff.
+
+
comment
string -
-
- -
A comment that describes the CloudFront distribution.
-
If not specified, it defaults to a generic message that it has been created with Ansible, and a datetime stamp.
-
+ +
A comment that describes the CloudFront distribution.
+
If not specified, it defaults to a generic message that it has been created with Ansible, and a datetime stamp.
+
+
custom_error_responses
list - / elements=dictionary
-
- -
A config element that is a list[] of complex custom error responses to be specified for the distribution.
-
This attribute configures custom http error messages returned to the user.
-
+ / elements=dictionary + + +
A config element that is a list[] of complex custom error responses to be specified for the distribution.
+
This attribute configures custom http error messages returned to the user.
+
error_caching_min_ttl
integer -
-
- -
The length of time (in seconds) that CloudFront will cache status codes for.
-
+ +
The length of time (in seconds) that CloudFront will cache status codes for.
+
+
error_code
integer -
-
- -
The error code the custom error page is for.
-
+ +
The error code the custom error page is for.
+
+
response_code
integer -
-
- -
The HTTP status code that CloudFront should return to a user when the origin returns the HTTP status code specified by error_code.
-
+ +
The HTTP status code that CloudFront should return to a user when the origin returns the HTTP status code specified by error_code.
+
+
response_page_path
string -
-
- -
The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by error_code.
-
+ + + +
The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by error_code.
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
default_cache_behavior
dictionary -
-
- -
A dict specifying the default cache behavior of the distribution.
-
If not specified, the target_origin_id is defined as the target_origin_id of the first valid cache_behavior in cache_behaviors with defaults.
-
+ + + +
A dict specifying the default cache behavior of the distribution.
+
If not specified, the target_origin_id is defined as the target_origin_id of the first valid cache_behavior in cache_behaviors with defaults.
+
forwarded_values
dictionary -
-
- -
A dict that specifies how CloudFront handles query strings and cookies.
-
+ + + +
A dict that specifies how CloudFront handles query strings and cookies.
+
allowed_methods
dictionary -
-
- -
A dict that controls which HTTP methods CloudFront processes and forwards.
-
+ + + +
A dict that controls which HTTP methods CloudFront processes and forwards.
+
cached_methods
list - / elements=string
-
- -
A list of HTTP methods that you want CloudFront to apply caching to.
-
This can either be [GET,HEAD], or [GET,HEAD,OPTIONS].
-
+ +
A list of HTTP methods that you want CloudFront to apply caching to.
+
This can either be [GET,HEAD], or [GET,HEAD,OPTIONS].
+
+
items
list - / elements=string
-
- -
A list of HTTP methods that you want CloudFront to process and forward.
-
+ / elements=string + + +
A list of HTTP methods that you want CloudFront to process and forward.
+
compress
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether you want CloudFront to automatically compress files.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether you want CloudFront to automatically compress files.
+
cookies
dictionary -
-
- -
A dict that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones.
-
+ + + +
A dict that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones.
+
forward
string -
-
- -
Specifies which cookies to forward to the origin for this cache behavior.
-
Valid values are all, none, or whitelist.
-
+ +
Specifies which cookies to forward to the origin for this cache behavior.
+
Valid values are all, none, or whitelist.
+
+
whitelisted_names
list - / elements=string
-
- -
A list of coockies to forward to the origin for this cache behavior.
-
+ / elements=string + + +
A list of cookies to forward to the origin for this cache behavior.
+
default_ttl
integer -
-
- -
The default amount of time that you want objects to stay in CloudFront caches.
-
+ +
The default amount of time that you want objects to stay in CloudFront caches.
+
+
field_level_encryption_id
string -
-
- -
The field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data.
-
+ +
The field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data.
+
+
headers
list - / elements=string
-
- -
A list of headers to forward to the origin for this cache behavior.
-
To forward all headers use a list containing a single element '*' (['*'])
-
+ +
A list of headers to forward to the origin for this cache behavior.
+
To forward all headers use a list containing a single element '*' (['*'])
+
+
lambda_function_associations
list - / elements=dictionary
-
- -
A list of Lambda function associations to use for this cache behavior.
-
+ / elements=dictionary + + +
A list of Lambda function associations to use for this cache behavior.
+
event_type
string -
-
- -
Specifies the event type that triggers a Lambda function invocation.
-
This can be viewer-request, origin-request, origin-response or viewer-response.
-
+ +
Specifies the event type that triggers a Lambda function invocation.
+
This can be viewer-request, origin-request, origin-response or viewer-response.
+
+
lambda_function_arn
string -
-
- -
The ARN of the Lambda function.
-
+ + + +
The ARN of the Lambda function.
+
max_ttl
integer -
-
- -
The maximum amount of time that you want objects to stay in CloudFront caches.
-
+ +
The maximum amount of time that you want objects to stay in CloudFront caches.
+
+
min_ttl
integer -
-
- -
The minimum amount of time that you want objects to stay in CloudFront caches.
-
+ +
The minimum amount of time that you want objects to stay in CloudFront caches.
+
+
query_string
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.
+
query_string_cache_keys
list - / elements=string
-
- -
A list that contains the query string parameters you want CloudFront to use as a basis for caching for a cache behavior.
-
+ +
A list that contains the query string parameters you want CloudFront to use as a basis for caching for a cache behavior.
+
+
smooth_streaming
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether you want to distribute media files in the Microsoft Smooth Streaming format.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether you want to distribute media files in the Microsoft Smooth Streaming format.
+
trusted_signers
dictionary -
-
- -
A dict that specifies the AWS accounts that you want to allow to create signed URLs for private content.
-
+ + + +
A dict that specifies the AWS accounts that you want to allow to create signed URLs for private content.
+
enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether you want to require viewers to use signed URLs to access the files specified by target_origin_id
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether you want to require viewers to use signed URLs to access the files specified by target_origin_id
+
items
list - / elements=string
-
- -
A list of trusted signers for this cache behavior.
-
+ / elements=string + + +
A list of trusted signers for this cache behavior.
+
viewer_protocol_policy
string -
-
- -
The protocol that viewers can use to access the files in the origin specified by target_origin_id.
-
Valid values are allow-all, redirect-to-https and https-only.
-
+ + + +
The protocol that viewers can use to access the files in the origin specified by target_origin_id.
+
Valid values are allow-all, redirect-to-https and https-only.
+
target_origin_id
string -
-
- -
The ID of the origin that you want CloudFront to route requests to by default.
-
+ + + +
The ID of the origin that you want CloudFront to route requests to by default.
+
default_origin_domain_name
string -
-
- -
The domain name to use for an origin if no origins have been specified.
-
Should only be used on a first run of generating a distribution and not on subsequent runs.
-
Should not be used in conjunction with distribution_id, caller_reference or alias.
-
+ +
The domain name to use for an origin if no origins have been specified.
+
Should only be used on a first run of generating a distribution and not on subsequent runs.
+
Should not be used in conjunction with distribution_id, caller_reference or alias.
+
+
default_origin_path
string -
-
- -
The default origin path to specify for an origin if no origins have been specified. Defaults to empty if not specified.
-
+ +
The default origin path to specify for an origin if no origins have been specified. Defaults to empty if not specified.
+
+
default_root_object
string -
-
- -
A config element that specifies the path to request when the user requests the origin.
-
e.g. if specified as 'index.html', this maps to www.example.com/index.html when www.example.com is called by the user.
-
This prevents the entire distribution origin from being exposed at the root.
-
+ +
A config element that specifies the path to request when the user requests the origin.
+
e.g. if specified as 'index.html', this maps to www.example.com/index.html when www.example.com is called by the user.
+
This prevents the entire distribution origin from being exposed at the root.
+
+
distribution_id
string -
-
- -
The ID of the CloudFront distribution.
-
This parameter can be exchanged with alias or caller_reference and is used in conjunction with e_tag.
-
+ +
The ID of the CloudFront distribution.
+
This parameter can be exchanged with alias or caller_reference and is used in conjunction with e_tag.
+
+
e_tag
string -
-
- -
A unique identifier of a modified or existing distribution. Used in conjunction with distribution_id.
-
Is determined automatically if not specified.
-
+ +
A unique identifier of a modified or existing distribution. Used in conjunction with distribution_id.
+
Is determined automatically if not specified.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
enabled
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
A boolean value that specifies whether the distribution is enabled or disabled.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
A boolean value that specifies whether the distribution is enabled or disabled.
+
+
http_version
string -
-
- -
The version of the http protocol to use for the distribution.
-
AWS defaults this to http2.
-
Valid values are http1.1 and http2
-
+ +
The version of the http protocol to use for the distribution.
+
AWS defaults this to http2.
+
Valid values are http1.1 and http2
+
+
ipv6_enabled
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Determines whether IPv6 support is enabled or not.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Determines whether IPv6 support is enabled or not.
+
+
logging
dictionary -
-
- -
A config element that is a complex object that defines logging for the distribution.
-
+ + + +
A config element that is a complex object that defines logging for the distribution.
+
bucket
string -
-
- -
The S3 bucket to store the log in.
-
+ +
The S3 bucket to store the log in.
+
+
enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
When enabled=true CloudFront will log access to an S3 bucket.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
When enabled=true CloudFront will log access to an S3 bucket.
+
+
include_cookies
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
When include_cookies=true CloudFront will include cookies in the logs.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
When include_cookies=true CloudFront will include cookies in the logs.
+
+
prefix
string -
-
- -
A prefix to include in the S3 object names.
-
+ + + +
A prefix to include in the S3 object names.
+
origins
list - / elements=dictionary
-
- -
A config element that is a list of complex origin objects to be specified for the distribution. Used for creating and updating distributions.
-
+ / elements=dictionary + + +
A config element that is a list of complex origin objects to be specified for the distribution. Used for creating and updating distributions.
+
custom_headers
list - / elements=dictionary
-
- -
Custom headers you wish to add to the request before passing it to the origin.
- -
+ / elements=dictionary + + +
Custom headers you wish to add to the request before passing it to the origin.
+ +
header_name
string -
-
- -
The name of a header that you want CloudFront to forward to your origin.
-
+ +
The name of a header that you want CloudFront to forward to your origin.
+
+
header_value
string -
-
- -
The value for the header that you specified in the header_name field.
-
+ + + +
The value for the header that you specified in the header_name field.
+
custom_origin_config
dictionary -
-
- -
Connection information about the origin.
-
+ + + +
Connection information about the origin.
+
http_port
integer -
-
- -
The HTTP port the custom origin listens on.
-
+ +
The HTTP port the custom origin listens on.
+
+
https_port
integer -
-
- -
The HTTPS port the custom origin listens on.
-
+ +
The HTTPS port the custom origin listens on.
+
+
origin_keepalive_timeout
integer -
-
- -
A keep-alive timeout (in seconds).
-
+ +
A keep-alive timeout (in seconds).
+
+
origin_protocol_policy
string -
-
- -
The origin protocol policy to apply to your origin.
-
+ +
The origin protocol policy to apply to your origin.
+
+
origin_read_timeout
integer -
-
- -
A timeout (in seconds) when reading from your origin.
-
+ +
A timeout (in seconds) when reading from your origin.
+
+
origin_ssl_protocols
list - / elements=string
-
- -
A list of SSL/TLS protocols that you want CloudFront to use when communicating to the origin over HTTPS.
-
+ / elements=string + + +
A list of SSL/TLS protocols that you want CloudFront to use when communicating to the origin over HTTPS.
+
domain_name
string -
-
- -
The domain name which CloudFront will query as the origin.
- -
+ +
The domain name which CloudFront will query as the origin.
+ +
+
id
string -
-
- -
A unique identifier for the origin or origin group. id must be unique within the distribution.
-
+ +
A unique identifier for the origin or origin group. id must be unique within the distribution.
+
+
origin_path
string -
-
- -
Tells CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
-
+ +
Tells CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
+
+
s3_origin_access_identity_enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront.
-
Will automatically create an Identity for you.
- -
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront.
+
Will automatically create an Identity for you.
+ +
price_class
string -
-
- -
A string that specifies the pricing class of the distribution. As per https://aws.amazon.com/cloudfront/pricing/
-
price_class=PriceClass_100 consists of the areas United States, Canada and Europe.
-
price_class=PriceClass_200 consists of the areas United States, Canada, Europe, Japan, India, Hong Kong, Philippines, S. Korea, Singapore & Taiwan.
-
price_class=PriceClass_All consists of the areas United States, Canada, Europe, Japan, India, South America, Australia, Hong Kong, Philippines, S. Korea, Singapore & Taiwan.
-
AWS defaults this to PriceClass_All.
-
Valid values are PriceClass_100, PriceClass_200 and PriceClass_All
-
+ +
A string that specifies the pricing class of the distribution. As per https://aws.amazon.com/cloudfront/pricing/
+
price_class=PriceClass_100 consists of the areas United States, Canada and Europe.
+
price_class=PriceClass_200 consists of the areas United States, Canada, Europe, Japan, India, Hong Kong, Philippines, S. Korea, Singapore & Taiwan.
+
price_class=PriceClass_All consists of the areas United States, Canada, Europe, Japan, India, South America, Australia, Hong Kong, Philippines, S. Korea, Singapore & Taiwan.
+
AWS defaults this to PriceClass_All.
+
Valid values are PriceClass_100, PriceClass_200 and PriceClass_All
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_aliases
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specifies whether existing aliases will be removed before adding new aliases.
-
When purge_aliases=yes, existing aliases are removed and aliases are added.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specifies whether existing aliases will be removed before adding new aliases.
+
When purge_aliases=yes, existing aliases are removed and aliases are added.
+
+
purge_cache_behaviors
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to remove any cache behaviors that aren't listed in cache_behaviors.
-
This switch also allows the reordering of cache_behaviors.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to remove any cache behaviors that aren't listed in cache_behaviors.
+
This switch also allows the reordering of cache_behaviors.
+
+
purge_custom_error_responses
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to remove any custom error responses that aren't listed in custom_error_responses.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to remove any custom error responses that aren't listed in custom_error_responses.
+
+
purge_origins
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to remove any origins that aren't listed in origins.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to remove any origins that aren't listed in origins.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specifies whether existing tags will be removed before adding new tags.
-
When purge_tags=yes, existing tags are removed and tags are added, if specified. If no tags are specified, it removes all existing tags for the distribution.
-
When purge_tags=no, existing tags are kept and tags are added, if specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specifies whether existing tags will be removed before adding new tags.
+
When purge_tags=yes, existing tags are removed and tags are added, if specified. If no tags are specified, it removes all existing tags for the distribution.
+
When purge_tags=no, existing tags are kept and tags are added, if specified.
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
restrictions
dictionary -
-
- -
A config element that is a complex object that describes how a distribution should restrict it's content.
-
+ + + +
A config element that is a complex object that describes how a distribution should restrict it's content.
+
geo_restriction
dictionary -
-
- -
Apply a restriciton based on the location of the requester.
-
+ + + +
Apply a restriction based on the location of the requester.
+
items
list -
-
- -
A list of ISO 3166-1 two letter (Alpha 2) country codes that the restriction should apply to.
-
See the ISO website for a full list of codes https://www.iso.org/obp/ui/#search/code/
-
+ +
A list of ISO 3166-1 two letter (Alpha 2) country codes that the restriction should apply to.
+
See the ISO website for a full list of codes https://www.iso.org/obp/ui/#search/code/
+
+
restriction_type
string -
-
- -
The method that you want to use to restrict distribution of your content by country.
-
Valid values are none, whitelist, blacklist
-
+ + + +
The method that you want to use to restrict distribution of your content by country.
+
Valid values are none, whitelist, blacklist
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
The desired state of the distribution.
-
state=present creates a new distribution or updates an existing distribution.
-
state=absent deletes an existing distribution.
-
+ + +
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
The desired state of the distribution.
+
state=present creates a new distribution or updates an existing distribution.
+
state=absent deletes an existing distribution.
+
tags
dictionary -
-
- -
Should be input as a dict of key-value pairs.
-
Note that numeric keys or values must be wrapped in quotes. e.g. "Priority:" '1'
-
+ +
Should be input as a dict of key-value pairs.
+
Note that numeric keys or values must be wrapped in quotes. e.g. "Priority:" '1'
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
viewer_certificate
dictionary -
-
- -
A dict that specifies the encryption details of the distribution.
-
+ + + +
A dict that specifies the encryption details of the distribution.
+
acm_certificate_arn
string -
-
- -
The ID of a certificate stored in ACM to use for HTTPS connections.
-
If acm_certificate_id is set then you must also specify ssl_support_method
-
+ +
The ID of a certificate stored in ACM to use for HTTPS connections.
+
If acm_certificate_id is set then you must also specify ssl_support_method
+
+
cloudfront_default_certificate
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
If you're using the CloudFront domain name for your distribution, such as 123456789abcde.cloudfront.net you should set cloudfront_default_certificate=true
-
If cloudfront_default_certificate=true do not set ssl_support_method.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
If you're using the CloudFront domain name for your distribution, such as 123456789abcde.cloudfront.net you should set cloudfront_default_certificate=true
+
If cloudfront_default_certificate=true do not set ssl_support_method.
+
iam_certificate_id
string -
-
- -
The ID of a certificate stored in IAM to use for HTTPS connections.
-
If iam_certificate_id is set then you must also specify ssl_support_method
-
+ +
The ID of a certificate stored in IAM to use for HTTPS connections.
+
If iam_certificate_id is set then you must also specify ssl_support_method
+
+
minimum_protocol_version
string -
-
- -
The security policy that you want CloudFront to use for HTTPS connections.
- -
+ +
The security policy that you want CloudFront to use for HTTPS connections.
+ +
+
ssl_support_method
string -
-
- -
How CloudFront should serve SSL certificates.
-
Valid values are sni-only for SNI, and vip if CloudFront is configured to use a dedicated IP for your content.
-
+ + + +
How CloudFront should serve SSL certificates.
+
Valid values are sni-only for SNI, and vip if CloudFront is configured to use a dedicated IP for your content.
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specifies whether the module waits until the distribution has completed processing the creation or update.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specifies whether the module waits until the distribution has completed processing the creation or update.
+
+
wait_timeout
integer -
-
- Default:
1800
-
-
Specifies the duration in seconds to wait for a timeout of a cloudfront create or update.
-
+ Default:
1800
+
+
Specifies the duration in seconds to wait for a timeout of a cloudfront create or update.
+
+
web_acl_id
string -
-
- -
The ID of a Web Application Firewall (WAF) Access Control List (ACL).
-
+ + + + + +
The ID of a Web Application Firewall (WAF) Access Control List (ACL).
+ + +
@@ -2134,7 +2153,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -2145,7 +2164,6 @@ Examples .. code-block:: yaml+jinja - - name: create a basic distribution with defaults and tags community.aws.cloudfront_distribution: state: present @@ -2238,7 +2256,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -2251,2437 +2268,2437 @@ Common return values are documented `here Returned Description - - + +
active_trusted_signers
complex -
- + + always -
Key pair IDs that CloudFront is aware of for each trusted signer.
-
- +
Key pair IDs that CloudFront is aware of for each trusted signer.
+
+ - -   - + +   +
enabled
boolean -
- + + always -
Whether trusted signers are in use.
-
- +
Whether trusted signers are in use.
+
+ - -   - + +   +
items
list -
- + + when there are trusted signers -
Number of trusted signers.
-
-
Sample:
-
['key_pair_id']
- +
Number of trusted signers.
+
+
Sample:
+
['key_pair_id']
+ - -   - + +   +
quantity
integer -
- + + always -
Number of trusted signers.
-
-
Sample:
-
1
- +
Number of trusted signers.
+
+
Sample:
+
1
+ - - - + + +
aliases
complex -
- + + always -
Aliases that refer to the distribution.
-
- +
Aliases that refer to the distribution.
+
+ - -   - + +   +
items
list -
- + + always -
List of aliases.
-
-
Sample:
-
['test.example.com']
- +
List of aliases.
+
+
Sample:
+
['test.example.com']
+ - -   - + +   +
quantity
integer -
- + + always -
Number of aliases.
-
-
Sample:
-
1
- +
Number of aliases.
+
+
Sample:
+
1
+ - - - + + +
arn
string -
- + + always -
Amazon Resource Name of the distribution.
-
-
Sample:
-
arn:aws:cloudfront::123456789012:distribution/E1234ABCDEFGHI
- +
Amazon Resource Name of the distribution.
+
+
Sample:
+
arn:aws:cloudfront::123456789012:distribution/E1234ABCDEFGHI
+ - - + +
cache_behaviors
complex -
- + + always -
CloudFront cache behaviors.
-
- +
CloudFront cache behaviors.
+
+ - -   - + +   +
items
complex -
- + + always -
List of cache behaviors.
-
- +
List of cache behaviors.
+
+ - -   -   - + +   +   +
allowed_methods
complex -
- + + always -
Methods allowed by the cache behavior.
-
- +
Methods allowed by the cache behavior.
+
+ - -   -   -   - + +   +   +   +
cached_methods
complex -
- + + always -
Methods cached by the cache behavior.
-
- +
Methods cached by the cache behavior.
+
+ - -   -   -   -   - + +   +   +   +   +
items
list -
- + + always -
List of cached methods.
-
-
Sample:
-
['HEAD', 'GET']
- +
List of cached methods.
+
+
Sample:
+
['HEAD', 'GET']
+ - -   -   -   -   - + +   +   +   +   +
quantity
integer -
- + + always -
Count of cached methods.
-
-
Sample:
-
2
- +
Count of cached methods.
+
+
Sample:
+
2
+ - - -   -   -   - + + +   +   +   +
items
list -
- + + always -
List of methods allowed by the cache behavior.
-
-
Sample:
-
['HEAD', 'GET']
- +
List of methods allowed by the cache behavior.
+
+
Sample:
+
['HEAD', 'GET']
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of methods allowed by the cache behavior.
-
-
Sample:
-
2
- +
Count of methods allowed by the cache behavior.
+
+
Sample:
+
2
+ - - -   -   - + + +   +   +
compress
boolean -
- + + always -
Whether compression is turned on for the cache behavior.
-
- +
Whether compression is turned on for the cache behavior.
+
+ - -   -   - + +   +   +
default_ttl
integer -
- + + always -
Default Time to Live of the cache behavior.
-
-
Sample:
-
86400
- +
Default Time to Live of the cache behavior.
+
+
Sample:
+
86400
+ - -   -   - + +   +   +
forwarded_values
complex -
- + + always -
Values forwarded to the origin for this cache behavior.
-
- +
Values forwarded to the origin for this cache behavior.
+
+ - -   -   -   - + +   +   +   +
cookies
complex -
- + + always -
Cookies to forward to the origin.
-
- +
Cookies to forward to the origin.
+
+ - -   -   -   -   - + +   +   +   +   +
forward
string -
- + + always -
Which cookies to forward to the origin for this cache behavior.
-
-
Sample:
-
none
- +
Which cookies to forward to the origin for this cache behavior.
+
+
Sample:
+
none
+ - -   -   -   -   - + +   +   +   +   +
whitelisted_names
complex -
- + + when forward=whitelist -
The names of the cookies to forward to the origin for this cache behavior.
-
- +
The names of the cookies to forward to the origin for this cache behavior.
+
+ - -   -   -   -   -   - + +   +   +   +   +   +
items
list -
- + + when list is not empty -
List of cookies to forward.
-
-
Sample:
-
my_cookie
- +
List of cookies to forward.
+
+
Sample:
+
my_cookie
+ - -   -   -   -   -   - + +   +   +   +   +   +
quantity
integer -
- + + always -
Count of cookies to forward.
-
-
Sample:
-
1
- +
Count of cookies to forward.
+
+
Sample:
+
1
+ - - - -   -   -   - + + + +   +   +   +
headers
complex -
- + + always -
Which headers are used to vary on cache retrievals.
-
- +
Which headers are used to vary on cache retrievals.
+
+ - -   -   -   -   - + +   +   +   +   +
items
list -
- + + when list is not empty -
List of headers to vary on.
-
-
Sample:
-
['Host']
- +
List of headers to vary on.
+
+
Sample:
+
['Host']
+ - -   -   -   -   - + +   +   +   +   +
quantity
integer -
- + + always -
Count of headers to vary on.
-
-
Sample:
-
1
- +
Count of headers to vary on.
+
+
Sample:
+
1
+ - - -   -   -   - + + +   +   +   +
query_string
boolean -
- + + always -
Whether the query string is used in cache lookups.
-
- +
Whether the query string is used in cache lookups.
+
+ - -   -   -   - + +   +   +   +
query_string_cache_keys
complex -
- + + always -
Which query string keys to use in cache lookups.
-
- +
Which query string keys to use in cache lookups.
+
+ - -   -   -   -   - + +   +   +   +   +
items
list -
- + + when list is not empty -
List of query string cache keys to use in cache lookups.
-
- +
List of query string cache keys to use in cache lookups.
+
+ - -   -   -   -   - + +   +   +   +   +
quantity
integer -
- + + always -
Count of query string cache keys to use in cache lookups.
-
-
Sample:
-
1
- +
Count of query string cache keys to use in cache lookups.
+
+
Sample:
+
1
+ - - - -   -   - + + + +   +   +
lambda_function_associations
complex -
- + + always -
Lambda function associations for a cache behavior.
-
- +
Lambda function associations for a cache behavior.
+
+ - -   -   -   - + +   +   +   +
items
list -
- + + when list is not empty -
List of lambda function associations.
-
-
Sample:
-
[{'lambda_function_arn': 'arn:aws:lambda:123456789012:us-east-1/lambda/lambda-function', 'event_type': 'viewer-response'}]
- +
List of lambda function associations.
+
+
Sample:
+
[{'lambda_function_arn': 'arn:aws:lambda:123456789012:us-east-1/lambda/lambda-function', 'event_type': 'viewer-response'}]
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of lambda function associations.
-
-
Sample:
-
1
- +
Count of lambda function associations.
+
+
Sample:
+
1
+ - - -   -   - + + +   +   +
max_ttl
integer -
- + + always -
Maximum Time to Live.
-
-
Sample:
-
31536000
- +
Maximum Time to Live.
+
+
Sample:
+
31536000
+ - -   -   - + +   +   +
min_ttl
integer -
- + + always -
Minimum Time to Live.
-
- +
Minimum Time to Live.
+
+ - -   -   - + +   +   +
path_pattern
string -
- + + always -
Path pattern that determines this cache behavior.
-
-
Sample:
-
/path/to/files/*
- +
Path pattern that determines this cache behavior.
+
+
Sample:
+
/path/to/files/*
+ - -   -   - + +   +   +
smooth_streaming
boolean -
- + + always -
Whether smooth streaming is enabled.
-
- +
Whether smooth streaming is enabled.
+
+ - -   -   - + +   +   +
target_origin_id
string -
- + + always -
ID of origin reference by this cache behavior.
-
-
Sample:
-
origin_abcd
- +
ID of origin reference by this cache behavior.
+
+
Sample:
+
origin_abcd
+ - -   -   - + +   +   +
trusted_signers
complex -
- + + always -
Trusted signers.
-
- +
Trusted signers.
+
+ - -   -   -   - + +   +   +   +
enabled
boolean -
- + + always -
Whether trusted signers are enabled for this cache behavior.
-
- +
Whether trusted signers are enabled for this cache behavior.
+
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of trusted signers.
-
-
Sample:
-
1
- +
Count of trusted signers.
+
+
Sample:
+
1
+ - - -   -   - + + +   +   +
viewer_protocol_policy
string -
- + + always -
Policy of how to handle http/https.
-
-
Sample:
-
redirect-to-https
- +
Policy of how to handle http/https.
+
+
Sample:
+
redirect-to-https
+ - - -   - + + +   +
quantity
integer -
- + + always -
Count of cache behaviors.
-
-
Sample:
-
1
- +
Count of cache behaviors.
+
+
Sample:
+
1
+ - - - + + +
caller_reference
string -
- + + always -
Idempotency reference given when creating CloudFront distribution.
-
-
Sample:
-
1484796016700
- +
Idempotency reference given when creating CloudFront distribution.
+
+
Sample:
+
1484796016700
+ - - + +
comment
string -
- + + always -
Any comments you want to include about the distribution.
-
-
Sample:
-
my first CloudFront distribution
- +
Any comments you want to include about the distribution.
+
+
Sample:
+
my first CloudFront distribution
+ - - + +
custom_error_responses
complex -
- + + always -
Custom error responses to use for error handling.
-
- +
Custom error responses to use for error handling.
+
+ - -   - + +   +
items
complex -
- + + always -
List of custom error responses.
-
- +
List of custom error responses.
+
+ - -   -   - + +   +   +
error_caching_min_ttl
integer -
- + + always -
Minimum time to cache this error response.
-
-
Sample:
-
300
- +
Minimum time to cache this error response.
+
+
Sample:
+
300
+ - -   -   - + +   +   +
error_code
integer -
- + + always -
Origin response code that triggers this error response.
-
-
Sample:
-
500
- +
Origin response code that triggers this error response.
+
+
Sample:
+
500
+ - -   -   - + +   +   +
response_code
string -
- + + always -
Response code to return to the requester.
-
-
Sample:
-
500
- +
Response code to return to the requester.
+
+
Sample:
+
500
+ - -   -   - + +   +   +
response_page_path
string -
- + + always -
Path that contains the error page to display.
-
-
Sample:
-
/errors/5xx.html
- +
Path that contains the error page to display.
+
+
Sample:
+
/errors/5xx.html
+ - - -   - + + +   +
quantity
integer -
- + + always -
Count of custom error response items
-
-
Sample:
-
1
- +
Count of custom error response items
+
+
Sample:
+
1
+ - - - + + +
default_cache_behavior
complex -
- + + always -
Default cache behavior.
-
- +
Default cache behavior.
+
+ - -   - + +   +
allowed_methods
complex -
- + + always -
Methods allowed by the cache behavior.
-
- +
Methods allowed by the cache behavior.
+
+ - -   -   - + +   +   +
cached_methods
complex -
- + + always -
Methods cached by the cache behavior.
-
- +
Methods cached by the cache behavior.
+
+ - -   -   -   - + +   +   +   +
items
list -
- + + always -
List of cached methods.
-
-
Sample:
-
['HEAD', 'GET']
- +
List of cached methods.
+
+
Sample:
+
['HEAD', 'GET']
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of cached methods.
-
-
Sample:
-
2
- +
Count of cached methods.
+
+
Sample:
+
2
+ - - -   -   - + + +   +   +
items
list -
- + + always -
List of methods allowed by the cache behavior.
-
-
Sample:
-
['HEAD', 'GET']
- +
List of methods allowed by the cache behavior.
+
+
Sample:
+
['HEAD', 'GET']
+ - -   -   - + +   +   +
quantity
integer -
- + + always -
Count of methods allowed by the cache behavior.
-
-
Sample:
-
2
- +
Count of methods allowed by the cache behavior.
+
+
Sample:
+
2
+ - - -   - + + +   +
compress
boolean -
- + + always -
Whether compression is turned on for the cache behavior.
-
- +
Whether compression is turned on for the cache behavior.
+
+ - -   - + +   +
default_ttl
integer -
- + + always -
Default Time to Live of the cache behavior.
-
-
Sample:
-
86400
- +
Default Time to Live of the cache behavior.
+
+
Sample:
+
86400
+ - -   - + +   +
forwarded_values
complex -
- + + always -
Values forwarded to the origin for this cache behavior.
-
- +
Values forwarded to the origin for this cache behavior.
+
+ - -   -   - + +   +   +
cookies
complex -
- + + always -
Cookies to forward to the origin.
-
- +
Cookies to forward to the origin.
+
+ - -   -   -   - + +   +   +   +
forward
string -
- + + always -
Which cookies to forward to the origin for this cache behavior.
-
-
Sample:
-
none
- +
Which cookies to forward to the origin for this cache behavior.
+
+
Sample:
+
none
+ - -   -   -   - + +   +   +   +
whitelisted_names
complex -
- + + when forward=whitelist -
The names of the cookies to forward to the origin for this cache behavior.
-
- +
The names of the cookies to forward to the origin for this cache behavior.
+
+ - -   -   -   -   - + +   +   +   +   +
items
list -
- + + when list is not empty -
List of cookies to forward.
-
-
Sample:
-
my_cookie
- +
List of cookies to forward.
+
+
Sample:
+
my_cookie
+ - -   -   -   -   - + +   +   +   +   +
quantity
integer -
- + + always -
Count of cookies to forward.
-
-
Sample:
-
1
- +
Count of cookies to forward.
+
+
Sample:
+
1
+ - - - -   -   - + + + +   +   +
headers
complex -
- + + always -
Which headers are used to vary on cache retrievals.
-
- +
Which headers are used to vary on cache retrievals.
+
+ - -   -   -   - + +   +   +   +
items
list -
- + + when list is not empty -
List of headers to vary on.
-
-
Sample:
-
['Host']
- +
List of headers to vary on.
+
+
Sample:
+
['Host']
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of headers to vary on.
-
-
Sample:
-
1
- +
Count of headers to vary on.
+
+
Sample:
+
1
+ - - -   -   - + + +   +   +
query_string
boolean -
- + + always -
Whether the query string is used in cache lookups.
-
- +
Whether the query string is used in cache lookups.
+
+ - -   -   - + +   +   +
query_string_cache_keys
complex -
- + + always -
Which query string keys to use in cache lookups.
-
- +
Which query string keys to use in cache lookups.
+
+ - -   -   -   - + +   +   +   +
items
list -
- + + when list is not empty -
List of query string cache keys to use in cache lookups.
-
- +
List of query string cache keys to use in cache lookups.
+
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of query string cache keys to use in cache lookups.
-
-
Sample:
-
1
- +
Count of query string cache keys to use in cache lookups.
+
+
Sample:
+
1
+ - - - -   - + + + +   +
lambda_function_associations
complex -
- + + always -
Lambda function associations for a cache behavior.
-
- +
Lambda function associations for a cache behavior.
+
+ - -   -   - + +   +   +
items
list -
- + + when list is not empty -
List of lambda function associations.
-
-
Sample:
-
[{'lambda_function_arn': 'arn:aws:lambda:123456789012:us-east-1/lambda/lambda-function', 'event_type': 'viewer-response'}]
- +
List of lambda function associations.
+
+
Sample:
+
[{'lambda_function_arn': 'arn:aws:lambda:123456789012:us-east-1/lambda/lambda-function', 'event_type': 'viewer-response'}]
+ - -   -   - + +   +   +
quantity
integer -
- + + always -
Count of lambda function associations.
-
-
Sample:
-
1
- +
Count of lambda function associations.
+
+
Sample:
+
1
+ - - -   - + + +   +
max_ttl
integer -
- + + always -
Maximum Time to Live.
-
-
Sample:
-
31536000
- +
Maximum Time to Live.
+
+
Sample:
+
31536000
+ - -   - + +   +
min_ttl
integer -
- + + always -
Minimum Time to Live.
-
- +
Minimum Time to Live.
+
+ - -   - + +   +
path_pattern
string -
- + + always -
Path pattern that determines this cache behavior.
-
-
Sample:
-
/path/to/files/*
- +
Path pattern that determines this cache behavior.
+
+
Sample:
+
/path/to/files/*
+ - -   - + +   +
smooth_streaming
boolean -
- + + always -
Whether smooth streaming is enabled.
-
- +
Whether smooth streaming is enabled.
+
+ - -   - + +   +
target_origin_id
string -
- + + always -
ID of origin reference by this cache behavior.
-
-
Sample:
-
origin_abcd
- +
ID of origin reference by this cache behavior.
+
+
Sample:
+
origin_abcd
+ - -   - + +   +
trusted_signers
complex -
- + + always -
Trusted signers.
-
- +
Trusted signers.
+
+ - -   -   - + +   +   +
enabled
boolean -
- + + always -
Whether trusted signers are enabled for this cache behavior.
-
- +
Whether trusted signers are enabled for this cache behavior.
+
+ - -   -   - + +   +   +
quantity
integer -
- + + always -
Count of trusted signers.
-
-
Sample:
-
1
- +
Count of trusted signers.
+
+
Sample:
+
1
+ - - -   - + + +   +
viewer_protocol_policy
string -
- + + always -
Policy of how to handle http/https.
-
-
Sample:
-
redirect-to-https
- +
Policy of how to handle http/https.
+
+
Sample:
+
redirect-to-https
+ - - - + + +
default_root_object
string -
- + + always -
The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution.
-
- +
The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution.
+
+ - - + +
diff
dictionary -
- + + always -
Difference between previous configuration and new configuration.
-
- +
Difference between previous configuration and new configuration.
+
+ - - + +
domain_name
string -
- + + always -
Domain name of CloudFront distribution.
-
-
Sample:
-
d1vz8pzgurxosf.cloudfront.net
- +
Domain name of CloudFront distribution.
+
+
Sample:
+
d1vz8pzgurxosf.cloudfront.net
+ - - + +
enabled
boolean -
- + + always -
Whether the CloudFront distribution is enabled or not.
-
-
Sample:
-
True
- +
Whether the CloudFront distribution is enabled or not.
+
+
Sample:
+
True
+ - - + +
http_version
string -
- + + always -
Version of HTTP supported by the distribution.
-
-
Sample:
-
http2
- +
Version of HTTP supported by the distribution.
+
+
Sample:
+
http2
+ - - + +
id
string -
- + + always -
CloudFront distribution ID.
-
-
Sample:
-
E123456ABCDEFG
- +
CloudFront distribution ID.
+
+
Sample:
+
E123456ABCDEFG
+ - - + +
in_progress_invalidation_batches
integer -
- + + always -
The number of invalidation batches currently in progress.
-
- +
The number of invalidation batches currently in progress.
+
+ - - + +
is_ipv6_enabled
boolean -
- + + always -
Whether IPv6 is enabled.
-
-
Sample:
-
True
- +
Whether IPv6 is enabled.
+
+
Sample:
+
True
+ - - + +
last_modified_time
string -
- + + always -
Date and time distribution was last modified.
-
-
Sample:
-
2017-10-13T01:51:12.656000+00:00
- +
Date and time distribution was last modified.
+
+
Sample:
+
2017-10-13T01:51:12.656000+00:00
+ - - + +
logging
complex -
- + + always -
Logging information.
-
- +
Logging information.
+
+ - -   - + +   +
bucket
string -
- + + always -
S3 bucket logging destination.
-
-
Sample:
-
logs-example-com.s3.amazonaws.com
- +
S3 bucket logging destination.
+
+
Sample:
+
logs-example-com.s3.amazonaws.com
+ - -   - + +   +
enabled
boolean -
- + + always -
Whether logging is enabled.
-
-
Sample:
-
True
- +
Whether logging is enabled.
+
+
Sample:
+
True
+ - -   - + +   +
include_cookies
boolean -
- + + always -
Whether to log cookies.
-
- +
Whether to log cookies.
+
+ - -   - + +   +
prefix
string -
- + + always -
Prefix added to logging object names.
-
-
Sample:
-
cloudfront/test
- +
Prefix added to logging object names.
+
+
Sample:
+
cloudfront/test
+ - - - + + +
origins
complex -
- + + always -
Origins in the CloudFront distribution.
-
- +
Origins in the CloudFront distribution.
+
+ - -   - + +   +
items
complex -
- + + always -
List of origins.
-
- +
List of origins.
+
+ - -   -   - + +   +   +
custom_headers
complex -
- + + always -
Custom headers passed to the origin.
-
- +
Custom headers passed to the origin.
+
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
Count of headers.
-
-
Sample:
-
1
- +
Count of headers.
+
+
Sample:
+
1
+ - - -   -   - + + +   +   +
custom_origin_config
complex -
- + + always -
Configuration of the origin.
-
- +
Configuration of the origin.
+
+ - -   -   -   - + +   +   +   +
http_port
integer -
- + + always -
Port on which HTTP is listening.
-
-
Sample:
-
80
- +
Port on which HTTP is listening.
+
+
Sample:
+
80
+ - -   -   -   - + +   +   +   +
https_port
integer -
- + + always -
Port on which HTTPS is listening.
-
-
Sample:
-
443
- +
Port on which HTTPS is listening.
+
+
Sample:
+
443
+ - -   -   -   - + +   +   +   +
origin_keepalive_timeout
integer -
- + + always -
Keep-alive timeout.
-
-
Sample:
-
5
- +
Keep-alive timeout.
+
+
Sample:
+
5
+ - -   -   -   - + +   +   +   +
origin_protocol_policy
string -
- + + always -
Policy of which protocols are supported.
-
-
Sample:
-
https-only
- +
Policy of which protocols are supported.
+
+
Sample:
+
https-only
+ - -   -   -   - + +   +   +   +
origin_read_timeout
integer -
- + + always -
Timeout for reads to the origin.
-
-
Sample:
-
30
- +
Timeout for reads to the origin.
+
+
Sample:
+
30
+ - -   -   -   - + +   +   +   +
origin_ssl_protocols
complex -
- + + always -
SSL protocols allowed by the origin.
-
- +
SSL protocols allowed by the origin.
+
+ - -   -   -   -   - + +   +   +   +   +
items
list -
- + + always -
List of SSL protocols.
-
-
Sample:
-
['TLSv1', 'TLSv1.1', 'TLSv1.2']
- +
List of SSL protocols.
+
+
Sample:
+
['TLSv1', 'TLSv1.1', 'TLSv1.2']
+ - -   -   -   -   - + +   +   +   +   +
quantity
integer -
- + + always -
Count of SSL protocols.
-
-
Sample:
-
3
- +
Count of SSL protocols.
+
+
Sample:
+
3
+ - - - -   -   - + + + +   +   +
domain_name
string -
- + + always -
Domain name of the origin.
-
-
Sample:
-
test-origin.example.com
- +
Domain name of the origin.
+
+
Sample:
+
test-origin.example.com
+ - -   -   - + +   +   +
id
string -
- + + always -
ID of the origin.
-
-
Sample:
-
test-origin.example.com
- +
ID of the origin.
+
+
Sample:
+
test-origin.example.com
+ - -   -   - + +   +   +
origin_path
string -
- + + always -
Subdirectory to prefix the request from the S3 or HTTP origin.
-
- +
Subdirectory to prefix the request from the S3 or HTTP origin.
+
+ - - -   - + + +   +
quantity
integer -
- + + always -
Count of origins.
-
-
Sample:
-
1
- +
Count of origins.
+
+
Sample:
+
1
+ - - - + + +
price_class
string -
- + + always -
Price class of CloudFront distribution.
-
-
Sample:
-
PriceClass_All
- +
Price class of CloudFront distribution.
+
+
Sample:
+
PriceClass_All
+ - - + +
restrictions
complex -
- + + always -
Restrictions in use by CloudFront.
-
- +
Restrictions in use by CloudFront.
+
+ - -   - + +   +
geo_restriction
complex -
- + + always -
Controls the countries in which your content is distributed.
-
- +
Controls the countries in which your content is distributed.
+
+ - -   -   - + +   +   +
items
list -
- + + always -
List of country codes allowed or disallowed.
-
-
Sample:
-
xy
- +
List of country codes allowed or disallowed.
+
+
Sample:
+
xy
+ - -   -   - + +   +   +
quantity
integer -
- + + always -
Count of restrictions.
-
-
Sample:
-
1
- +
Count of restrictions.
+
+
Sample:
+
1
+ - -   -   - + +   +   +
restriction_type
string -
- + + always -
Type of restriction.
-
-
Sample:
-
blacklist
- +
Type of restriction.
+
+
Sample:
+
blacklist
+ - - - - + + + +
status
string -
- + + always -
Status of the CloudFront distribution.
-
-
Sample:
-
InProgress
- +
Status of the CloudFront distribution.
+
+
Sample:
+
InProgress
+ - - + +
tags
dictionary -
- + + always -
Distribution tags.
-
-
Sample:
-
{'Hello': 'World'}
- +
Distribution tags.
+
+
Sample:
+
{'Hello': 'World'}
+ - - + +
viewer_certificate
complex -
- + + always -
Certificate used by CloudFront distribution.
-
- +
Certificate used by CloudFront distribution.
+
+ - -   - + +   +
acm_certificate_arn
string -
- + + when certificate comes from ACM -
ARN of ACM certificate.
-
-
Sample:
-
arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
- +
ARN of ACM certificate.
+
+
Sample:
+
arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
+ - -   - + +   +
certificate
string -
- + + always -
Reference to certificate.
-
-
Sample:
-
arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
- +
Reference to certificate.
+
+
Sample:
+
arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
+ - -   - + +   +
certificate_source
string -
- + + always -
Where certificate comes from.
-
-
Sample:
-
acm
- +
Where certificate comes from.
+
+
Sample:
+
acm
+ - -   - + +   +
minimum_protocol_version
string -
- + + always -
Minimum SSL/TLS protocol supported by this distribution.
-
-
Sample:
-
TLSv1
- +
Minimum SSL/TLS protocol supported by this distribution.
+
+
Sample:
+
TLSv1
+ - -   - + +   +
ssl_support_method
string -
- + + always -
Support for pre-SNI browsers or not.
-
-
Sample:
-
sni-only
- +
Support for pre-SNI browsers or not.
+
+
Sample:
+
sni-only
+ - - - + + +
web_acl_id
string -
- + + always -
ID of Web Access Control List (from WAF service).
-
-
Sample:
-
abcd1234-1234-abcd-abcd-abcd12345678
- +
ID of Web Access Control List (from WAF service).
+
+
Sample:
+
abcd1234-1234-abcd-abcd-abcd12345678
+ - +

@@ -4694,5 +4711,3 @@ Authors - Willem van Ketwich (@wilvk) - Will Thames (@willthames) - - diff --git a/docs/community.aws.cloudfront_info_module.rst b/docs/community.aws.cloudfront_info_module.rst index 755189220fe..4e9509dd0c3 100644 --- a/docs/community.aws.cloudfront_info_module.rst +++ b/docs/community.aws.cloudfront_info_module.rst @@ -37,499 +37,518 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
all_lists
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get all CloudFront lists that do not require parameters.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get all CloudFront lists that do not require parameters.
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
distribution
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get information about a distribution.
-
Requires distribution_id or domain_name_alias to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get information about a distribution.
+
Requires distribution_id or domain_name_alias to be specified.
+
distribution_config
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get the configuration information about a distribution.
-
Requires distribution_id or domain_name_alias to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get the configuration information about a distribution.
+
Requires distribution_id or domain_name_alias to be specified.
+
distribution_id
string -
-
- -
The id of the CloudFront distribution. Used with distribution, distribution_config, invalidation, streaming_distribution, streaming_distribution_config, list_invalidations.
-
+ + + +
The id of the CloudFront distribution. Used with distribution, distribution_config, invalidation, streaming_distribution, streaming_distribution_config, list_invalidations.
+
domain_name_alias
string -
-
- -
Can be used instead of distribution_id - uses the aliased CNAME for the CloudFront distribution to get the distribution id where required.
-
+ + + +
Can be used instead of distribution_id - uses the aliased CNAME for the CloudFront distribution to get the distribution id where required.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
invalidation
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get information about an invalidation.
-
Requires invalidation_id to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get information about an invalidation.
+
Requires invalidation_id to be specified.
+
invalidation_id
string -
-
- -
The id of the invalidation to get information about.
-
Used with invalidation.
-
+ + + +
The id of the invalidation to get information about.
+
Used with invalidation.
+
list_distributions
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get a list of CloudFront distributions.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get a list of CloudFront distributions.
+
list_distributions_by_web_acl_id
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get a list of distributions using web acl id as a filter.
-
Requires web_acl_id to be set.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get a list of distributions using web acl id as a filter.
+
Requires web_acl_id to be set.
+
list_invalidations
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get a list of invalidations.
-
Requires distribution_id or domain_name_alias to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get a list of invalidations.
+
Requires distribution_id or domain_name_alias to be specified.
+
list_origin_access_identities
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get a list of CloudFront origin access identities.
-
Requires origin_access_identity_id to be set.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get a list of CloudFront origin access identities.
+
Requires origin_access_identity_id to be set.
+
list_streaming_distributions
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get a list of streaming distributions.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get a list of streaming distributions.
+
origin_access_identity
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get information about an origin access identity.
-
Requires origin_access_identity_id to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get information about an origin access identity.
+
Requires origin_access_identity_id to be specified.
+
origin_access_identity_config
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get the configuration information about an origin access identity.
-
Requires origin_access_identity_id to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get the configuration information about an origin access identity.
+
Requires origin_access_identity_id to be specified.
+
origin_access_identity_id
string -
-
- -
The id of the CloudFront origin access identity to get information about.
-
+ + + +
The id of the CloudFront origin access identity to get information about.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
streaming_distribution
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get information about a specified RTMP distribution.
-
Requires distribution_id or domain_name_alias to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get information about a specified RTMP distribution.
+
Requires distribution_id or domain_name_alias to be specified.
+
streaming_distribution_config
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Get the configuration information about a specified RTMP distribution.
-
Requires distribution_id or domain_name_alias to be specified.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Get the configuration information about a specified RTMP distribution.
+
Requires distribution_id or domain_name_alias to be specified.
+
summary
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Returns a summary of all distributions, streaming distributions and origin_access_identities.
-
This is the default behaviour if no option is selected.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Returns a summary of all distributions, streaming distributions and origin_access_identities.
+
This is the default behaviour if no option is selected.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -537,7 +556,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -548,7 +567,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Get a summary of distributions @@ -561,7 +579,7 @@ Examples distribution: true distribution_id: my-cloudfront-distribution-id register: result_did - - debug: + - ansible.builtin.debug: msg: "{{ result_did['cloudfront']['my-cloudfront-distribution-id'] }}" - name: Get information about a distribution using the CNAME of the cloudfront distribution. @@ -569,7 +587,7 @@ Examples distribution: true domain_name_alias: www.my-website.com register: result_website - - debug: + - ansible.builtin.debug: msg: "{{ result_website['cloudfront']['www.my-website.com'] }}" # When the module is called as cloudfront_facts, return values are published @@ -579,13 +597,13 @@ Examples community.aws.cloudfront_facts: distribution: true distribution_id: my-cloudfront-distribution-id - - debug: + - ansible.builtin.debug: msg: "{{ ansible_facts['cloudfront']['my-cloudfront-distribution-id'] }}" - community.aws.cloudfront_facts: distribution: true domain_name_alias: www.my-website.com - - debug: + - ansible.builtin.debug: msg: "{{ ansible_facts['cloudfront']['www.my-website.com'] }}" - name: Get all information about an invalidation for a distribution. @@ -610,7 +628,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -623,142 +640,142 @@ Common return values are documented `here Returned Description - - + +
distribution
dictionary -
- + + only if distribution is true -
Facts about a CloudFront distribution. Requires distribution_id or domain_name_alias to be specified. Requires origin_access_identity_id to be set.
-
- +
Facts about a CloudFront distribution. Requires distribution_id or domain_name_alias to be specified. Requires origin_access_identity_id to be set.
+
+ - - + +
distribution_config
dictionary -
- + + only if distribution_config is true -
Facts about a CloudFront distribution's config. Requires distribution_id or domain_name_alias to be specified.
-
- +
Facts about a CloudFront distribution's config. Requires distribution_id or domain_name_alias to be specified.
+
+ - - + +
invalidation
dictionary -
- + + only if invalidation is true -
Describes the invalidation information for the distribution. Requires invalidation_id to be specified and either distribution_id or domain_name_alias.
-
- +
Describes the invalidation information for the distribution. Requires invalidation_id to be specified and either distribution_id or domain_name_alias.
+
+ - - + +
origin_access_identity
dictionary -
- + + only if origin_access_identity is true -
Describes the origin access identity information. Requires origin_access_identity_id to be set.
-
- +
Describes the origin access identity information. Requires origin_access_identity_id to be set.
+
+ - - + +
origin_access_identity_configuration
dictionary -
- + + only if origin_access_identity_configuration is true -
Describes the origin access identity information configuration information. Requires origin_access_identity_id to be set.
-
- +
Describes the origin access identity information configuration information. Requires origin_access_identity_id to be set.
+
+ - - + +
result
dictionary -
- + + always -
Result dict not nested under the CloudFront ID to access results of module without the knowledge of that id as figuring out the DistributionId is usually the reason one uses this module in the first place.
-
- +
Result dict not nested under the CloudFront ID to access results of module without the knowledge of that id as figuring out the DistributionId is usually the reason one uses this module in the first place.
+
+ - - + +
streaming_distribution
dictionary -
- + + only if streaming_distribution is true -
Describes the streaming information for the distribution. Requires distribution_id or domain_name_alias to be specified.
-
- +
Describes the streaming information for the distribution. Requires distribution_id or domain_name_alias to be specified.
+
+ - - + +
streaming_distribution_config
dictionary -
- + + only if streaming_distribution_config is true -
Describes the streaming configuration information for the distribution. Requires distribution_id or domain_name_alias to be specified.
-
- +
Describes the streaming configuration information for the distribution. Requires distribution_id or domain_name_alias to be specified.
+
+ - - + +
summary
dictionary -
- + + as default or if summary is true -
Gives a summary of distributions, streaming distributions and origin access identities.
-
- +
Gives a summary of distributions, streaming distributions and origin access identities.
+
+ - +

@@ -770,5 +787,3 @@ Authors ~~~~~~~ - Willem van Ketwich (@wilvk) - - diff --git a/docs/community.aws.cloudfront_invalidation_module.rst b/docs/community.aws.cloudfront_invalidation_module.rst index 4914417a929..7c64f2e6d18 100644 --- a/docs/community.aws.cloudfront_invalidation_module.rst +++ b/docs/community.aws.cloudfront_invalidation_module.rst @@ -36,223 +36,242 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
alias
string -
-
- -
The alias of the CloudFront distribution to invalidate paths for. Can be specified instead of distribution_id.
-
+ +
The alias of the CloudFront distribution to invalidate paths for. Can be specified instead of distribution_id.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
caller_reference
string -
-
- Default:
null
-
-
A unique reference identifier for the invalidation paths.
-
Defaults to current datetime stamp.
-
+ Default:
null
+
+
A unique reference identifier for the invalidation paths.
+
Defaults to current datetime stamp.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
distribution_id
string -
-
- -
The ID of the CloudFront distribution to invalidate paths for. Can be specified instead of the alias.
-
+ +
The ID of the CloudFront distribution to invalidate paths for. Can be specified instead of the alias.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
target_paths
list - / elements=string / required
-
- -
A list of paths on the distribution to invalidate. Each path should begin with '/'. Wildcards are allowed. eg. '/foo/bar/*'
-
+ +
A list of paths on the distribution to invalidate. Each path should begin with '/'. Wildcards are allowed. eg. '/foo/bar/*'
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -261,7 +280,7 @@ Notes .. note:: - does not support check mode - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -272,8 +291,6 @@ Examples .. code-block:: yaml+jinja - - - name: create a batch of invalidations using a distribution_id for a reference community.aws.cloudfront_invalidation: distribution_id: E15BU8SDCGSG57 @@ -294,8 +311,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -308,188 +323,188 @@ Common return values are documented `here Returned Description - - + +
invalidation
complex -
- + + always -
The invalidation's information.
-
- +
The invalidation's information.
+
+ - -   - + +   +
create_time
string -
- + + always -
The date and time the invalidation request was first made.
-
-
Sample:
-
2018-02-01T15:50:41.159000+00:00
- +
The date and time the invalidation request was first made.
+
+
Sample:
+
2018-02-01T15:50:41.159000+00:00
+ - -   - + +   +
id
string -
- + + always -
The identifier for the invalidation request.
-
-
Sample:
-
I2G9MOWJZFV612
- +
The identifier for the invalidation request.
+
+
Sample:
+
I2G9MOWJZFV612
+ - -   - + +   +
invalidation_batch
complex -
- + + always -
The current invalidation information for the batch request.
-
- +
The current invalidation information for the batch request.
+
+ - -   -   - + +   +   +
caller_reference
string -
- + + always -
The value used to uniquely identify an invalidation request.
-
-
Sample:
-
testing 123
- +
The value used to uniquely identify an invalidation request.
+
+
Sample:
+
testing 123
+ - -   -   - + +   +   +
paths
complex -
- + + always -
A dict that contains information about the objects that you want to invalidate.
-
- +
A dict that contains information about the objects that you want to invalidate.
+
+ - -   -   -   - + +   +   +   +
items
list -
- + + always -
A list of the paths that you want to invalidate.
-
-
Sample:
-
['/testpathtwo/test2.js', '/testpathone/test1.css', '/testpaththree/test3.ss']
- +
A list of the paths that you want to invalidate.
+
+
Sample:
+
['/testpathtwo/test2.js', '/testpathone/test1.css', '/testpaththree/test3.ss']
+ - -   -   -   - + +   +   +   +
quantity
integer -
- + + always -
The number of objects that you want to invalidate.
-
-
Sample:
-
3
- +
The number of objects that you want to invalidate.
+
+
Sample:
+
3
+ - - - -   - + + + +   +
status
string -
- + + always -
The status of the invalidation request.
-
-
Sample:
-
Completed
- +
The status of the invalidation request.
+
+
Sample:
+
Completed
+ - - - + + +
location
string -
- + + always -
The fully qualified URI of the distribution and invalidation batch request.
-
-
Sample:
-
https://cloudfront.amazonaws.com/2017-03-25/distribution/E1ZID6KZJECZY7/invalidation/I2G9MOWJZFV622
- +
The fully qualified URI of the distribution and invalidation batch request.
+
+
Sample:
+
https://cloudfront.amazonaws.com/2017-03-25/distribution/E1ZID6KZJECZY7/invalidation/I2G9MOWJZFV622
+ - +

@@ -501,5 +516,3 @@ Authors ~~~~~~~ - Willem van Ketwich (@wilvk) - - diff --git a/docs/community.aws.cloudfront_origin_access_identity_module.rst b/docs/community.aws.cloudfront_origin_access_identity_module.rst index 505ae05d855..33afee9fb02 100644 --- a/docs/community.aws.cloudfront_origin_access_identity_module.rst +++ b/docs/community.aws.cloudfront_origin_access_identity_module.rst @@ -36,225 +36,244 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
caller_reference
string -
-
- -
A unique identifier to reference the origin access identity by.
-
+ +
A unique identifier to reference the origin access identity by.
+
+
comment
string -
-
- -
A comment to describe the CloudFront origin access identity.
-
+ +
A comment to describe the CloudFront origin access identity.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
origin_access_identity_id
string -
-
- -
The origin_access_identity_id of the CloudFront distribution.
-
+ +
The origin_access_identity_id of the CloudFront distribution.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
If the named resource should exist.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
If the named resource should exist.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -263,7 +282,7 @@ Notes .. note:: - Does not support check mode. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -274,8 +293,6 @@ Examples .. code-block:: yaml+jinja - - - name: create an origin access identity community.aws.cloudfront_origin_access_identity: state: present @@ -296,8 +313,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -310,136 +325,136 @@ Common return values are documented `here Returned Description - - + +
cloud_front_origin_access_identity
complex -
- + + always -
The origin access identity's information.
-
- +
The origin access identity's information.
+
+ - -   - + +   +
cloud_front_origin_access_identity_config
complex -
- + + always -
describes a url specifying the origin access identity.
-
- +
describes a url specifying the origin access identity.
+
+ - -   -   - + +   +   +
caller_reference
string -
- + + always -
a caller reference for the oai
-
- +
a caller reference for the oai
+
+ - -   -   - + +   +   +
comment
string -
- + + always -
a comment describing the oai
-
- +
a comment describing the oai
+
+ - - -   - + + +   +
id
string -
- + + always -
a unique identifier of the oai
-
- +
a unique identifier of the oai
+
+ - -   - + +   +
s3_canonical_user_id
string -
- + + always -
the canonical user ID of the user who created the oai
-
- +
the canonical user ID of the user who created the oai
+
+ - - - + + +
e_tag
string -
- + + always -
The current version of the origin access identity created.
-
- +
The current version of the origin access identity created.
+
+ - - + +
location
string -
- + + when initially created -
The fully qualified URI of the new origin access identity just created.
-
- +
The fully qualified URI of the new origin access identity just created.
+
+ - +

@@ -451,5 +466,3 @@ Authors ~~~~~~~ - Willem van Ketwich (@wilvk) - - diff --git a/docs/community.aws.cloudtrail_module.rst b/docs/community.aws.cloudtrail_module.rst index 3d904ff00b2..de5f1f40b07 100644 --- a/docs/community.aws.cloudtrail_module.rst +++ b/docs/community.aws.cloudtrail_module.rst @@ -37,397 +37,416 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cloudwatch_logs_log_group_arn
string -
-
- -
A full ARN specifying a valid CloudWatch log group to which CloudTrail logs will be delivered. The log group should already exist.
- -
Required when cloudwatch_logs_role_arn.
-
+ +
A full ARN specifying a valid CloudWatch log group to which CloudTrail logs will be delivered. The log group should already exist.
+ +
Required when cloudwatch_logs_role_arn.
+
+
cloudwatch_logs_role_arn
string -
-
- -
Specifies a full ARN for an IAM role that assigns the proper permissions for CloudTrail to create and write to the log group.
- -
Required when cloudwatch_logs_log_group_arn.
-
+ +
Specifies a full ARN for an IAM role that assigns the proper permissions for CloudTrail to create and write to the log group.
+ +
Required when cloudwatch_logs_log_group_arn.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
enable_log_file_validation
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Specifies whether log file integrity validation is enabled.
-
CloudTrail will create a hash for every log file delivered and produce a signed digest file that can be used to ensure log files have not been tampered.
-

aliases: log_file_validation_enabled
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Specifies whether log file integrity validation is enabled.
+
CloudTrail will create a hash for every log file delivered and produce a signed digest file that can be used to ensure log files have not been tampered.
+

aliases: log_file_validation_enabled
+
+
enable_logging
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Start or stop the CloudTrail logging. If stopped the trail will be paused and will not record events or deliver log files.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Start or stop the CloudTrail logging. If stopped the trail will be paused and will not record events or deliver log files.
+
+
include_global_events
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Record API calls from global services such as IAM and STS.
-

aliases: include_global_service_events
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Record API calls from global services such as IAM and STS.
+

aliases: include_global_service_events
+
+
is_multi_region_trail
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specify whether the trail belongs only to one region or exists in all regions.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specify whether the trail belongs only to one region or exists in all regions.
+
+
kms_key_id
string -
-
- -
Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. This also has the effect of enabling log file encryption.
-
The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- -
+ +
Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. This also has the effect of enabling log file encryption.
+
The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
+ +
+
name
string -
-
- Default:
"default"
-
-
Name for the CloudTrail.
-
Names are unique per-region unless the CloudTrail is a multi-region trail, in which case it is unique per-account.
-
+ Default:
"default"
+
+
Name for the CloudTrail.
+
Names are unique per-region unless the CloudTrail is a multi-region trail, in which case it is unique per-account.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
s3_bucket_name
string -
-
- -
An existing S3 bucket where CloudTrail will deliver log files.
-
This bucket should exist and have the proper policy.
- -
Required when state=present.
-
+ + + +
An existing S3 bucket where CloudTrail will deliver log files.
+
This bucket should exist and have the proper policy.
+ +
Required when state=present.
+
s3_key_prefix
string -
-
- -
S3 Key prefix for delivered log files. A trailing slash is not necessary and will be removed.
-
+ +
S3 Key prefix for delivered log files. A trailing slash is not necessary and will be removed.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
sns_topic_name
string -
-
- -
SNS Topic name to send notifications to when a log file is delivered.
-
+ +
SNS Topic name to send notifications to when a log file is delivered.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
  • enabled
  • -
  • disabled
  • -
-
-
Add or remove CloudTrail configuration.
-
The following states have been preserved for backwards compatibility: state=enabled and state=disabled.
-
state=enabled is equivalet to state=present.
-
state=disabled is equivalet to state=absent.
-
+ + +
    Choices: +
  • present ←
  • +
  • absent
  • +
  • enabled
  • +
  • disabled
  • +
+
+
Add or remove CloudTrail configuration.
+
The following states have been preserved for backwards compatibility: state=enabled and state=disabled.
+
state=enabled is equivalet to state=present.
+
state=disabled is equivalet to state=absent.
+
tags
dictionary -
-
- Default:
{}
-
-
A hash/dictionary of tags to be applied to the CloudTrail resource.
-
Remove completely or specify an empty dictionary to remove all tags.
-
+ Default:
{}
+
+
A hash/dictionary of tags to be applied to the CloudTrail resource.
+
Remove completely or specify an empty dictionary to remove all tags.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -435,7 +454,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -446,7 +465,6 @@ Examples .. code-block:: yaml+jinja - - name: create single region cloudtrail community.aws.cloudtrail: state: present @@ -498,7 +516,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -511,328 +528,328 @@ Common return values are documented `here Returned Description - - + +
exists
boolean -
- + + always -
whether the resource exists
-
-
Sample:
-
True
- - - - +
whether the resource exists
+
+
Sample:
+
True
+ + + +
trail
complex -
- + + always -
CloudTrail resource details
-
-
Sample:
-
hash/dictionary of values
- +
CloudTrail resource details
+
+
Sample:
+
hash/dictionary of values
+ - -   - + +   +
cloud_watch_logs_log_group_arn
string -
- + + success when present -
Full ARN of the CloudWatch Logs log group where events are delivered.
-
-
Sample:
-
arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail/DefaultLogGroup:*
- - - -   - +
Full ARN of the CloudWatch Logs log group where events are delivered.
+
+
Sample:
+
arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail/DefaultLogGroup:*
+ + + +   +
cloud_watch_logs_role_arn
string -
- + + success when present -
Full ARN of the IAM role that CloudTrail assumes to deliver events.
-
-
Sample:
-
arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role
- - - -   - +
Full ARN of the IAM role that CloudTrail assumes to deliver events.
+
+
Sample:
+
arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role
+ + + +   +
has_custom_event_selectors
boolean -
- + + success -
Whether any custom event selectors are used for this trail.
-
- +
Whether any custom event selectors are used for this trail.
+
+ - -   - + +   +
home_region
string -
- + + success -
The home region where the trail was originally created and must be edited.
-
-
Sample:
-
us-east-1
- - - -   - +
The home region where the trail was originally created and must be edited.
+
+
Sample:
+
us-east-1
+ + + +   +
include_global_service_events
boolean -
- + + success -
Whether global services (IAM, STS) are logged with this trail
-
-
Sample:
-
True
- - - -   - +
Whether global services (IAM, STS) are logged with this trail
+
+
Sample:
+
True
+ + + +   +
is_logging
boolean -
- + + success -
Whether logging is turned on or paused for the Trail
-
-
Sample:
-
True
- - - -   - +
Whether logging is turned on or paused for the Trail
+
+
Sample:
+
True
+ + + +   +
is_multi_region_trail
boolean -
- + + success -
Whether the trail applies to all regions or just one
-
-
Sample:
-
True
- - - -   - +
Whether the trail applies to all regions or just one
+
+
Sample:
+
True
+ + + +   +
kms_key_id
string -
- + + success when present -
Full ARN of the KMS Key used to encrypt log files.
-
-
Sample:
-
arn:aws:kms::123456789012:key/12345678-1234-1234-1234-123456789012
- - - -   - +
Full ARN of the KMS Key used to encrypt log files.
+
+
Sample:
+
arn:aws:kms::123456789012:key/12345678-1234-1234-1234-123456789012
+ + + +   +
log_file_validation_enabled
boolean -
- + + success -
Whether log file validation is enabled on the trail
-
-
Sample:
-
True
- - - -   - +
Whether log file validation is enabled on the trail
+
+
Sample:
+
True
+ + + +   +
name
string -
- + + success -
Name of the CloudTrail resource
-
-
Sample:
-
default
- - - -   - +
Name of the CloudTrail resource
+
+
Sample:
+
default
+ + + +   +
s3_bucket_name
string -
- + + success -
S3 bucket name where log files are delivered
-
-
Sample:
-
myBucket
- - - -   - +
S3 bucket name where log files are delivered
+
+
Sample:
+
myBucket
+ + + +   +
s3_key_prefix
string -
- + + success when present -
Key prefix in bucket where log files are delivered (if any)
-
-
Sample:
-
myKeyPrefix
- - - -   - +
Key prefix in bucket where log files are delivered (if any)
+
+
Sample:
+
myKeyPrefix
+ + + +   +
sns_topic_arn
string -
- + + success when present -
Full ARN of the SNS topic where log delivery notifications are sent.
-
-
Sample:
-
arn:aws:sns:us-east-1:123456789012:topic/myTopic
- - - -   - +
Full ARN of the SNS topic where log delivery notifications are sent.
+
+
Sample:
+
arn:aws:sns:us-east-1:123456789012:topic/myTopic
+ + + +   +
sns_topic_name
string -
- + + success when present -
The SNS topic name where log delivery notifications are sent.
-
-
Sample:
-
myTopic
- - - -   - +
The SNS topic name where log delivery notifications are sent.
+
+
Sample:
+
myTopic
+ + + +   +
tags
dictionary -
- + + success -
hash/dictionary of tags applied to this resource
-
-
Sample:
-
{'environment': 'dev', 'Name': 'default'}
- - - -   - +
hash/dictionary of tags applied to this resource
+
+
Sample:
+
{'environment': 'dev', 'Name': 'default'}
+ + + +   +
trail_arn
string -
- + + success -
Full ARN of the CloudTrail resource
-
-
Sample:
-
arn:aws:cloudtrail:us-east-1:123456789012:trail/default
- +
Full ARN of the CloudTrail resource
+
+
Sample:
+
arn:aws:cloudtrail:us-east-1:123456789012:trail/default
+ - - + +

@@ -846,5 +863,3 @@ Authors - Ansible Core Team - Ted Timmons (@tedder) - Daniel Shepherd (@shepdelacreme) - - diff --git a/docs/community.aws.cloudwatchevent_rule_module.rst b/docs/community.aws.cloudwatchevent_rule_module.rst index a2916b54e84..7c56bee0820 100644 --- a/docs/community.aws.cloudwatchevent_rule_module.rst +++ b/docs/community.aws.cloudwatchevent_rule_module.rst @@ -36,405 +36,424 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A description of the rule.
-
+ +
A description of the rule.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
event_pattern
string -
-
- -
A string pattern (in valid JSON format) that is used to match against incoming events to determine if the rule should be triggered.
-
+ +
A string pattern (in valid JSON format) that is used to match against incoming events to determine if the rule should be triggered.
+
+
name
string - / required
-
- -
The name of the rule you are creating, updating or deleting. No spaces or special characters allowed (i.e. must match [\.\-_A-Za-z0-9]+).
-
+ +
The name of the rule you are creating, updating or deleting. No spaces or special characters allowed (i.e. must match [\.\-_A-Za-z0-9]+).
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string -
-
- -
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
-
+ +
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
+
+
schedule_expression
string -
-
- -
A cron or rate expression that defines the schedule the rule will trigger on. For example, cron(0 20 * * ? *), rate(5 minutes).
-
+ +
A cron or rate expression that defines the schedule the rule will trigger on. For example, cron(0 20 * * ? *), rate(5 minutes).
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • disabled
  • -
  • absent
  • -
-
-
Whether the rule is present (and enabled), disabled, or absent.
-
+
    Choices: +
  • present ←
  • +
  • disabled
  • +
  • absent
  • +
+
+
Whether the rule is present (and enabled), disabled, or absent.
+
+
targets
list - / elements=dictionary
-
- -
A list of targets to add to or update for the rule.
-
+ +
A list of targets to add to or update for the rule.
+
+
arn
string - / required
-
- -
The ARN associated with the target.
-
+ +
The ARN associated with the target.
+
+
ecs_parameters
dictionary -
-
- -
Contains the ECS task definition and task count to be used, if the event target is an ECS task.
-
+ +
Contains the ECS task definition and task count to be used, if the event target is an ECS task.
+
+
task_count
integer -
-
- -
The number of tasks to create based on task_definition.
-
+ +
The number of tasks to create based on task_definition.
+
+
task_definition_arn
string -
-
- -
The full ARN of the task definition.
-
+ +
The full ARN of the task definition.
+
+ +
id
string - / required
-
- -
The unique target assignment ID.
-
+ +
The unique target assignment ID.
+
+
input
string -
-
- -
A JSON object that will override the event data when passed to the target.
-
If neither input nor input_path is specified, then the entire event is passed to the target in JSON form.
-
+ +
A JSON object that will override the event data when passed to the target.
+
If neither input nor input_path is specified, then the entire event is passed to the target in JSON form.
+
+
input_path
string -
-
- -
A JSONPath string (e.g. $.detail) that specifies the part of the event data to be passed to the target.
-
If neither input nor input_path is specified, then the entire event is passed to the target in JSON form.
-
+ +
A JSONPath string (e.g. $.detail) that specifies the part of the event data to be passed to the target.
+
If neither input nor input_path is specified, then the entire event is passed to the target in JSON form.
+
+
role_arn
string -
-
- -
The ARN of the IAM role to be used for this target when the rule is triggered.
-
+ +
The ARN of the IAM role to be used for this target when the rule is triggered.
+
+ +
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -444,7 +463,7 @@ Notes .. note:: - A rule must contain at least an *event_pattern* or *schedule_expression*. A rule can have both an *event_pattern* and a *schedule_expression*, in which case the rule will trigger on matching events as well as on a schedule. - When specifying targets, *input* and *input_path* are mutually-exclusive and optional parameters. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -455,7 +474,6 @@ Examples .. code-block:: yaml+jinja - - community.aws.cloudwatchevent_rule: name: MyCronTask schedule_expression: "cron(0 20 * * ? *)" @@ -480,7 +498,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -493,41 +510,41 @@ Common return values are documented `here Returned Description - - + +
rule
dictionary -
- + + success -
CloudWatch Event rule data.
-
-
Sample:
-
{'arn': 'arn:aws:events:us-east-1:123456789012:rule/MyCronTask', 'description': 'Run my scheduled task', 'name': 'MyCronTask', 'schedule_expression': 'cron(0 20 * * ? *)', 'state': 'ENABLED'}
- +
CloudWatch Event rule data.
+
+
Sample:
+
{'arn': 'arn:aws:events:us-east-1:123456789012:rule/MyCronTask', 'description': 'Run my scheduled task', 'name': 'MyCronTask', 'schedule_expression': 'cron(0 20 * * ? *)', 'state': 'ENABLED'}
+ - - + +
targets
list -
- + + success -
CloudWatch Event target(s) assigned to the rule.
-
-
Sample:
-
[{ 'arn': 'arn:aws:lambda:us-east-1:123456789012:function:MyFunction', 'id': 'MyTargetId' }]
- +
CloudWatch Event target(s) assigned to the rule.
+
+
Sample:
+
[{ 'arn': 'arn:aws:lambda:us-east-1:123456789012:function:MyFunction', 'id': 'MyTargetId' }]
+ - +

@@ -539,5 +556,3 @@ Authors ~~~~~~~ - Jim Dalton (@jsdalton) - - diff --git a/docs/community.aws.cloudwatchlogs_log_group_info_module.rst b/docs/community.aws.cloudwatchlogs_log_group_info_module.rst index 5208cf28a0c..d9bb44238d4 100644 --- a/docs/community.aws.cloudwatchlogs_log_group_info_module.rst +++ b/docs/community.aws.cloudwatchlogs_log_group_info_module.rst @@ -38,176 +38,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
log_group_name
string -
-
- -
The name or prefix of the log group to filter by.
-
+ +
The name or prefix of the log group to filter by.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -215,7 +234,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -226,14 +245,12 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - community.aws.cloudwatchlogs_log_group_info: log_group_name: test-log-group - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -246,135 +263,135 @@ Common return values are documented `here Returned Description - - + +
log_groups
complex -
- + + success -
Return the list of complex objects representing log groups
-
- +
Return the list of complex objects representing log groups
+
+ - -   - + +   +
arn
string -
- + + always -
The Amazon Resource Name (ARN) of the log group.
-
- +
The Amazon Resource Name (ARN) of the log group.
+
+ - -   - + +   +
creation_time
integer -
- + + always -
The creation time of the log group.
-
- +
The creation time of the log group.
+
+ - -   - + +   +
kms_key_id
string -
- + + always -
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
-
- +
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
+
+ - -   - + +   +
log_group_name
string -
- + + always -
The name of the log group.
-
- +
The name of the log group.
+
+ - -   - + +   +
metric_filter_count
integer -
- + + always -
The number of metric filters.
-
- +
The number of metric filters.
+
+ - -   - + +   +
retention_in_days
integer -
- + + always -
The number of days to retain the log events in the specified log group.
-
- +
The number of days to retain the log events in the specified log group.
+
+ - -   - + +   +
stored_bytes
string -
- + + always -
The number of bytes stored.
-
- +
The number of bytes stored.
+
+ - - + +

@@ -386,5 +403,3 @@ Authors ~~~~~~~ - Willian Ricardo (@willricardo) - - diff --git a/docs/community.aws.cloudwatchlogs_log_group_metric_filter_module.rst b/docs/community.aws.cloudwatchlogs_log_group_metric_filter_module.rst index b31b096d815..c32f7470e6b 100644 --- a/docs/community.aws.cloudwatchlogs_log_group_metric_filter_module.rst +++ b/docs/community.aws.cloudwatchlogs_log_group_metric_filter_module.rst @@ -38,305 +38,324 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filter_name
string - / required
-
- -
A name for the metric filter you create.
-
+ +
A name for the metric filter you create.
+
+
filter_pattern
string -
-
- -
A filter pattern for extracting metric data out of ingested log events. Required when state=present.
-
+ +
A filter pattern for extracting metric data out of ingested log events. Required when state=present.
+
+
log_group_name
string - / required
-
- -
The name of the log group where the metric filter is applied on.
-
+ +
The name of the log group where the metric filter is applied on.
+
+
metric_transformation
dictionary -
-
- -
A collection of information that defines how metric data gets emitted. Required when state=present.
-
+ +
A collection of information that defines how metric data gets emitted. Required when state=present.
+
+
default_value
float -
-
- -
The value to emit when a filter pattern does not match a log event.
-
+ +
The value to emit when a filter pattern does not match a log event.
+
+
metric_name
string -
-
- -
The name of the cloudWatch metric.
-
+ +
The name of the cloudWatch metric.
+
+
metric_namespace
string -
-
- -
The namespace of the cloudWatch metric.
-
+ +
The namespace of the cloudWatch metric.
+
+
metric_value
string -
-
- -
The value to publish to the cloudWatch metric when a filter pattern matches a log event.
-
+ +
The value to publish to the cloudWatch metric when a filter pattern matches a log event.
+
+ +
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Whether the rule is present or absent.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Whether the rule is present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -344,7 +363,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -355,7 +374,6 @@ Examples .. code-block:: yaml+jinja - - name: set metric filter on log group /fluentd/testcase community.aws.cloudwatchlogs_log_group_metric_filter: log_group_name: /fluentd/testcase @@ -375,7 +393,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -388,24 +405,24 @@ Common return values are documented `here Returned Description - - + +
metric_filters
list -
- + + success -
Return the origin response value
-
-
Sample:
-
[{'default_value': 3.1415, 'metric_name': 'box_free_space', 'metric_namespace': 'made_with_ansible', 'metric_value': '$.value'}]
- +
Return the origin response value
+
+
Sample:
+
[{'default_value': 3.1415, 'metric_name': 'box_free_space', 'metric_namespace': 'made_with_ansible', 'metric_value': '$.value'}]
+ - +

@@ -417,5 +434,3 @@ Authors ~~~~~~~ - Markus Bergholz (@markuman) - - diff --git a/docs/community.aws.cloudwatchlogs_log_group_module.rst b/docs/community.aws.cloudwatchlogs_log_group_module.rst index dd4963ec230..c00633fbf5b 100644 --- a/docs/community.aws.cloudwatchlogs_log_group_module.rst +++ b/docs/community.aws.cloudwatchlogs_log_group_module.rst @@ -38,282 +38,301 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
kms_key_id
string -
-
- -
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
-
+ +
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
+
+
log_group_name
string - / required
-
- -
The name of the log group.
-
+ +
The name of the log group.
+
+
overwrite
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether an existing log group should be overwritten on create.
-
Mutually exclusive with purge_retention_policy.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether an existing log group should be overwritten on create.
+
Mutually exclusive with purge_retention_policy.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_retention_policy
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to purge the retention policy or not.
-
Mutually exclusive with retention and overwrite.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to purge the retention policy or not.
+
Mutually exclusive with retention and overwrite.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
retention
integer -
-
- -
The number of days to retain the log events in the specified log group.
-
Valid values are: [1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653]
-
Mutually exclusive with purge_retention_policy.
-
+ +
The number of days to retain the log events in the specified log group.
+
Valid values are: [1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653]
+
Mutually exclusive with purge_retention_policy.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the rule is present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the rule is present or absent.
+
+
tags
dictionary -
-
- -
The key-value pairs to use for the tags.
-
+ +
The key-value pairs to use for the tags.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -322,7 +341,7 @@ Notes .. note:: - For details of the parameters and returns see http://boto3.readthedocs.io/en/latest/reference/services/logs.html. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -333,7 +352,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - community.aws.cloudwatchlogs_log_group: @@ -356,8 +374,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -370,135 +386,135 @@ Common return values are documented `here Returned Description - - + +
log_groups
complex -
- + + success -
Return the list of complex objects representing log groups
-
- +
Return the list of complex objects representing log groups
+
+ - -   - + +   +
arn
string -
- + + always -
The Amazon Resource Name (ARN) of the log group.
-
- +
The Amazon Resource Name (ARN) of the log group.
+
+ - -   - + +   +
creation_time
integer -
- + + always -
The creation time of the log group.
-
- +
The creation time of the log group.
+
+ - -   - + +   +
kms_key_id
string -
- + + always -
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
-
- +
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
+
+ - -   - + +   +
log_group_name
string -
- + + always -
The name of the log group.
-
- +
The name of the log group.
+
+ - -   - + +   +
metric_filter_count
integer -
- + + always -
The number of metric filters.
-
- +
The number of metric filters.
+
+ - -   - + +   +
retention_in_days
integer -
- + + always -
The number of days to retain the log events in the specified log group.
-
- +
The number of days to retain the log events in the specified log group.
+
+ - -   - + +   +
stored_bytes
string -
- + + always -
The number of bytes stored.
-
- +
The number of bytes stored.
+
+ - - + +

@@ -510,5 +526,3 @@ Authors ~~~~~~~ - Willian Ricardo (@willricardo) - - diff --git a/docs/community.aws.data_pipeline_module.rst b/docs/community.aws.data_pipeline_module.rst index 46777ae9482..eb515b19242 100644 --- a/docs/community.aws.data_pipeline_module.rst +++ b/docs/community.aws.data_pipeline_module.rst @@ -38,509 +38,528 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - - - - - + + + + + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- Default:
""
-
-
An optional description for the pipeline being created.
-
+ Default:
""
+
+
An optional description for the pipeline being created.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name of the Datapipeline to create/modify/delete.
-
+ +
The name of the Datapipeline to create/modify/delete.
+
+
objects
list - / elements=dictionary
-
- -
A list of pipeline object definitions, each of which is a dict that takes the keys id, name and fields.
-
+ / elements=dictionary + + +
A list of pipeline object definitions, each of which is a dict that takes the keys id, name and fields.
+
fields
list - / elements=dictionary
-
- -
Key-value pairs that define the properties of the object.
-
The value is specified as a reference to another object refValue or as a string value stringValue but not as both.
-
+ / elements=dictionary + + +
Key-value pairs that define the properties of the object.
+
The value is specified as a reference to another object refValue or as a string value stringValue but not as both.
+
key
string -
-
- -
The field identifier.
-
+ +
The field identifier.
+
+
refValue
string -
-
- -
The field value, expressed as the identifier of another object.
-
Exactly one of stringValue and refValue may be specified.
-
+ + + +
The field value, expressed as the identifier of another object.
+
Exactly one of stringValue and refValue may be specified.
+
stringValue
string -
-
- -
The field value.
-
Exactly one of stringValue and refValue may be specified.
-
+ + + +
The field value.
+
Exactly one of stringValue and refValue may be specified.
+
id
string -
-
- -
The ID of the object.
-
+ +
The ID of the object.
+
+
name
string -
-
- -
The name of the object.
-
+ + + +
The name of the object.
+
parameters
list - / elements=dictionary
-
- -
A list of parameter objects (dicts) in the pipeline definition.
-
+ / elements=dictionary + + +
A list of parameter objects (dicts) in the pipeline definition.
+
attributes
list - / elements=dictionary
-
- -
A list of attributes (dicts) of the parameter object.
-
+ / elements=dictionary + + +
A list of attributes (dicts) of the parameter object.
+
key
string -
-
- -
The field identifier.
-
+ +
The field identifier.
+
+
stringValue
string -
-
- -
The field value.
-
+ + + +
The field value.
+
id
- -
-
- -
The ID of the parameter object.
-
+ + + +
The ID of the parameter object.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
  • active
  • -
  • inactive
  • -
-
-
The requested state of the pipeline.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
  • active
  • +
  • inactive
  • +
+
+
The requested state of the pipeline.
+
+
tags
dictionary -
-
- -
A dict of key:value pair(s) to add to the pipeline.
-
+ +
A dict of key:value pair(s) to add to the pipeline.
+
+
timeout
integer -
-
- Default:
300
-
-
Time in seconds to wait for the pipeline to transition to the requested state, fail otherwise.
-
+ Default:
300
+
+
Time in seconds to wait for the pipeline to transition to the requested state, fail otherwise.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
values
list - / elements=dictionary
-
- -
A list of parameter values (dicts) in the pipeline definition.
-
+ / elements=dictionary + + +
A list of parameter values (dicts) in the pipeline definition.
+
id
string -
-
- -
The ID of the parameter value
-
+ +
The ID of the parameter value
+
+
stringValue
string -
-
- -
The field value
-
+ + + +
The field value
+
version
string -
-
- -
The version option has never had any effect and will be removed after 2022-06-01.
-
+ + + + + +
The version option has never had any effect and will be removed after 2022-06-01.
+ + +
@@ -548,7 +567,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -559,7 +578,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Create pipeline @@ -611,8 +629,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -625,39 +641,39 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
whether the data pipeline has been modified
-
-
Sample:
-
{'changed': True}
- - - - +
whether the data pipeline has been modified
+
+
Sample:
+
{'changed': True}
+ + + +
result
dictionary -
- + + always -
Contains the data pipeline data (data_pipeline) and a return message (msg). If the data pipeline exists data_pipeline will contain the keys description, name, pipeline_id, state, tags, and unique_id. If the data pipeline does not exist then data_pipeline will be an empty dict. The msg describes the status of the operation.
-
- +
Contains the data pipeline data (data_pipeline) and a return message (msg). If the data pipeline exists data_pipeline will contain the keys description, name, pipeline_id, state, tags, and unique_id. If the data pipeline does not exist then data_pipeline will be an empty dict. The msg describes the status of the operation.
+
+ - +

@@ -670,5 +686,3 @@ Authors - Raghu Udiyar (@raags) - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.dms_endpoint_module.rst b/docs/community.aws.dms_endpoint_module.rst index 553634a530a..d7dad3d6be2 100644 --- a/docs/community.aws.dms_endpoint_module.rst +++ b/docs/community.aws.dms_endpoint_module.rst @@ -35,571 +35,590 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + / required + + + - - + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
certificatearn
string -
-
- -
Amazon Resource Name (ARN) for the certificate.
-
+ +
Amazon Resource Name (ARN) for the certificate.
+
+
databasename
string -
-
- -
Name for the database on the origin or target side.
-
+ +
Name for the database on the origin or target side.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
dmstransfersettings
dictionary -
-
- -
The settings in JSON format for the DMS transfer type of source endpoint.
-
+ +
The settings in JSON format for the DMS transfer type of source endpoint.
+
+
dynamodbsettings
dictionary -
-
- -
Settings in JSON format for the target Amazon DynamoDB endpoint if source or target is dynamodb.
-
+ +
Settings in JSON format for the target Amazon DynamoDB endpoint if source or target is dynamodb.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
elasticsearchsettings
dictionary -
-
- -
Settings in JSON format for the target Elasticsearch endpoint.
-
+ +
Settings in JSON format for the target Elasticsearch endpoint.
+
+
endpointidentifier
string - / required
-
- -
An identifier name for the endpoint.
-
+ +
An identifier name for the endpoint.
+
+
endpointtype
string - / required
-
-
    Choices: -
  • source
  • -
  • target
  • -
-
-
Type of endpoint we want to manage.
-
+ / required + +
    Choices: +
  • source
  • +
  • target
  • +
+
+
Type of endpoint we want to manage.
+
enginename
string - / required
-
-
    Choices: -
  • mysql
  • -
  • oracle
  • -
  • postgres
  • -
  • mariadb
  • -
  • aurora
  • -
  • redshift
  • -
  • s3
  • -
  • db2
  • -
  • azuredb
  • -
  • sybase
  • -
  • dynamodb
  • -
  • mongodb
  • -
  • sqlserver
  • -
-
-
Database engine that we want to use, please refer to the AWS DMS for more information on the supported engines and their limitations.
-
+ / required + +
    Choices: +
  • mysql
  • +
  • oracle
  • +
  • postgres
  • +
  • mariadb
  • +
  • aurora
  • +
  • redshift
  • +
  • s3
  • +
  • db2
  • +
  • azuredb
  • +
  • sybase
  • +
  • dynamodb
  • +
  • mongodb
  • +
  • sqlserver
  • +
+
+
Database engine that we want to use, please refer to the AWS DMS for more information on the supported engines and their limitations.
+
externaltabledefinition
string -
-
- -
The external table definition.
-
+ +
The external table definition.
+
+
extraconnectionattributes
string -
-
- -
Extra attributes for the database connection, the AWS documentation states " For more information about extra connection attributes, see the documentation section for your data store."
-
+ +
Extra attributes for the database connection, the AWS documentation states " For more information about extra connection attributes, see the documentation section for your data store."
+
+
kinesissettings
dictionary -
-
- -
Settings in JSON format for the target Amazon Kinesis Data Streams endpoint.
-
+ +
Settings in JSON format for the target Amazon Kinesis Data Streams endpoint.
+
+
kmskeyid
string -
-
- -
Encryption key to use to encrypt replication storage and connection information.
-
+ +
Encryption key to use to encrypt replication storage and connection information.
+
+
mongodbsettings
dictionary -
-
- -
Settings in JSON format for the source MongoDB endpoint.
-
+ +
Settings in JSON format for the source MongoDB endpoint.
+
+
password
string -
-
- -
Password used to connect to the database this attribute can only be written the AWS API does not return this parameter.
-
+ +
Password used to connect to the database this attribute can only be written the AWS API does not return this parameter.
+
+
port
integer -
-
- -
TCP port for access to the database.
-
+ +
TCP port for access to the database.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
retries
integer -
-
- -
number of times we should retry when deleting a resource
-
Required when wait=true.
-
+ + + +
number of times we should retry when deleting a resource
+
Required when wait=true.
+
s3settings
dictionary -
-
- -
S3 buckets settings for the target Amazon S3 endpoint.
-
+ +
S3 buckets settings for the target Amazon S3 endpoint.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
servername
string -
-
- -
Servername that the endpoint will connect to.
-
+ +
Servername that the endpoint will connect to.
+
+
serviceaccessrolearn
string -
-
- -
Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.
-
+ +
Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.
+
+
sslmode
string -
-
-
    Choices: -
  • none ←
  • -
  • require
  • -
  • verify-ca
  • -
  • verify-full
  • -
-
-
Mode used for the SSL connection.
-
+ + +
    Choices: +
  • none ←
  • +
  • require
  • +
  • verify-ca
  • +
  • verify-full
  • +
+
+
Mode used for the SSL connection.
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
State of the endpoint.
-
+ + +
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
State of the endpoint.
+
tags
dictionary -
-
- -
A list of tags to add to the endpoint.
-
+ +
A list of tags to add to the endpoint.
+
+
timeout
integer -
-
- -
Time in seconds we should wait for when deleting a resource.
-
Required when wait=true.
-
+ + + +
Time in seconds we should wait for when deleting a resource.
+
Required when wait=true.
+
username
string -
-
- -
Username our endpoint will use to connect to the database.
-
+ +
Username our endpoint will use to connect to the database.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether Ansible should wait for the object to be deleted when state=absent.
-
+ + + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+ + +
Whether Ansible should wait for the object to be deleted when state=absent.
+ + +
@@ -607,7 +626,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -618,7 +637,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details - name: Endpoint Creation community.aws.dms_endpoint: @@ -637,7 +655,6 @@ Examples - Status ------ @@ -646,5 +663,3 @@ Authors ~~~~~~~ - Rui Moreira (@ruimoreira) - - diff --git a/docs/community.aws.dms_replication_subnet_group_module.rst b/docs/community.aws.dms_replication_subnet_group_module.rst index 20af60ff471..426d49daf4b 100644 --- a/docs/community.aws.dms_replication_subnet_group_module.rst +++ b/docs/community.aws.dms_replication_subnet_group_module.rst @@ -35,225 +35,244 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string - / required
-
- -
The description for the subnet group.
-
+ +
The description for the subnet group.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
identifier
string - / required
-
- -
The name for the replication subnet group. This value is stored as a lowercase string. Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
-
+ +
The name for the replication subnet group. This value is stored as a lowercase string. Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
State of the subnet group.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
State of the subnet group.
+
+
subnet_ids
list - / elements=string / required
-
- -
A list containing the subnet ids for the replication subnet group, needs to be at least 2 items in the list.
-
+ +
A list containing the subnet ids for the replication subnet group, needs to be at least 2 items in the list.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -261,7 +280,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -272,7 +291,6 @@ Examples .. code-block:: yaml+jinja - - community.aws.dms_replication_subnet_group: state: present identifier: "dev-sngroup" @@ -282,7 +300,6 @@ Examples - Status ------ @@ -291,5 +308,3 @@ Authors ~~~~~~~ - Rui Moreira (@ruimoreira) - - diff --git a/docs/community.aws.dynamodb_table_module.rst b/docs/community.aws.dynamodb_table_module.rst index 065a4ccbbce..ed55ec8bf02 100644 --- a/docs/community.aws.dynamodb_table_module.rst +++ b/docs/community.aws.dynamodb_table_module.rst @@ -39,494 +39,513 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
hash_key_name
string -
-
- -
Name of the hash key.
-
Required when state=present.
-
+ +
Name of the hash key.
+
Required when state=present.
+
+
hash_key_type
string -
-
-
    Choices: -
  • STRING ←
  • -
  • NUMBER
  • -
  • BINARY
  • -
-
-
Type of the hash key.
-
+
    Choices: +
  • STRING ←
  • +
  • NUMBER
  • +
  • BINARY
  • +
+
+
Type of the hash key.
+
+
indexes
list - / elements=dictionary
-
- Default:
[]
-
-
list of dictionaries describing indexes to add to the table. global indexes can be updated. local indexes don't support updates or have throughput.
-
required options: ['name', 'type', 'hash_key_name']
-
other options: ['hash_key_type', 'range_key_name', 'range_key_type', 'includes', 'read_capacity', 'write_capacity']
-
+ Default:
[]
+
+
list of dictionaries describing indexes to add to the table. global indexes can be updated. local indexes don't support updates or have throughput.
+
required options: ['name', 'type', 'hash_key_name']
+
other options: ['hash_key_type', 'range_key_name', 'range_key_type', 'includes', 'read_capacity', 'write_capacity']
+
+
hash_key_name
string - / required
-
- -
The name of the hash-based key.
-
+ +
The name of the hash-based key.
+
+
hash_key_type
string -
-
- -
The type of the hash-based key.
-
+ +
The type of the hash-based key.
+
+
includes
list -
-
- -
A list of fields to include when using global_include or include indexes.
-
+ +
A list of fields to include when using global_include or include indexes.
+
+
name
string - / required
-
- -
The name of the index.
-
+ +
The name of the index.
+
+
range_key_name
string -
-
- -
The name of the range-based key.
-
+ +
The name of the range-based key.
+
+
range_key_type
string -
-
- -
The type of the range-based key.
-
+ +
The type of the range-based key.
+
+
read_capacity
integer -
-
- -
Read throughput capacity (units) to provision for the index.
-
+ +
Read throughput capacity (units) to provision for the index.
+
+
type
string - / required
-
- -
The type of index.
-
Valid types: all, global_all, global_include, global_keys_only, include, keys_only
-
+ +
The type of index.
+
Valid types: all, global_all, global_include, global_keys_only, include, keys_only
+
+
write_capacity
integer -
-
- -
Write throughput capacity (units) to provision for the index.
-
+ +
Write throughput capacity (units) to provision for the index.
+
+ +
name
string - / required
-
- -
Name of the table.
-
+ +
Name of the table.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
range_key_name
string -
-
- -
Name of the range key.
-
+ +
Name of the range key.
+
+
range_key_type
string -
-
-
    Choices: -
  • STRING ←
  • -
  • NUMBER
  • -
  • BINARY
  • -
-
-
Type of the range key.
-
+
    Choices: +
  • STRING ←
  • +
  • NUMBER
  • +
  • BINARY
  • +
+
+
Type of the range key.
+
+
read_capacity
integer -
-
- Default:
1
-
-
Read throughput capacity (units) to provision.
-
+ Default:
1
+
+
Read throughput capacity (units) to provision.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete the table.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete the table.
+
+
tags
dictionary -
-
- -
A hash/dictionary of tags to add to the new instance or for starting/stopping instance by tag.
-
For example: {"key":"value"} and {"key":"value","key2":"value2"}
-
+ +
A hash/dictionary of tags to add to the new instance or for starting/stopping instance by tag.
+
For example: {"key":"value"} and {"key":"value","key2":"value2"}
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait_for_active_timeout
integer -
-
- Default:
60
-
-
how long before wait gives up, in seconds. only used when tags is set
-
+ Default:
60
+
+
how long before wait gives up, in seconds. only used when tags is set
+
+
write_capacity
integer -
-
- Default:
1
-
-
Write throughput capacity (units) to provision.
-
+ Default:
1
+
+
Write throughput capacity (units) to provision.
+
+
@@ -534,7 +553,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -545,7 +564,6 @@ Examples .. code-block:: yaml+jinja - - name: Create dynamo table with hash and range primary key community.aws.dynamodb_table: name: my-table @@ -589,7 +607,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -602,24 +619,24 @@ Common return values are documented `here Returned Description - - + +
table_status
string -
- + + success -
The current status of the table.
-
-
Sample:
-
ACTIVE
- +
The current status of the table.
+
+
Sample:
+
ACTIVE
+ - +

@@ -631,5 +648,3 @@ Authors ~~~~~~~ - Alan Loi (@loia) - - diff --git a/docs/community.aws.dynamodb_ttl_module.rst b/docs/community.aws.dynamodb_ttl_module.rst index 21ec3e97f24..18d3190e114 100644 --- a/docs/community.aws.dynamodb_ttl_module.rst +++ b/docs/community.aws.dynamodb_ttl_module.rst @@ -38,211 +38,230 @@ Parameters .. raw:: html - + - + - - + - - + / required + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
attribute_name
string - / required
-
- -
The name of the Time To Live attribute used to store the expiration time for items in the table.
-
This appears to be required by the API even when disabling TTL.
-
+ +
The name of the Time To Live attribute used to store the expiration time for items in the table.
+
This appears to be required by the API even when disabling TTL.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • enable
  • -
  • disable
  • -
-
-
State to set DynamoDB table to.
-
+
    Choices: +
  • enable
  • +
  • disable
  • +
+
+
State to set DynamoDB table to.
+
+
table_name
string - / required
-
- -
Name of the DynamoDB table to work on.
-
+ +
Name of the DynamoDB table to work on.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -250,7 +269,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -261,7 +280,6 @@ Examples .. code-block:: yaml+jinja - - name: enable TTL on my cowfacts table community.aws.dynamodb_ttl: state: enable @@ -276,7 +294,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -289,24 +306,24 @@ Common return values are documented `here Returned Description - - + +
current_status
dictionary -
- + + always -
current or new TTL specification.
-
-
Sample:
-
[{'AttributeName': 'deploy_timestamp', 'TimeToLiveStatus': 'ENABLED'}, {'AttributeName': 'deploy_timestamp', 'Enabled': True}]
- +
current or new TTL specification.
+
+
Sample:
+
[{'AttributeName': 'deploy_timestamp', 'TimeToLiveStatus': 'ENABLED'}, {'AttributeName': 'deploy_timestamp', 'Enabled': True}]
+ - +

@@ -318,5 +335,3 @@ Authors ~~~~~~~ - Ted Timmons (@tedder) - - diff --git a/docs/community.aws.ec2_ami_copy_module.rst b/docs/community.aws.ec2_ami_copy_module.rst index b9a524a78e9..a0aeffd6970 100644 --- a/docs/community.aws.ec2_ami_copy_module.rst +++ b/docs/community.aws.ec2_ami_copy_module.rst @@ -36,326 +36,345 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
An optional human-readable string describing the contents and purpose of the new AMI.
-
+ +
An optional human-readable string describing the contents and purpose of the new AMI.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
encrypted
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not the destination snapshots of the copied AMI should be encrypted.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not the destination snapshots of the copied AMI should be encrypted.
+
+
kms_key_id
string -
-
- -
KMS key id used to encrypt the image. If not specified, uses default EBS Customer Master Key (CMK) for your account.
-
+ +
KMS key id used to encrypt the image. If not specified, uses default EBS Customer Master Key (CMK) for your account.
+
+
name
string -
-
- Default:
"default"
-
-
The name of the new AMI to copy. (As of 2.3 the default is 'default', in prior versions it was 'null'.)
-
+ Default:
"default"
+
+
The name of the new AMI to copy. (As of 2.3 the default is 'default', in prior versions it was 'null'.)
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
source_image_id
string - / required
-
- -
The ID of the AMI in source region that should be copied.
-
+ +
The ID of the AMI in source region that should be copied.
+
+
source_region
string - / required
-
- -
The source region the AMI should be copied from.
-
+ +
The source region the AMI should be copied from.
+
+
tag_equality
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to use tags if the source AMI already exists in the target region. If this is set, and all tags match in an existing AMI, the AMI will not be copied again.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to use tags if the source AMI already exists in the target region. If this is set, and all tags match in an existing AMI, the AMI will not be copied again.
+
+
tags
dictionary -
-
- -
A hash/dictionary of tags to add to the new copied AMI: {"key":"value"} and {"key":"value","key":"value"}
-
+ +
A hash/dictionary of tags to add to the new copied AMI: {"key":"value"} and {"key":"value","key":"value"}
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Wait for the copied AMI to be in state 'available' before returning.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Wait for the copied AMI to be in state 'available' before returning.
+
+
wait_timeout
integer -
-
- Default:
600
-
-
How long before wait gives up, in seconds. Prior to 2.3 the default was 1200.
-
From 2.3-2.5 this option was deprecated in favor of boto3 waiter defaults. This was reenabled in 2.6 to allow timeouts greater than 10 minutes.
-
+ Default:
600
+
+
How long before wait gives up, in seconds. Prior to 2.3 the default was 1200.
+
From 2.3-2.5 this option was deprecated in favor of boto3 waiter defaults. This was reenabled in 2.6 to allow timeouts greater than 10 minutes.
+
+
@@ -363,7 +382,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -374,7 +393,6 @@ Examples .. code-block:: yaml+jinja - - name: Basic AMI Copy community.aws.ec2_ami_copy: source_region: us-east-1 @@ -425,7 +443,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -438,24 +455,24 @@ Common return values are documented `here Returned Description - - + +
image_id
string -
- + + always -
AMI ID of the copied AMI
-
-
Sample:
-
ami-e689729e
- +
AMI ID of the copied AMI
+
+
Sample:
+
ami-e689729e
+ - +

@@ -468,5 +485,3 @@ Authors - Amir Moulavi (@amir343) - Tim C (@defunctio) - - diff --git a/docs/community.aws.ec2_asg_info_module.rst b/docs/community.aws.ec2_asg_info_module.rst index aa6e6fdcda2..a7c3dc2461e 100644 --- a/docs/community.aws.ec2_asg_info_module.rst +++ b/docs/community.aws.ec2_asg_info_module.rst @@ -37,192 +37,211 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
name
string -
-
- -
The prefix or name of the auto scaling group(s) you are searching for.
-
Note: This is a regular expression match with implicit '^' (beginning of string). Append '$' for a complete name match.
-
+ + + +
The prefix or name of the auto scaling group(s) you are searching for.
+
Note: This is a regular expression match with implicit '^' (beginning of string). Append '$' for a complete name match.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
tags
dictionary -
-
- -
A dictionary/hash of tags in the format { tag1_name: 'tag1_value', tag2_name: 'tag2_value' } to match against the auto scaling group(s) you are searching for.
-
+ + + +
A dictionary/hash of tags in the format { tag1_name: 'tag1_value', tag2_name: 'tag2_value' } to match against the auto scaling group(s) you are searching for.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -230,7 +249,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -241,7 +260,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Find all groups @@ -281,7 +299,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -294,364 +311,364 @@ Common return values are documented `here Returned Description - - + +
auto_scaling_group_arn
string -
- + + success -
The Amazon Resource Name of the ASG
-
-
Sample:
-
arn:aws:autoscaling:us-west-2:1234567890:autoScalingGroup:10787c52-0bcb-427d-82ba-c8e4b008ed2e:autoScalingGroupName/public-webapp-production-1
- - - - +
The Amazon Resource Name of the ASG
+
+
Sample:
+
arn:aws:autoscaling:us-west-2:1234567890:autoScalingGroup:10787c52-0bcb-427d-82ba-c8e4b008ed2e:autoScalingGroupName/public-webapp-production-1
+ + + +
auto_scaling_group_name
string -
- + + success -
Name of autoscaling group
-
-
Sample:
-
public-webapp-production-1
- - - - +
Name of autoscaling group
+
+
Sample:
+
public-webapp-production-1
+ + + +
availability_zones
list -
- + + success -
List of Availability Zones that are enabled for this ASG.
-
-
Sample:
-
['us-west-2a', 'us-west-2b', 'us-west-2a']
- - - - +
List of Availability Zones that are enabled for this ASG.
+
+
Sample:
+
['us-west-2a', 'us-west-2b', 'us-west-2a']
+ + + +
created_time
string -
- + + success -
The date and time this ASG was created, in ISO 8601 format.
-
-
Sample:
-
2015-11-25T00:05:36.309Z
- - - - +
The date and time this ASG was created, in ISO 8601 format.
+
+
Sample:
+
2015-11-25T00:05:36.309Z
+ + + +
default_cooldown
integer -
- + + success -
The default cooldown time in seconds.
-
-
Sample:
-
300
- - - - +
The default cooldown time in seconds.
+
+
Sample:
+
300
+ + + +
desired_capacity
integer -
- + + success -
The number of EC2 instances that should be running in this group.
-
-
Sample:
-
3
- - - - +
The number of EC2 instances that should be running in this group.
+
+
Sample:
+
3
+ + + +
health_check_period
integer -
- + + success -
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.
-
-
Sample:
-
30
- - - - +
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.
+
+
Sample:
+
30
+ + + +
health_check_type
string -
- + + success -
The service you want the health status from, one of "EC2" or "ELB".
-
-
Sample:
-
ELB
- - - - +
The service you want the health status from, one of "EC2" or "ELB".
+
+
Sample:
+
ELB
+ + + +
instances
list -
- + + success -
List of EC2 instances and their status as it relates to the ASG.
-
-
Sample:
-
[{'availability_zone': 'us-west-2a', 'health_status': 'Healthy', 'instance_id': 'i-es22ad25', 'launch_configuration_name': 'public-webapp-production-1', 'lifecycle_state': 'InService', 'protected_from_scale_in': 'false'}]
- - - - +
List of EC2 instances and their status as it relates to the ASG.
+
+
Sample:
+
[{'availability_zone': 'us-west-2a', 'health_status': 'Healthy', 'instance_id': 'i-es22ad25', 'launch_configuration_name': 'public-webapp-production-1', 'lifecycle_state': 'InService', 'protected_from_scale_in': 'false'}]
+ + + +
launch_config_name
string -
- + + success -
Name of launch configuration associated with the ASG. Same as launch_configuration_name, provided for compatibility with ec2_asg module.
-
-
Sample:
-
public-webapp-production-1
- - - - +
Name of launch configuration associated with the ASG. Same as launch_configuration_name, provided for compatibility with ec2_asg module.
+
+
Sample:
+
public-webapp-production-1
+ + + +
launch_configuration_name
string -
- + + success -
Name of launch configuration associated with the ASG.
-
-
Sample:
-
public-webapp-production-1
- - - - +
Name of launch configuration associated with the ASG.
+
+
Sample:
+
public-webapp-production-1
+ + + +
load_balancer_names
list -
- + + success -
List of load balancers names attached to the ASG.
-
-
Sample:
-
['elb-webapp-prod']
- - - - +
List of load balancers names attached to the ASG.
+
+
Sample:
+
['elb-webapp-prod']
+ + + +
max_size
integer -
- + + success -
Maximum size of group
-
-
Sample:
-
3
- - - - +
Maximum size of group
+
+
Sample:
+
3
+ + + +
min_size
integer -
- + + success -
Minimum size of group
-
-
Sample:
-
1
- - - - +
Minimum size of group
+
+
Sample:
+
1
+ + + +
new_instances_protected_from_scale_in
boolean -
- + + success -
Whether or not new instances a protected from automatic scaling in.
-
-
Sample:
-
false
- - - - +
Whether or not new instances a protected from automatic scaling in.
+
+
Sample:
+
false
+ + + +
placement_group
string -
- + + success -
Placement group into which instances are launched, if any.
-
-
Sample:
-
None
- - - - +
Placement group into which instances are launched, if any.
+
+
Sample:
+
None
+ + + +
status
string -
- + + success -
The current state of the group when DeleteAutoScalingGroup is in progress.
-
-
Sample:
-
None
- - - - +
The current state of the group when DeleteAutoScalingGroup is in progress.
+
+
Sample:
+
None
+ + + +
tags
list -
- + + success -
List of tags for the ASG, and whether or not each tag propagates to instances at launch.
-
-
Sample:
-
[{'key': 'Name', 'value': 'public-webapp-production-1', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}, {'key': 'env', 'value': 'production', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}]
- - - - +
List of tags for the ASG, and whether or not each tag propagates to instances at launch.
+
+
Sample:
+
[{'key': 'Name', 'value': 'public-webapp-production-1', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}, {'key': 'env', 'value': 'production', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}]
+ + + +
target_group_arns
list -
- + + success -
List of ARNs of the target groups that the ASG populates
-
-
Sample:
-
['arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-host-hello/1a2b3c4d5e6f1a2b', 'arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-path-world/abcd1234abcd1234']
- - - - +
List of ARNs of the target groups that the ASG populates
+
+
Sample:
+
['arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-host-hello/1a2b3c4d5e6f1a2b', 'arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-path-world/abcd1234abcd1234']
+ + + +
target_group_names
list -
- + + success -
List of names of the target groups that the ASG populates
-
-
Sample:
-
['target-group-host-hello', 'target-group-path-world']
- - - - +
List of names of the target groups that the ASG populates
+
+
Sample:
+
['target-group-host-hello', 'target-group-path-world']
+ + + +
termination_policies
string -
- + + success -
A list of termination policies for the group.
-
-
Sample:
-
['Default']
- +
A list of termination policies for the group.
+
+
Sample:
+
['Default']
+ - +

@@ -663,5 +680,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.ec2_asg_lifecycle_hook_module.rst b/docs/community.aws.ec2_asg_lifecycle_hook_module.rst index 10cf6f9627c..c89630575a7 100644 --- a/docs/community.aws.ec2_asg_lifecycle_hook_module.rst +++ b/docs/community.aws.ec2_asg_lifecycle_hook_module.rst @@ -38,313 +38,332 @@ Parameters .. raw:: html - + - + - - + - - + / required + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
autoscaling_group_name
string - / required
-
- -
The name of the Auto Scaling group to which you want to assign the lifecycle hook.
-
+ +
The name of the Auto Scaling group to which you want to assign the lifecycle hook.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
default_result
string -
-
-
    Choices: -
  • ABANDON ←
  • -
  • CONTINUE
  • -
-
-
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs.
-
+
    Choices: +
  • ABANDON ←
  • +
  • CONTINUE
  • +
+
+
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
heartbeat_timeout
integer -
-
- -
The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.
-
By default Amazon AWS will use 3600 (1 hour)
-
+ +
The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.
+
By default Amazon AWS will use 3600 (1 hour)
+
+
lifecycle_hook_name
string - / required
-
- -
The name of the lifecycle hook.
-
+ +
The name of the lifecycle hook.
+
+
notification_meta_data
string -
-
- -
Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.
-
+ +
Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.
+
+
notification_target_arn
string -
-
- -
The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook.
-
This target can be either an SQS queue or an SNS topic.
-
If you specify an empty string, this overrides the current ARN.
-
+ +
The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook.
+
This target can be either an SQS queue or an SNS topic.
+
If you specify an empty string, this overrides the current ARN.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string -
-
- -
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
-
+ +
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete Lifecycle Hook.
-
When state=present updates existing hook or creates a new hook if not found.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete Lifecycle Hook.
+
When state=present updates existing hook or creates a new hook if not found.
+
+
transition
string -
-
-
    Choices: -
  • autoscaling:EC2_INSTANCE_TERMINATING
  • -
  • autoscaling:EC2_INSTANCE_LAUNCHING
  • -
-
-
The instance state to which you want to attach the lifecycle hook.
-
Required when state=present.
-
+
    Choices: +
  • autoscaling:EC2_INSTANCE_TERMINATING
  • +
  • autoscaling:EC2_INSTANCE_LAUNCHING
  • +
+
+
The instance state to which you want to attach the lifecycle hook.
+
Required when state=present.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -352,7 +371,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -363,7 +382,6 @@ Examples .. code-block:: yaml+jinja - - name: Create / Update lifecycle hook community.aws.ec2_asg_lifecycle_hook: region: eu-central-1 @@ -384,8 +402,6 @@ Examples - - Status ------ @@ -394,5 +410,3 @@ Authors ~~~~~~~ - Igor 'Tsigankov' Eyrich (@tsiganenok) - - diff --git a/docs/community.aws.ec2_asg_module.rst b/docs/community.aws.ec2_asg_module.rst index e33fccf0b46..bbf66a874cf 100644 --- a/docs/community.aws.ec2_asg_module.rst +++ b/docs/community.aws.ec2_asg_module.rst @@ -38,761 +38,780 @@ Parameters .. raw:: html - + - + - - + - - + / elements=string + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - - - - - + + + + + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + / elements=dictionary + + + - - + - - + / elements=string + + + - - + - - - - - + + + + + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
availability_zones
list - / elements=string
-
- -
List of availability zone names in which to create the group.
-
Defaults to all the availability zones in the region if vpc_zone_identifier is not set.
-
+ +
List of availability zone names in which to create the group.
+
Defaults to all the availability zones in the region if vpc_zone_identifier is not set.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
default_cooldown
integer -
-
- Default:
300
-
-
The number of seconds after a scaling activity completes before another can begin.
-
+ Default:
300
+
+
The number of seconds after a scaling activity completes before another can begin.
+
+
desired_capacity
integer -
-
- -
Desired number of instances in group, if unspecified then the current group value will be used.
-
+ +
Desired number of instances in group, if unspecified then the current group value will be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
health_check_period
integer -
-
- Default:
300
-
-
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.
-
+ Default:
300
+
+
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.
+
+
health_check_type
string -
-
-
    Choices: -
  • EC2 ←
  • -
  • ELB
  • -
-
-
The service you want the health status from, Amazon EC2 or Elastic Load Balancer.
-
+
    Choices: +
  • EC2 ←
  • +
  • ELB
  • +
+
+
The service you want the health status from, Amazon EC2 or Elastic Load Balancer.
+
+
launch_config_name
string -
-
- -
Name of the Launch configuration to use for the group. See the community.aws.ec2_lc) module for managing these.
-
If unspecified then the current group value will be used. One of launch_config_name or launch_template must be provided.
-
+ +
Name of the Launch configuration to use for the group. See the community.aws.ec2_lc) module for managing these.
+
If unspecified then the current group value will be used. One of launch_config_name or launch_template must be provided.
+
+
launch_template
dictionary -
-
- -
Dictionary describing the Launch Template to use
-
+ + + +
Dictionary describing the Launch Template to use
+
launch_template_id
string -
-
- -
The id of the launch template. Only one of launch_template_name or launch_template_id is required.
-
+ +
The id of the launch template. Only one of launch_template_name or launch_template_id is required.
+
+
launch_template_name
string -
-
- -
The name of the launch template. Only one of launch_template_name or launch_template_id is required.
-
+ +
The name of the launch template. Only one of launch_template_name or launch_template_id is required.
+
+
version
string -
-
- -
The version number of the launch template to use.
-
Defaults to latest version if not provided.
-
+ + + +
The version number of the launch template to use.
+
Defaults to latest version if not provided.
+
lc_check
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Check to make sure instances that are being replaced with replace_instances do not already have the current launch_config.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Check to make sure instances that are being replaced with replace_instances do not already have the current launch_config.
+
+
load_balancers
list - / elements=string
-
- -
List of ELB names to use for the group. Use for classic load balancers.
-
+ +
List of ELB names to use for the group. Use for classic load balancers.
+
+
lt_check
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Check to make sure instances that are being replaced with replace_instances do not already have the current launch_template or I(launch_template version.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Check to make sure instances that are being replaced with replace_instances do not already have the current launch_template or I(launch_template version.
+
+
max_instance_lifetime
integer -
-
- -
The maximum amount of time, in seconds, that an instance can be in service.
-
Maximum instance lifetime must be equal to 0, between 604800 and 31536000 seconds (inclusive), or not specified.
-
Value of 0 removes lifetime restriction.
-
+ +
The maximum amount of time, in seconds, that an instance can be in service.
+
Maximum instance lifetime must be equal to 0, between 604800 and 31536000 seconds (inclusive), or not specified.
+
Value of 0 removes lifetime restriction.
+
+
max_size
integer -
-
- -
Maximum number of instances in group, if unspecified then the current group value will be used.
-
+ +
Maximum number of instances in group, if unspecified then the current group value will be used.
+
+
metrics_collection
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Enable ASG metrics collection.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Enable ASG metrics collection.
+
+
metrics_granularity
string -
-
- Default:
"1Minute"
-
-
When metrics_collection=true this will determine the granularity of metrics collected by CloudWatch.
-
+ Default:
"1Minute"
+
+
When metrics_collection=true this will determine the granularity of metrics collected by CloudWatch.
+
+
metrics_list
list - / elements=string
-
- Default:
["GroupMinSize", "GroupMaxSize", "GroupDesiredCapacity", "GroupInServiceInstances", "GroupPendingInstances", "GroupStandbyInstances", "GroupTerminatingInstances", "GroupTotalInstances"]
-
-
List of autoscaling metrics to collect when metrics_collection=true.
-
+ Default:
["GroupMinSize", "GroupMaxSize", "GroupDesiredCapacity", "GroupInServiceInstances", "GroupPendingInstances", "GroupStandbyInstances", "GroupTerminatingInstances", "GroupTotalInstances"]
+
+
List of autoscaling metrics to collect when metrics_collection=true.
+
+
min_size
integer -
-
- -
Minimum number of instances in group, if unspecified then the current group value will be used.
-
+ +
Minimum number of instances in group, if unspecified then the current group value will be used.
+
+
mixed_instances_policy
dictionary -
-
- -
A mixed instance policy to use for the ASG.
-
Only used when the ASG is configured to use a Launch Template (launch_template).
- -
+ + + +
A mixed instance policy to use for the ASG.
+
Only used when the ASG is configured to use a Launch Template (launch_template).
+ +
instance_types
list - / elements=string
-
- -
A list of instance_types.
-
+ / elements=string + + +
A list of instance_types.
+
name
string - / required
-
- -
Unique name for group to be created or deleted.
-
+ +
Unique name for group to be created or deleted.
+
+
notification_topic
string -
-
- -
A SNS topic ARN to send auto scaling notifications to.
-
+ +
A SNS topic ARN to send auto scaling notifications to.
+
+
notification_types
list - / elements=string
-
- Default:
["autoscaling:EC2_INSTANCE_LAUNCH", "autoscaling:EC2_INSTANCE_LAUNCH_ERROR", "autoscaling:EC2_INSTANCE_TERMINATE", "autoscaling:EC2_INSTANCE_TERMINATE_ERROR"]
-
-
A list of auto scaling events to trigger notifications on.
-
+ Default:
["autoscaling:EC2_INSTANCE_LAUNCH", "autoscaling:EC2_INSTANCE_LAUNCH_ERROR", "autoscaling:EC2_INSTANCE_TERMINATE", "autoscaling:EC2_INSTANCE_TERMINATE_ERROR"]
+
+
A list of auto scaling events to trigger notifications on.
+
+
placement_group
string -
-
- -
Physical location of your cluster placement group created in Amazon EC2.
-
+ +
Physical location of your cluster placement group created in Amazon EC2.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
replace_all_instances
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
In a rolling fashion, replace all instances that used the old launch configuration with one from the new launch configuration. It increases the ASG size by replace_batch_size, waits for the new instances to be up and running. After that, it terminates a batch of old instances, waits for the replacements, and repeats, until all old instances are replaced. Once that's done the ASG size is reduced back to the expected size.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
In a rolling fashion, replace all instances that used the old launch configuration with one from the new launch configuration. It increases the ASG size by replace_batch_size, waits for the new instances to be up and running. After that, it terminates a batch of old instances, waits for the replacements, and repeats, until all old instances are replaced. Once that's done the ASG size is reduced back to the expected size.
+
+
replace_batch_size
integer -
-
- Default:
1
-
-
Number of instances you'd like to replace at a time. Used with replace_all_instances.
-
+ Default:
1
+
+
Number of instances you'd like to replace at a time. Used with replace_all_instances.
+
+
replace_instances
list - / elements=string
-
- -
List of instance_ids belonging to the named AutoScalingGroup that you would like to terminate and be replaced with instances matching the current launch configuration.
-
+ +
List of instance_ids belonging to the named AutoScalingGroup that you would like to terminate and be replaced with instances matching the current launch configuration.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Register or deregister the instance.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Register or deregister the instance.
+
+
suspend_processes
list - / elements=string
-
- Default:
[]
-
-
A list of scaling processes to suspend.
-
Valid values include:
-
Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer
-
Full documentation of valid values can be found in the AWS documentation:
- -
+ / elements=string + + Default:
[]
+
+
A list of scaling processes to suspend.
+
Valid values include:
+
Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer
+
Full documentation of valid values can be found in the AWS documentation:
+ +
tags
list - / elements=dictionary
-
- -
A list of tags to add to the Auto Scale Group.
-
Optional key is propagate_at_launch, which defaults to true.
-
When propagate_at_launch is true the tags will be propagated to the Instances created.
-
+ +
A list of tags to add to the Auto Scale Group.
+
Optional key is propagate_at_launch, which defaults to true.
+
When propagate_at_launch is true the tags will be propagated to the Instances created.
+
+
target_group_arns
list - / elements=string
-
- -
List of target group ARNs to use for the group. Use for application load balancers.
-
+ +
List of target group ARNs to use for the group. Use for application load balancers.
+
+
termination_policies
list - / elements=string
-
- Default:
"Default"
-
-
An ordered list of criteria used for selecting instances to be removed from the Auto Scaling group when reducing capacity.
-
Using termination_policies=Default when modifying an existing AutoScalingGroup will result in the existing policy being retained instead of changed to Default.
-
Valid values include: Default, OldestInstance, NewestInstance, OldestLaunchConfiguration, ClosestToNextInstanceHour
-
Full documentation of valid values can be found in the AWS documentation:
- -
+ / elements=string + + Default:
"Default"
+
+
An ordered list of criteria used for selecting instances to be removed from the Auto Scaling group when reducing capacity.
+
Using termination_policies=Default when modifying an existing AutoScalingGroup will result in the existing policy being retained instead of changed to Default.
+
Valid values include: Default, OldestInstance, NewestInstance, OldestLaunchConfiguration, ClosestToNextInstanceHour
+
Full documentation of valid values can be found in the AWS documentation:
+ +
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_zone_identifier
list - / elements=string
-
- -
List of VPC subnets to use
-
+ +
List of VPC subnets to use
+
+
wait_for_instances
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Wait for the ASG instances to be in a ready state before exiting. If instances are behind an ELB, it will wait until the ELB determines all instances have a lifecycle_state of "InService" and a health_status of "Healthy".
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Wait for the ASG instances to be in a ready state before exiting. If instances are behind an ELB, it will wait until the ELB determines all instances have a lifecycle_state of "InService" and a health_status of "Healthy".
+
+
wait_timeout
integer -
-
- Default:
300
-
-
How long to wait for instances to become viable when replaced. If you experience the error "Waited too long for ELB instances to be healthy", try increasing this value.
-
+ + + + Default:
300
+ + +
How long to wait for instances to become viable when replaced. If you experience the error "Waited too long for ELB instances to be healthy", try increasing this value.
+ + +
@@ -800,7 +819,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -811,7 +830,6 @@ Examples .. code-block:: yaml+jinja - # Basic configuration with Launch Configuration - community.aws.ec2_asg: @@ -919,7 +937,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -932,464 +949,464 @@ Common return values are documented `here Returned Description - - + +
auto_scaling_group_arn
string -
- + + success -
The unique ARN of the autoscaling group
-
-
Sample:
-
arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:6a09ad6d-eeee-1234-b987-ee123ced01ad:autoScalingGroupName/myasg
- - - - +
The unique ARN of the autoscaling group
+
+
Sample:
+
arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:6a09ad6d-eeee-1234-b987-ee123ced01ad:autoScalingGroupName/myasg
+ + + +
auto_scaling_group_name
string -
- + + success -
The unique name of the auto scaling group
-
-
Sample:
-
myasg
- - - - +
The unique name of the auto scaling group
+
+
Sample:
+
myasg
+ + + +
availability_zones
list -
- + + success -
The availability zones for the auto scaling group
-
-
Sample:
-
['us-east-1d']
- - - - +
The availability zones for the auto scaling group
+
+
Sample:
+
['us-east-1d']
+ + + +
created_time
string -
- + + success -
Timestamp of create time of the auto scaling group
-
-
Sample:
-
2017-11-08T14:41:48.272000+00:00
- - - - +
Timestamp of create time of the auto scaling group
+
+
Sample:
+
2017-11-08T14:41:48.272000+00:00
+ + + +
default_cooldown
integer -
- + + success -
The default cooldown time in seconds.
-
-
Sample:
-
300
- - - - +
The default cooldown time in seconds.
+
+
Sample:
+
300
+ + + +
desired_capacity
integer -
- + + success -
The number of EC2 instances that should be running in this group.
-
-
Sample:
-
3
- - - - +
The number of EC2 instances that should be running in this group.
+
+
Sample:
+
3
+ + + +
healthcheck_period
integer -
- + + success -
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.
-
-
Sample:
-
30
- - - - +
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.
+
+
Sample:
+
30
+ + + +
healthcheck_type
string -
- + + success -
The service you want the health status from, one of "EC2" or "ELB".
-
-
Sample:
-
ELB
- - - - +
The service you want the health status from, one of "EC2" or "ELB".
+
+
Sample:
+
ELB
+ + + +
healthy_instances
integer -
- + + success -
Number of instances in a healthy state
-
-
Sample:
-
5
- - - - +
Number of instances in a healthy state
+
+
Sample:
+
5
+ + + +
in_service_instances
integer -
- + + success -
Number of instances in service
-
-
Sample:
-
3
- - - - +
Number of instances in service
+
+
Sample:
+
3
+ + + +
instance_facts
dictionary -
- + + success -
Dictionary of EC2 instances and their status as it relates to the ASG.
-
-
Sample:
-
{'i-0123456789012': {'health_status': 'Healthy', 'launch_config_name': 'public-webapp-production-1', 'lifecycle_state': 'InService'}}
- - - - +
Dictionary of EC2 instances and their status as it relates to the ASG.
+
+
Sample:
+
{'i-0123456789012': {'health_status': 'Healthy', 'launch_config_name': 'public-webapp-production-1', 'lifecycle_state': 'InService'}}
+ + + +
instances
list -
- + + success -
list of instance IDs in the ASG
-
-
Sample:
-
['i-0123456789012']
- - - - +
list of instance IDs in the ASG
+
+
Sample:
+
['i-0123456789012']
+ + + +
launch_config_name
string -
- + + success -
Name of launch configuration associated with the ASG. Same as launch_configuration_name, provided for compatibility with ec2_asg module.
-
-
Sample:
-
public-webapp-production-1
- - - - +
Name of launch configuration associated with the ASG. Same as launch_configuration_name, provided for compatibility with ec2_asg module.
+
+
Sample:
+
public-webapp-production-1
+ + + +
load_balancers
list -
- + + success -
List of load balancers names attached to the ASG.
-
-
Sample:
-
['elb-webapp-prod']
- - - - +
List of load balancers names attached to the ASG.
+
+
Sample:
+
['elb-webapp-prod']
+ + + +
max_instance_lifetime
integer -
- + + success -
The maximum amount of time, in seconds, that an instance can be in service.
-
-
Sample:
-
604800
- - - - +
The maximum amount of time, in seconds, that an instance can be in service.
+
+
Sample:
+
604800
+ + + +
max_size
integer -
- + + success -
Maximum size of group
-
-
Sample:
-
3
- - - - +
Maximum size of group
+
+
Sample:
+
3
+ + + +
metrics_collection
list -
- + + success -
List of enabled AutosSalingGroup metrics
-
-
Sample:
-
[{'Granularity': '1Minute', 'Metric': 'GroupInServiceInstances'}]
- - - - +
List of enabled AutosSalingGroup metrics
+
+
Sample:
+
[{'Granularity': '1Minute', 'Metric': 'GroupInServiceInstances'}]
+ + + +
min_size
integer -
- + + success -
Minimum size of group
-
-
Sample:
-
1
- - - - +
Minimum size of group
+
+
Sample:
+
1
+ + + +
mixed_instance_policy
list -
- + + success -
Returns the list of instance types if a mixed instance policy is set.
-
-
Sample:
-
['t3.micro', 't3a.micro']
- - - - +
Returns the list of instance types if a mixed instance policy is set.
+
+
Sample:
+
['t3.micro', 't3a.micro']
+ + + +
pending_instances
integer -
- + + success -
Number of instances in pending state
-
-
Sample:
-
1
- - - - +
Number of instances in pending state
+
+
Sample:
+
1
+ + + +
tags
list -
- + + success -
List of tags for the ASG, and whether or not each tag propagates to instances at launch.
-
-
Sample:
-
[{'key': 'Name', 'value': 'public-webapp-production-1', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}, {'key': 'env', 'value': 'production', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}]
- - - - +
List of tags for the ASG, and whether or not each tag propagates to instances at launch.
+
+
Sample:
+
[{'key': 'Name', 'value': 'public-webapp-production-1', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}, {'key': 'env', 'value': 'production', 'resource_id': 'public-webapp-production-1', 'resource_type': 'auto-scaling-group', 'propagate_at_launch': 'true'}]
+ + + +
target_group_arns
list -
- + + success -
List of ARNs of the target groups that the ASG populates
-
-
Sample:
-
['arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-host-hello/1a2b3c4d5e6f1a2b', 'arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-path-world/abcd1234abcd1234']
- - - - +
List of ARNs of the target groups that the ASG populates
+
+
Sample:
+
['arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-host-hello/1a2b3c4d5e6f1a2b', 'arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/target-group-path-world/abcd1234abcd1234']
+ + + +
target_group_names
list -
- + + success -
List of names of the target groups that the ASG populates
-
-
Sample:
-
['target-group-host-hello', 'target-group-path-world']
- - - - +
List of names of the target groups that the ASG populates
+
+
Sample:
+
['target-group-host-hello', 'target-group-path-world']
+ + + +
termination_policies
list -
- + + success -
A list of termination policies for the group.
-
-
Sample:
-
['Default']
- - - - +
A list of termination policies for the group.
+
+
Sample:
+
['Default']
+ + + +
unhealthy_instances
integer -
- + + success -
Number of instances in an unhealthy state
-
- +
Number of instances in an unhealthy state
+
+ - - + +
viable_instances
integer -
- + + success -
Number of instances in a viable state
-
-
Sample:
-
1
- - - - +
Number of instances in a viable state
+
+
Sample:
+
1
+ + + +
vpc_zone_identifier
string -
- + + success -
VPC zone ID / subnet id for the auto scaling group
-
-
Sample:
-
subnet-a31ef45f
- +
VPC zone ID / subnet id for the auto scaling group
+
+
Sample:
+
subnet-a31ef45f
+ - +

@@ -1401,5 +1418,3 @@ Authors ~~~~~~~ - Gareth Rushgrove (@garethr) - - diff --git a/docs/community.aws.ec2_customer_gateway_info_module.rst b/docs/community.aws.ec2_customer_gateway_info_module.rst index 11504a79ca3..893ead7e0b6 100644 --- a/docs/community.aws.ec2_customer_gateway_info_module.rst +++ b/docs/community.aws.ec2_customer_gateway_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
customer_gateway_ids
list - / elements=string
-
- -
Get details of a specific customer gateways using customer gateway ID/IDs. This value should be provided as a list.
-
+ +
Get details of a specific customer gateways using customer gateway ID/IDs. This value should be provided as a list.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCustomerGateways.html for possible filters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all customer gateways @@ -264,7 +282,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -277,24 +294,24 @@ Common return values are documented `here Returned Description - - + +
customer_gateways
list -
- + + always -
List of one or more customer gateways.
-
-
Sample:
-
[{'bgp_asn': '65000', 'customer_gateway_id': 'cgw-fec844ce', 'customer_gateway_name': 'test-customer-gw', 'ip_address': '110.112.113.120', 'state': 'available', 'tags': [{'key': 'Name', 'value': 'test-customer-gw'}], 'type': 'ipsec.1'}]
- +
List of one or more customer gateways.
+
+
Sample:
+
[{'bgp_asn': '65000', 'customer_gateway_id': 'cgw-fec844ce', 'customer_gateway_name': 'test-customer-gw', 'ip_address': '110.112.113.120', 'state': 'available', 'tags': [{'key': 'Name', 'value': 'test-customer-gw'}], 'type': 'ipsec.1'}]
+ - +

@@ -306,5 +323,3 @@ Authors ~~~~~~~ - Madhura Naniwadekar (@Madhura-CSI) - - diff --git a/docs/community.aws.ec2_customer_gateway_module.rst b/docs/community.aws.ec2_customer_gateway_module.rst index 5d9fcaf5784..2abee19b453 100644 --- a/docs/community.aws.ec2_customer_gateway_module.rst +++ b/docs/community.aws.ec2_customer_gateway_module.rst @@ -37,244 +37,263 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bgp_asn
integer -
-
- -
Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when state=present.
-
+ +
Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when state=present.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
ip_address
string - / required
-
- -
Internet-routable IP address for customers gateway, must be a static address.
-
+ +
Internet-routable IP address for customers gateway, must be a static address.
+
+
name
string - / required
-
- -
Name of the customer gateway.
-
+ +
Name of the customer gateway.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
routing
string -
-
-
    Choices: -
  • static
  • -
  • dynamic ←
  • -
-
-
The type of routing.
-
+
    Choices: +
  • static
  • +
  • dynamic ←
  • +
+
+
The type of routing.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or terminate the Customer Gateway.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or terminate the Customer Gateway.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -284,7 +303,7 @@ Notes .. note:: - You cannot create more than one customer gateway with the same IP address. If you run an identical request more than one time, the first request creates the customer gateway, and subsequent requests return information about the existing customer gateway. The subsequent requests do not create new customer gateway resources. - Return values contain customer_gateway and customer_gateways keys which are identical dicts. You should use customer_gateway. See https://github.com/ansible/ansible-modules-extras/issues/2773 for details. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -295,7 +314,6 @@ Examples .. code-block:: yaml+jinja - - name: Create Customer Gateway community.aws.ec2_customer_gateway: bgp_asn: 12345 @@ -314,7 +332,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -327,129 +344,129 @@ Common return values are documented `here Returned Description - - + +
gateway.customer_gateways
complex -
- + + success -
details about the gateway that was created.
-
- +
details about the gateway that was created.
+
+ - -   - + +   +
bgp_asn
string -
- + + when exists and gateway is available. -
The Border Gateway Autonomous System Number.
-
-
Sample:
-
65123
- +
The Border Gateway Autonomous System Number.
+
+
Sample:
+
65123
+ - -   - + +   +
customer_gateway_id
string -
- + + when exists and gateway is available. -
gateway id assigned by amazon.
-
-
Sample:
-
cgw-cb6386a2
- +
gateway id assigned by amazon.
+
+
Sample:
+
cgw-cb6386a2
+ - -   - + +   +
ip_address
string -
- + + when exists and gateway is available. -
ip address of your gateway device.
-
-
Sample:
-
1.2.3.4
- +
ip address of your gateway device.
+
+
Sample:
+
1.2.3.4
+ - -   - + +   +
state
string -
- + + when gateway exists and is available. -
state of gateway.
-
-
Sample:
-
available
- +
state of gateway.
+
+
Sample:
+
available
+ - -   - + +   +
tags
list -
- + + when gateway exists and is available, and when tags exist. -
Any tags on the gateway.
-
- +
Any tags on the gateway.
+
+ - -   - + +   +
type
string -
- + + when gateway exists and is available. -
encryption type.
-
-
Sample:
-
ipsec.1
- +
encryption type.
+
+
Sample:
+
ipsec.1
+ - - + +

@@ -461,5 +478,3 @@ Authors ~~~~~~~ - Michael Baydoun (@MichaelBaydoun) - - diff --git a/docs/community.aws.ec2_eip_info_module.rst b/docs/community.aws.ec2_eip_info_module.rst index 3a61c11d742..010e0f66a18 100644 --- a/docs/community.aws.ec2_eip_info_module.rst +++ b/docs/community.aws.ec2_eip_info_module.rst @@ -36,177 +36,196 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- Default:
{}
-
-
A dict of filters to apply. Each dict item consists of a filter key and filter value. See https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-addresses.html#options for possible filters. Filter names and values are case sensitive.
-
+ Default:
{}
+
+
A dict of filters to apply. Each dict item consists of a filter key and filter value. See https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-addresses.html#options for possible filters. Filter names and values are case sensitive.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -214,7 +233,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -225,7 +244,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details or the AWS region, # see the AWS Guide for details. @@ -239,7 +257,7 @@ Examples instance-id: i-123456789 register: my_vm_eips - - debug: + - ansible.builtin.debug: msg: "{{ my_vm_eips.addresses | json_query(\"[?private_ip_address=='10.0.0.5']\") }}" - name: List all EIP addresses for several VMs. @@ -264,14 +282,12 @@ Examples # Set the variable eip_alloc to the value of the first allocation_id # and set the variable my_pub_ip to the value of the first public_ip - - set_fact: + - ansible.builtin.set_fact: eip_alloc: my_vms_eips.addresses[0].allocation_id my_pub_ip: my_vms_eips.addresses[0].public_ip - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -284,24 +300,24 @@ Common return values are documented `here Returned Description - - + +
addresses
list -
- + + on success -
Properties of all Elastic IP addresses matching the provided filters. Each element is a dict with all the information related to an EIP.
-
-
Sample:
-
[{'allocation_id': 'eipalloc-64de1b01', 'association_id': 'eipassoc-0fe9ce90d6e983e97', 'domain': 'vpc', 'instance_id': 'i-01020cfeb25b0c84f', 'network_interface_id': 'eni-02fdeadfd4beef9323b', 'network_interface_owner_id': '0123456789', 'private_ip_address': '10.0.0.1', 'public_ip': '54.81.104.1', 'tags': {'Name': 'test-vm-54.81.104.1'}}]
- +
Properties of all Elastic IP addresses matching the provided filters. Each element is a dict with all the information related to an EIP.
+
+
Sample:
+
[{'allocation_id': 'eipalloc-64de1b01', 'association_id': 'eipassoc-0fe9ce90d6e983e97', 'domain': 'vpc', 'instance_id': 'i-01020cfeb25b0c84f', 'network_interface_id': 'eni-02fdeadfd4beef9323b', 'network_interface_owner_id': '0123456789', 'private_ip_address': '10.0.0.1', 'public_ip': '54.81.104.1', 'tags': {'Name': 'test-vm-54.81.104.1'}}]
+ - +

@@ -313,5 +329,3 @@ Authors ~~~~~~~ - Brad Macpherson (@iiibrad) - - diff --git a/docs/community.aws.ec2_eip_module.rst b/docs/community.aws.ec2_eip_module.rst index 72e4aee7b6e..e33ab8148a5 100644 --- a/docs/community.aws.ec2_eip_module.rst +++ b/docs/community.aws.ec2_eip_module.rst @@ -36,367 +36,386 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
allow_reassociation
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specify this option to allow an Elastic IP address that is already associated with another network interface or instance to be re-associated with the specified instance or interface.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specify this option to allow an Elastic IP address that is already associated with another network interface or instance to be re-associated with the specified instance or interface.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
device_id
string -
-
- -
The id of the device for the EIP. Can be an EC2 Instance id or Elastic Network Interface (ENI) id.
-

aliases: instance_id
-
+ +
The id of the device for the EIP. Can be an EC2 Instance id or Elastic Network Interface (ENI) id.
+

aliases: instance_id
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
in_vpc
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Allocate an EIP inside a VPC or not.
-
Required if specifying an ENI with device_id.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Allocate an EIP inside a VPC or not.
+
Required if specifying an ENI with device_id.
+
+
private_ip_address
string -
-
- -
The primary or secondary private IP address to associate with the Elastic IP address.
-
+ +
The primary or secondary private IP address to associate with the Elastic IP address.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
public_ip
string -
-
- -
The IP address of a previously allocated EIP.
-
When public_ip=present and device is specified, the EIP is associated with the device.
-
When public_ip=absent and device is specified, the EIP is disassociated from the device.
-

aliases: ip
-
+ +
The IP address of a previously allocated EIP.
+
When public_ip=present and device is specified, the EIP is associated with the device.
+
When public_ip=absent and device is specified, the EIP is disassociated from the device.
+

aliases: ip
+
+
public_ipv4_pool
string -
-
- -
Allocates the new Elastic IP from the provided public IPv4 pool (BYOIP) only applies to newly allocated Elastic IPs, isn't validated when reuse_existing_ip_allowed=true.
-
+ +
Allocates the new Elastic IP from the provided public IPv4 pool (BYOIP) only applies to newly allocated Elastic IPs, isn't validated when reuse_existing_ip_allowed=true.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
release_on_disassociation
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to automatically release the EIP when it is disassociated.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to automatically release the EIP when it is disassociated.
+
+
reuse_existing_ip_allowed
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Reuse an EIP that is not associated to a device (when available), instead of allocating a new one.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Reuse an EIP that is not associated to a device (when available), instead of allocating a new one.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
When state=present, allocate an EIP or associate an existing EIP with a device.
-
When state=absent, disassociate the EIP from the device and optionally release it.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
When state=present, allocate an EIP or associate an existing EIP with a device.
+
When state=absent, disassociate the EIP from the device and optionally release it.
+
+
tag_name
string -
-
- -
When reuse_existing_ip_allowed=true, supplement with this option to only reuse an Elastic IP if it is tagged with tag_name.
-
+ +
When reuse_existing_ip_allowed=true, supplement with this option to only reuse an Elastic IP if it is tagged with tag_name.
+
+
tag_value
string -
-
- -
Supplements tag_name but also checks that the value of the tag provided in tag_name matches tag_value.
-
+ +
Supplements tag_name but also checks that the value of the tag provided in tag_name matches tag_value.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait_timeout
integer -
-
- -
The wait_timeout option does nothing and will be removed after 2022-06-01
-
+ +
The wait_timeout option does nothing and will be removed after 2022-06-01
+
+
@@ -406,7 +425,7 @@ Notes .. note:: - There may be a delay between the time the EIP is assigned and when the cloud instance is reachable via the new address. Use wait_for and pause to delay further playbook execution until the instance is reachable, if necessary. - This module returns multiple changed statuses on disassociation or release. It returns an overall status based on any changes occurring. It also returns individual changed statuses for disassociation and release. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -417,7 +436,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: associate an elastic IP with an instance @@ -458,7 +476,7 @@ Examples register: eip - name: output the IP - debug: + ansible.builtin.debug: msg: "Allocated IP is {{ eip.public_ip }}" - name: provision new instances with ec2 @@ -483,7 +501,7 @@ Examples register: eip - name: output the IP - debug: + ansible.builtin.debug: msg: "Allocated IP inside a VPC is {{ eip.public_ip }}" - name: allocate eip - reuse unallocated ips (if found) with FREE tag @@ -526,7 +544,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -539,41 +556,41 @@ Common return values are documented `here Returned Description - - + +
allocation_id
string -
- + + on success -
allocation_id of the elastic ip
-
-
Sample:
-
eipalloc-51aa3a6c
- +
allocation_id of the elastic ip
+
+
Sample:
+
eipalloc-51aa3a6c
+ - - + +
public_ip
string -
- + + on success -
an elastic ip address
-
-
Sample:
-
52.88.159.209
- +
an elastic ip address
+
+
Sample:
+
52.88.159.209
+ - +

@@ -585,5 +602,3 @@ Authors ~~~~~~~ - Rick Mendes (@rickmendes) - - diff --git a/docs/community.aws.ec2_elb_info_module.rst b/docs/community.aws.ec2_elb_info_module.rst index 6d0839f7359..84a9c91fa27 100644 --- a/docs/community.aws.ec2_elb_info_module.rst +++ b/docs/community.aws.ec2_elb_info_module.rst @@ -36,176 +36,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
names
list -
-
- -
List of ELB names to gather information about. Pass this option to gather information about a set of ELBs, otherwise, all ELBs are returned.
-
+ +
List of ELB names to gather information about. Pass this option to gather information about a set of ELBs, otherwise, all ELBs are returned.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -213,7 +232,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -224,14 +243,13 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Output format tries to match amazon.aws.ec2_elb_lb module input parameters - name: Gather information about all ELBs - ec2_elb_info: + community.aws.ec2_elb_info: register: elb_info - - debug: + - ansible.builtin.debug: msg: "{{ item.dns_name }}" loop: "{{ elb_info.elbs }}" @@ -240,25 +258,23 @@ Examples names: frontend-prod-elb register: elb_info - - debug: + - ansible.builtin.debug: msg: "{{ elb_info.elbs.0.dns_name }}" - name: Gather information about a set of ELBs - ec2_elb_info: + community.aws.ec2_elb_info: names: - frontend-prod-elb - backend-prod-elb register: elb_info - - debug: + - ansible.builtin.debug: msg: "{{ item.dns_name }}" loop: "{{ elb_info.elbs }}" - - Status ------ @@ -268,5 +284,3 @@ Authors - Michael Schultz (@mjschultz) - Fernando Jose Pando (@nand0p) - - diff --git a/docs/community.aws.ec2_elb_module.rst b/docs/community.aws.ec2_elb_module.rst index b999dc525d0..bd7ab66cae7 100644 --- a/docs/community.aws.ec2_elb_module.rst +++ b/docs/community.aws.ec2_elb_module.rst @@ -37,264 +37,284 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_elbs
list -
-
- -
List of ELB names, required for registration. The ec2_elbs fact should be used if there was a previous de-register.
-
+ +
List of ELB names, required for registration.
+
The ec2_elbs fact should be used if there was a previous de-register.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
enable_availability_zone
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to enable the availability zone of the instance on the target ELB if the availability zone has not already been enabled. If set to no, the task will fail if the availability zone is not enabled on the ELB.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to enable the availability zone of the instance on the target ELB if the availability zone has not already been enabled. If set to no, the task will fail if the availability zone is not enabled on the ELB.
+
+
instance_id
string - / required
-
- -
EC2 Instance ID
-
+ +
EC2 Instance ID
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
register or deregister the instance
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
register or deregister the instance
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Wait for instance registration or deregistration to complete successfully before returning.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Wait for instance registration or deregistration to complete successfully before returning.
+
+
wait_timeout
integer -
-
- Default:
0
-
-
Number of seconds to wait for an instance to change state. If 0 then this module may return an error if a transient error occurs. If non-zero then any transient errors are ignored until the timeout is reached. Ignored when wait=no.
-
+ Default:
0
+
+
Number of seconds to wait for an instance to change state. If 0 then this module may return an error if a transient error occurs. If non-zero then any transient errors are ignored until the timeout is reached. Ignored when wait=no.
+
+
@@ -302,7 +322,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -313,7 +333,6 @@ Examples .. code-block:: yaml+jinja - # basic pre_task and post_task example pre_tasks: - name: Instance De-register @@ -333,7 +352,6 @@ Examples - Status ------ @@ -342,5 +360,3 @@ Authors ~~~~~~~ - John Jarvis (@jarv) - - diff --git a/docs/community.aws.ec2_instance_info_module.rst b/docs/community.aws.ec2_instance_info_module.rst index 9ce9905549b..c39ff9731e9 100644 --- a/docs/community.aws.ec2_instance_info_module.rst +++ b/docs/community.aws.ec2_instance_info_module.rst @@ -38,192 +38,211 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- Default:
{}
-
-
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html for possible filters. Filter names and values are case sensitive.
-
+ Default:
{}
+
+
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html for possible filters. Filter names and values are case sensitive.
+
+
instance_ids
list -
-
- -
If you specify one or more instance IDs, only instances that have the specified IDs are returned.
-
+ +
If you specify one or more instance IDs, only instances that have the specified IDs are returned.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -231,7 +250,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -242,7 +261,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all instances @@ -270,8 +288,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -284,1540 +300,1540 @@ Common return values are documented `here Returned Description - - + +
instances
complex -
- + + always -
a list of ec2 instances
-
- +
a list of ec2 instances
+
+ - -   - + +   +
ami_launch_index
integer -
- + + always -
The AMI launch index, which can be used to find this instance in the launch group.
-
- +
The AMI launch index, which can be used to find this instance in the launch group.
+
+ - -   - + +   +
architecture
string -
- + + always -
The architecture of the image
-
-
Sample:
-
x86_64
- +
The architecture of the image
+
+
Sample:
+
x86_64
+ - -   - + +   +
block_device_mappings
complex -
- + + always -
Any block device mapping entries for the instance.
-
- +
Any block device mapping entries for the instance.
+
+ - -   -   - + +   +   +
device_name
string -
- + + always -
The device name exposed to the instance (for example, /dev/sdh or xvdh).
-
-
Sample:
-
/dev/sdh
- +
The device name exposed to the instance (for example, /dev/sdh or xvdh).
+
+
Sample:
+
/dev/sdh
+ - -   -   - + +   +   +
ebs
complex -
- + + always -
Parameters used to automatically set up EBS volumes when the instance is launched.
-
- +
Parameters used to automatically set up EBS volumes when the instance is launched.
+
+ - -   -   -   - + +   +   +   +
attach_time
string -
- + + always -
The time stamp when the attachment initiated.
-
-
Sample:
-
2017-03-23T22:51:24+00:00
- +
The time stamp when the attachment initiated.
+
+
Sample:
+
2017-03-23T22:51:24+00:00
+ - -   -   -   - + +   +   +   +
delete_on_termination
boolean -
- + + always -
Indicates whether the volume is deleted on instance termination.
-
-
Sample:
-
True
- +
Indicates whether the volume is deleted on instance termination.
+
+
Sample:
+
True
+ - -   -   -   - + +   +   +   +
status
string -
- + + always -
The attachment state.
-
-
Sample:
-
attached
- +
The attachment state.
+
+
Sample:
+
attached
+ - -   -   -   - + +   +   +   +
volume_id
string -
- + + always -
The ID of the EBS volume
-
-
Sample:
-
vol-12345678
- +
The ID of the EBS volume
+
+
Sample:
+
vol-12345678
+ - - - -   - + + + +   +
client_token
string -
- + + always -
The idempotency token you provided when you launched the instance, if applicable.
-
-
Sample:
-
mytoken
- +
The idempotency token you provided when you launched the instance, if applicable.
+
+
Sample:
+
mytoken
+ - -   - + +   +
cpu_options
complex -
- + + always if botocore version >= 1.10.16 -
The CPU options set for the instance.
-
- +
The CPU options set for the instance.
+
+ - -   -   - + +   +   +
core_count
integer -
- + + always -
The number of CPU cores for the instance.
-
-
Sample:
-
1
- +
The number of CPU cores for the instance.
+
+
Sample:
+
1
+ - -   -   - + +   +   +
threads_per_core
integer -
- + + always -
The number of threads per CPU core. On supported instance, a value of 1 means Intel Hyper-Threading Technology is disabled.
-
-
Sample:
-
1
- +
The number of threads per CPU core. On supported instance, a value of 1 means Intel Hyper-Threading Technology is disabled.
+
+
Sample:
+
1
+ - - -   - + + +   +
ebs_optimized
boolean -
- + + always -
Indicates whether the instance is optimized for EBS I/O.
-
- +
Indicates whether the instance is optimized for EBS I/O.
+
+ - -   - + +   +
hypervisor
string -
- + + always -
The hypervisor type of the instance.
-
-
Sample:
-
xen
- +
The hypervisor type of the instance.
+
+
Sample:
+
xen
+ - -   - + +   +
iam_instance_profile
complex -
- + + always -
The IAM instance profile associated with the instance, if applicable.
-
- +
The IAM instance profile associated with the instance, if applicable.
+
+ - -   -   - + +   +   +
arn
string -
- + + always -
The Amazon Resource Name (ARN) of the instance profile.
-
-
Sample:
-
arn:aws:iam::000012345678:instance-profile/myprofile
- +
The Amazon Resource Name (ARN) of the instance profile.
+
+
Sample:
+
arn:aws:iam::000012345678:instance-profile/myprofile
+ - -   -   - + +   +   +
id
string -
- + + always -
The ID of the instance profile
-
-
Sample:
-
JFJ397FDG400FG9FD1N
- +
The ID of the instance profile
+
+
Sample:
+
JFJ397FDG400FG9FD1N
+ - - -   - + + +   +
image_id
string -
- + + always -
The ID of the AMI used to launch the instance.
-
-
Sample:
-
ami-0011223344
- +
The ID of the AMI used to launch the instance.
+
+
Sample:
+
ami-0011223344
+ - -   - + +   +
instance_id
string -
- + + always -
The ID of the instance.
-
-
Sample:
-
i-012345678
- +
The ID of the instance.
+
+
Sample:
+
i-012345678
+ - -   - + +   +
instance_type
string -
- + + always -
The instance type size of the running instance.
-
-
Sample:
-
t2.micro
- +
The instance type size of the running instance.
+
+
Sample:
+
t2.micro
+ - -   - + +   +
key_name
string -
- + + always -
The name of the key pair, if this instance was launched with an associated key pair.
-
-
Sample:
-
my-key
- +
The name of the key pair, if this instance was launched with an associated key pair.
+
+
Sample:
+
my-key
+ - -   - + +   +
launch_time
string -
- + + always -
The time the instance was launched.
-
-
Sample:
-
2017-03-23T22:51:24+00:00
- +
The time the instance was launched.
+
+
Sample:
+
2017-03-23T22:51:24+00:00
+ - -   - + +   +
monitoring
complex -
- + + always -
The monitoring for the instance.
-
- +
The monitoring for the instance.
+
+ - -   -   - + +   +   +
state
string -
- + + always -
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
-
-
Sample:
-
disabled
- +
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
+
+
Sample:
+
disabled
+ - - -   - + + +   +
network_interfaces
complex -
- + + always -
One or more network interfaces for the instance.
-
- +
One or more network interfaces for the instance.
+
+ - -   -   - + +   +   +
association
complex -
- + + always -
The association information for an Elastic IPv4 associated with the network interface.
-
- +
The association information for an Elastic IPv4 associated with the network interface.
+
+ - -   -   -   - + +   +   +   +
ip_owner_id
string -
- + + always -
The ID of the owner of the Elastic IP address.
-
-
Sample:
-
amazon
- +
The ID of the owner of the Elastic IP address.
+
+
Sample:
+
amazon
+ - -   -   -   - + +   +   +   +
public_dns_name
string -
- + + always -
The public DNS name.
-
- +
The public DNS name.
+
+ - -   -   -   - + +   +   +   +
public_ip
string -
- + + always -
The public IP address or Elastic IP address bound to the network interface.
-
-
Sample:
-
1.2.3.4
- +
The public IP address or Elastic IP address bound to the network interface.
+
+
Sample:
+
1.2.3.4
+ - - -   -   - + + +   +   +
attachment
complex -
- + + always -
The network interface attachment.
-
- +
The network interface attachment.
+
+ - -   -   -   - + +   +   +   +
attach_time
string -
- + + always -
The time stamp when the attachment initiated.
-
-
Sample:
-
2017-03-23T22:51:24+00:00
- +
The time stamp when the attachment initiated.
+
+
Sample:
+
2017-03-23T22:51:24+00:00
+ - -   -   -   - + +   +   +   +
attachment_id
string -
- + + always -
The ID of the network interface attachment.
-
-
Sample:
-
eni-attach-3aff3f
- +
The ID of the network interface attachment.
+
+
Sample:
+
eni-attach-3aff3f
+ - -   -   -   - + +   +   +   +
delete_on_termination
boolean -
- + + always -
Indicates whether the network interface is deleted when the instance is terminated.
-
-
Sample:
-
True
- +
Indicates whether the network interface is deleted when the instance is terminated.
+
+
Sample:
+
True
+ - -   -   -   - + +   +   +   +
device_index
integer -
- + + always -
The index of the device on the instance for the network interface attachment.
-
- +
The index of the device on the instance for the network interface attachment.
+
+ - -   -   -   - + +   +   +   +
status
string -
- + + always -
The attachment state.
-
-
Sample:
-
attached
- +
The attachment state.
+
+
Sample:
+
attached
+ - - -   -   - + + +   +   +
description
string -
- + + always -
The description.
-
-
Sample:
-
My interface
- +
The description.
+
+
Sample:
+
My interface
+ - -   -   - + +   +   +
groups
list - / elements=dictionary
- + / elements=dictionary + always -
One or more security groups.
-
- +
One or more security groups.
+
+ - -   -   -   - + +   +   +   +
group_id
string -
- + + always -
The ID of the security group.
-
-
Sample:
-
sg-abcdef12
- +
The ID of the security group.
+
+
Sample:
+
sg-abcdef12
+ - -   -   -   - + +   +   +   +
group_name
string -
- + + always -
The name of the security group.
-
-
Sample:
-
mygroup
- +
The name of the security group.
+
+
Sample:
+
mygroup
+ - - -   -   - + + +   +   +
ipv6_addresses
list - / elements=dictionary
- + / elements=dictionary + always -
One or more IPv6 addresses associated with the network interface.
-
- +
One or more IPv6 addresses associated with the network interface.
+
+ - -   -   -   - + +   +   +   +
ipv6_address
string -
- + + always -
The IPv6 address.
-
-
Sample:
-
2001:0db8:85a3:0000:0000:8a2e:0370:7334
- +
The IPv6 address.
+
+
Sample:
+
2001:0db8:85a3:0000:0000:8a2e:0370:7334
+ - - -   -   - + + +   +   +
mac_address
string -
- + + always -
The MAC address.
-
-
Sample:
-
00:11:22:33:44:55
- +
The MAC address.
+
+
Sample:
+
00:11:22:33:44:55
+ - -   -   - + +   +   +
network_interface_id
string -
- + + always -
The ID of the network interface.
-
-
Sample:
-
eni-01234567
- +
The ID of the network interface.
+
+
Sample:
+
eni-01234567
+ - -   -   - + +   +   +
owner_id
string -
- + + always -
The AWS account ID of the owner of the network interface.
-
-
Sample:
-
01234567890
- +
The AWS account ID of the owner of the network interface.
+
+
Sample:
+
01234567890
+ - -   -   - + +   +   +
private_ip_address
string -
- + + always -
The IPv4 address of the network interface within the subnet.
-
-
Sample:
-
10.0.0.1
- +
The IPv4 address of the network interface within the subnet.
+
+
Sample:
+
10.0.0.1
+ - -   -   - + +   +   +
private_ip_addresses
list - / elements=dictionary
- + / elements=dictionary + always -
The private IPv4 addresses associated with the network interface.
-
- +
The private IPv4 addresses associated with the network interface.
+
+ - -   -   -   - + +   +   +   +
association
complex -
- + + always -
The association information for an Elastic IP address (IPv4) associated with the network interface.
-
- +
The association information for an Elastic IP address (IPv4) associated with the network interface.
+
+ - -   -   -   -   - + +   +   +   +   +
ip_owner_id
string -
- + + always -
The ID of the owner of the Elastic IP address.
-
-
Sample:
-
amazon
- +
The ID of the owner of the Elastic IP address.
+
+
Sample:
+
amazon
+ - -   -   -   -   - + +   +   +   +   +
public_dns_name
string -
- + + always -
The public DNS name.
-
- +
The public DNS name.
+
+ - -   -   -   -   - + +   +   +   +   +
public_ip
string -
- + + always -
The public IP address or Elastic IP address bound to the network interface.
-
-
Sample:
-
1.2.3.4
- +
The public IP address or Elastic IP address bound to the network interface.
+
+
Sample:
+
1.2.3.4
+ - - -   -   -   - + + +   +   +   +
primary
boolean -
- + + always -
Indicates whether this IPv4 address is the primary private IP address of the network interface.
-
-
Sample:
-
True
- +
Indicates whether this IPv4 address is the primary private IP address of the network interface.
+
+
Sample:
+
True
+ - -   -   -   - + +   +   +   +
private_ip_address
string -
- + + always -
The private IPv4 address of the network interface.
-
-
Sample:
-
10.0.0.1
- +
The private IPv4 address of the network interface.
+
+
Sample:
+
10.0.0.1
+ - - -   -   - + + +   +   +
source_dest_check
boolean -
- + + always -
Indicates whether source/destination checking is enabled.
-
-
Sample:
-
True
- +
Indicates whether source/destination checking is enabled.
+
+
Sample:
+
True
+ - -   -   - + +   +   +
status
string -
- + + always -
The status of the network interface.
-
-
Sample:
-
in-use
- +
The status of the network interface.
+
+
Sample:
+
in-use
+ - -   -   - + +   +   +
subnet_id
string -
- + + always -
The ID of the subnet for the network interface.
-
-
Sample:
-
subnet-0123456
- +
The ID of the subnet for the network interface.
+
+
Sample:
+
subnet-0123456
+ - -   -   - + +   +   +
vpc_id
string -
- + + always -
The ID of the VPC for the network interface.
-
-
Sample:
-
vpc-0123456
- +
The ID of the VPC for the network interface.
+
+
Sample:
+
vpc-0123456
+ - - -   - + + +   +
placement
complex -
- + + always -
The location where the instance launched, if applicable.
-
- +
The location where the instance launched, if applicable.
+
+ - -   -   - + +   +   +
availability_zone
string -
- + + always -
The Availability Zone of the instance.
-
-
Sample:
-
ap-southeast-2a
- +
The Availability Zone of the instance.
+
+
Sample:
+
ap-southeast-2a
+ - -   -   - + +   +   +
group_name
string -
- + + always -
The name of the placement group the instance is in (for cluster compute instances).
-
- +
The name of the placement group the instance is in (for cluster compute instances).
+
+ - -   -   - + +   +   +
tenancy
string -
- + + always -
The tenancy of the instance (if the instance is running in a VPC).
-
-
Sample:
-
default
- +
The tenancy of the instance (if the instance is running in a VPC).
+
+
Sample:
+
default
+ - - -   - + + +   +
private_dns_name
string -
- + + always -
The private DNS name.
-
-
Sample:
-
ip-10-0-0-1.ap-southeast-2.compute.internal
- +
The private DNS name.
+
+
Sample:
+
ip-10-0-0-1.ap-southeast-2.compute.internal
+ - -   - + +   +
private_ip_address
string -
- + + always -
The IPv4 address of the network interface within the subnet.
-
-
Sample:
-
10.0.0.1
- +
The IPv4 address of the network interface within the subnet.
+
+
Sample:
+
10.0.0.1
+ - -   - + +   +
product_codes
list - / elements=dictionary
- + / elements=dictionary + always -
One or more product codes.
-
- +
One or more product codes.
+
+ - -   -   - + +   +   +
product_code_id
string -
- + + always -
The product code.
-
-
Sample:
-
aw0evgkw8ef3n2498gndfgasdfsd5cce
- +
The product code.
+
+
Sample:
+
aw0evgkw8ef3n2498gndfgasdfsd5cce
+ - -   -   - + +   +   +
product_code_type
string -
- + + always -
The type of product code.
-
-
Sample:
-
marketplace
- +
The type of product code.
+
+
Sample:
+
marketplace
+ - - -   - + + +   +
public_dns_name
string -
- + + always -
The public DNS name assigned to the instance.
-
- +
The public DNS name assigned to the instance.
+
+ - -   - + +   +
public_ip_address
string -
- + + always -
The public IPv4 address assigned to the instance
-
-
Sample:
-
52.0.0.1
- +
The public IPv4 address assigned to the instance
+
+
Sample:
+
52.0.0.1
+ - -   - + +   +
root_device_name
string -
- + + always -
The device name of the root device
-
-
Sample:
-
/dev/sda1
- +
The device name of the root device
+
+
Sample:
+
/dev/sda1
+ - -   - + +   +
root_device_type
string -
- + + always -
The type of root device used by the AMI.
-
-
Sample:
-
ebs
- +
The type of root device used by the AMI.
+
+
Sample:
+
ebs
+ - -   - + +   +
security_groups
list - / elements=dictionary
- + / elements=dictionary + always -
One or more security groups for the instance.
-
- +
One or more security groups for the instance.
+
+ - -   -   - + +   +   +
group_id
string -
- + + always -
The ID of the security group.
-
-
Sample:
-
sg-0123456
- +
The ID of the security group.
+
+
Sample:
+
sg-0123456
+ - -   -   - + +   +   +
group_name
string -
- + + always -
The name of the security group.
-
-
Sample:
-
my-security-group
- +
The name of the security group.
+
+
Sample:
+
my-security-group
+ - - -   - + + +   +
source_dest_check
boolean -
- + + always -
Indicates whether source/destination checking is enabled.
-
-
Sample:
-
True
- +
Indicates whether source/destination checking is enabled.
+
+
Sample:
+
True
+ - -   - + +   +
state
complex -
- + + always -
The current state of the instance.
-
- +
The current state of the instance.
+
+ - -   -   - + +   +   +
code
integer -
- + + always -
The low byte represents the state.
-
-
Sample:
-
16
- +
The low byte represents the state.
+
+
Sample:
+
16
+ - -   -   - + +   +   +
name
string -
- + + always -
The name of the state.
-
-
Sample:
-
running
- +
The name of the state.
+
+
Sample:
+
running
+ - - -   - + + +   +
state_transition_reason
string -
- + + always -
The reason for the most recent state transition.
-
- +
The reason for the most recent state transition.
+
+ - -   - + +   +
subnet_id
string -
- + + always -
The ID of the subnet in which the instance is running.
-
-
Sample:
-
subnet-00abcdef
- +
The ID of the subnet in which the instance is running.
+
+
Sample:
+
subnet-00abcdef
+ - -   - + +   +
tags
dictionary -
- + + always -
Any tags assigned to the instance.
-
- +
Any tags assigned to the instance.
+
+ - -   - + +   +
virtualization_type
string -
- + + always -
The type of virtualization of the AMI.
-
-
Sample:
-
hvm
- +
The type of virtualization of the AMI.
+
+
Sample:
+
hvm
+ - -   - + +   +
vpc_id
dictionary -
- + + always -
The ID of the VPC the instance is in.
-
-
Sample:
-
vpc-0011223344
- +
The ID of the VPC the instance is in.
+
+
Sample:
+
vpc-0011223344
+ - - + +

@@ -1830,5 +1846,3 @@ Authors - Michael Schuett (@michaeljs1990) - Rob White (@wimnat) - - diff --git a/docs/community.aws.ec2_instance_module.rst b/docs/community.aws.ec2_instance_module.rst index 746cdc53581..4232d031243 100644 --- a/docs/community.aws.ec2_instance_module.rst +++ b/docs/community.aws.ec2_instance_module.rst @@ -39,1042 +39,1061 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + / required + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
availability_zone
string -
-
- -
Specify an availability zone to use the default subnet it. Useful if not specifying the vpc_subnet_id parameter.
-
If no subnet, ENI, or availability zone is provided, the default subnet in the default VPC will be used in the first AZ (alphabetically sorted).
-
+ +
Specify an availability zone to use the default subnet it. Useful if not specifying the vpc_subnet_id parameter.
+
If no subnet, ENI, or availability zone is provided, the default subnet in the default VPC will be used in the first AZ (alphabetically sorted).
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cpu_credit_specification
string -
-
-
    Choices: -
  • unlimited
  • -
  • standard
  • -
-
-
For T series instances, choose whether to allow increased charges to buy CPU credits if the default pool is depleted.
-
Choose unlimited to enable buying additional CPU credits.
-
+
    Choices: +
  • unlimited
  • +
  • standard
  • +
+
+
For T series instances, choose whether to allow increased charges to buy CPU credits if the default pool is depleted.
+
Choose unlimited to enable buying additional CPU credits.
+
+
cpu_options
dictionary -
-
- -
Reduce the number of vCPU exposed to the instance.
-
Those parameters can only be set at instance launch. The two suboptions threads_per_core and core_count are mandatory.
- -
Requires botocore >= 1.10.16
-
+ + + +
Reduce the number of vCPU exposed to the instance.
+
Those parameters can only be set at instance launch. The two suboptions threads_per_core and core_count are mandatory.
+ +
Requires botocore >= 1.10.16
+
core_count
integer - / required
-
- -
Set the number of core to enable.
-
+ +
Set the number of core to enable.
+
+
threads_per_core
integer - / required
-
-
    Choices: -
  • 1
  • -
  • 2
  • -
-
-
Select the number of threads per core to enable. Disable or Enable Intel HT.
-
+ / required + +
    Choices: +
  • 1
  • +
  • 2
  • +
+
+
Select the number of threads per core to enable. Disable or Enable Intel HT.
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
detailed_monitoring
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to allow detailed cloudwatch metrics to be collected, enabling more detailed alerting.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to allow detailed cloudwatch metrics to be collected, enabling more detailed alerting.
+
+
ebs_optimized
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether instance is should use optimized EBS volumes, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether instance is should use optimized EBS volumes, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply when deciding whether existing instances match and should be altered. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html. for possible filters. Filter names and values are case sensitive.
-
By default, instances are filtered for counting by their "Name" tag, base AMI, state (running, by default), and subnet ID. Any queryable filter can be used. Good candidates are specific tags, SSH keys, or security groups.
-
+ +
A dict of filters to apply when deciding whether existing instances match and should be altered. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html. for possible filters. Filter names and values are case sensitive.
+
By default, instances are filtered for counting by their "Name" tag, base AMI, state (running, by default), and subnet ID. Any queryable filter can be used. Good candidates are specific tags, SSH keys, or security groups.
+
+
image
dictionary -
-
- -
An image to use for the instance. The amazon.aws.ec2_ami_info module may be used to retrieve images. One of image or image_id are required when instance is not already present.
-
+ + + +
An image to use for the instance. The amazon.aws.ec2_ami_info module may be used to retrieve images. One of image or image_id are required when instance is not already present.
+
id
string -
-
- -
The AMI ID.
-
+ +
The AMI ID.
+
+
kernel
- -
-
- -
a string AKI to override the AMI kernel.
-
+ +
a string AKI to override the AMI kernel.
+
+
ramdisk
string -
-
- -
Overrides the AMI's default ramdisk ID.
-
+ + + +
Overrides the AMI's default ramdisk ID.
+
image_id
string -
-
- -
ami ID to use for the instance. One of image or image_id are required when instance is not already present.
-
This is an alias for image.id.
-
+ +
ami ID to use for the instance. One of image or image_id are required when instance is not already present.
+
This is an alias for image.id.
+
+
instance_ids
list -
-
- -
If you specify one or more instance IDs, only instances that have the specified IDs are returned.
-
+ +
If you specify one or more instance IDs, only instances that have the specified IDs are returned.
+
+
instance_initiated_shutdown_behavior
string -
-
-
    Choices: -
  • stop
  • -
  • terminate
  • -
-
-
Whether to stop or terminate an instance upon shutdown.
-
+
    Choices: +
  • stop
  • +
  • terminate
  • +
+
+
Whether to stop or terminate an instance upon shutdown.
+
+
instance_role
string -
-
- -
The ARN or name of an EC2-enabled instance role to be used. If a name is not provided in arn format then the ListInstanceProfiles permission must also be granted. https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html If no full ARN is provided, the role with a matching name will be used from the active AWS account.
-
+ +
The ARN or name of an EC2-enabled instance role to be used. If a name is not provided in arn format then the ListInstanceProfiles permission must also be granted. https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html If no full ARN is provided, the role with a matching name will be used from the active AWS account.
+
+
instance_type
string -
-
- Default:
"t2.micro"
-
-
Instance type to use for the instance, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html Only required when instance is not already present.
-
+ Default:
"t2.micro"
+
+
Instance type to use for the instance, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html Only required when instance is not already present.
+
+
key_name
string -
-
- -
Name of the SSH access key to assign to the instance - must exist in the region the instance is created.
-
+ +
Name of the SSH access key to assign to the instance - must exist in the region the instance is created.
+
+
launch_template
dictionary -
-
- -
The EC2 launch template to base instance configuration on.
-
+ + + +
The EC2 launch template to base instance configuration on.
+
id
string -
-
- -
the ID of the launch template (optional if name is specified).
-
+ +
the ID of the launch template (optional if name is specified).
+
+
name
string -
-
- -
the pretty name of the launch template (optional if id is specified).
-
+ +
the pretty name of the launch template (optional if id is specified).
+
+
version
- -
-
- -
the specific version of the launch template to use. If unspecified, the template default is chosen.
-
+ + + +
the specific version of the launch template to use. If unspecified, the template default is chosen.
+
name
string -
-
- -
The Name tag for the instance.
-
+ +
The Name tag for the instance.
+
+
network
dictionary -
-
- -
Either a dictionary containing the key 'interfaces' corresponding to a list of network interface IDs or containing specifications for a single network interface.
-
Use the amazon.aws.ec2_eni module to create ENIs with special settings.
-
+ + + +
Either a dictionary containing the key 'interfaces' corresponding to a list of network interface IDs or containing specifications for a single network interface.
+
Use the amazon.aws.ec2_eni module to create ENIs with special settings.
+
assign_public_ip
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
when true assigns a public IP address to the interface
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
when true assigns a public IP address to the interface
+
+
delete_on_termination
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Delete the interface when the instance it is attached to is terminated.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Delete the interface when the instance it is attached to is terminated.
+
+
description
string -
-
- -
a description for the network interface
-
+ +
a description for the network interface
+
+
device_index
integer -
-
- -
The index of the interface to modify
-
+ +
The index of the interface to modify
+
+
groups
list -
-
- -
a list of security group IDs to attach to the interface
-
+ +
a list of security group IDs to attach to the interface
+
+
interfaces
list -
-
- -
a list of ENI IDs (strings) or a list of objects containing the key id.
-
+ +
a list of ENI IDs (strings) or a list of objects containing the key id.
+
+
ipv6_addresses
list -
-
- -
a list of IPv6 addresses to assign to the network interface
-
+ +
a list of IPv6 addresses to assign to the network interface
+
+
private_ip_address
string -
-
- -
an IPv4 address to assign to the interface
-
+ +
an IPv4 address to assign to the interface
+
+
private_ip_addresses
list -
-
- -
a list of IPv4 addresses to assign to the network interface
-
+ +
a list of IPv4 addresses to assign to the network interface
+
+
source_dest_check
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
controls whether source/destination checking is enabled on the interface
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
controls whether source/destination checking is enabled on the interface
+
+
subnet_id
string -
-
- -
the subnet to connect the network interface to
-
+ + + +
the subnet to connect the network interface to
+
placement_group
string -
-
- -
The placement group that needs to be assigned to the instance
-
+ +
The placement group that needs to be assigned to the instance
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Delete any tags not specified in the task that are on the instance. This means you have to specify all the desired tags on each task affecting an instance.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Delete any tags not specified in the task that are on the instance. This means you have to specify all the desired tags on each task affecting an instance.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_group
string -
-
- -
A security group ID or name. Mutually exclusive with security_groups.
-
+ +
A security group ID or name. Mutually exclusive with security_groups.
+
+
security_groups
list -
-
- -
A list of security group IDs or names (strings). Mutually exclusive with security_group.
-
+ +
A list of security group IDs or names (strings). Mutually exclusive with security_group.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • terminated
  • -
  • running
  • -
  • started
  • -
  • stopped
  • -
  • restarted
  • -
  • rebooted
  • -
  • absent
  • -
-
-
Goal state for the instances.
-
+ + +
    Choices: +
  • present ←
  • +
  • terminated
  • +
  • running
  • +
  • started
  • +
  • stopped
  • +
  • restarted
  • +
  • rebooted
  • +
  • absent
  • +
+
+
Goal state for the instances.
+
tags
dictionary -
-
- -
A hash/dictionary of tags to add to the new instance or to add/remove from an existing one.
-
+ +
A hash/dictionary of tags to add to the new instance or to add/remove from an existing one.
+
+
tenancy
string -
-
-
    Choices: -
  • dedicated
  • -
  • default
  • -
-
-
What type of tenancy to allow an instance to use. Default is shared tenancy. Dedicated tenancy will incur additional charges.
-
+
    Choices: +
  • dedicated
  • +
  • default
  • +
+
+
What type of tenancy to allow an instance to use. Default is shared tenancy. Dedicated tenancy will incur additional charges.
+
+
termination_protection
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to enable termination protection. This module will not terminate an instance with termination protection active, it must be turned off first.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to enable termination protection. This module will not terminate an instance with termination protection active, it must be turned off first.
+
+
tower_callback
dictionary -
-
- -
Preconfigured user-data to enable an instance to perform a Tower callback (Linux only).
-
Mutually exclusive with user_data.
-
For Windows instances, to enable remote access via Ansible set tower_callback.windows to true, and optionally set an admin password.
-
If using 'windows' and 'set_password', callback to Tower will not be performed but the instance will be ready to receive winrm connections from Ansible.
-
+ + + +
Preconfigured user-data to enable an instance to perform a Tower callback (Linux only).
+
Mutually exclusive with user_data.
+
For Windows instances, to enable remote access via Ansible set tower_callback.windows to true, and optionally set an admin password.
+
If using 'windows' and 'set_password', callback to Tower will not be performed but the instance will be ready to receive winrm connections from Ansible.
+
host_config_key
string -
-
- -
Host configuration secret key generated by the Tower job template.
-
+ +
Host configuration secret key generated by the Tower job template.
+
+
job_template_id
string -
-
- -
Either the integer ID of the Tower Job Template, or the name (name supported only for Tower 3.2+).
-
+ +
Either the integer ID of the Tower Job Template, or the name (name supported only for Tower 3.2+).
+
+
tower_address
string -
-
- -
IP address or DNS name of Tower server. Must be accessible via this address from the VPC that this instance will be launched in.
-
+ + + +
IP address or DNS name of Tower server. Must be accessible via this address from the VPC that this instance will be launched in.
+
user_data
string -
-
- -
Opaque blob of data which is made available to the ec2 instance
-
+ +
Opaque blob of data which is made available to the ec2 instance
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
volumes
list -
-
- -
A list of block device mappings, by default this will always use the AMI root device so the volumes option is primarily for adding more storage.
-
A mapping contains the (optional) keys device_name, virtual_name, ebs.volume_type, ebs.volume_size, ebs.kms_key_id, ebs.iops, and ebs.delete_on_termination.
- -
+ +
A list of block device mappings, by default this will always use the AMI root device so the volumes option is primarily for adding more storage.
+
A mapping contains the (optional) keys device_name, virtual_name, ebs.volume_type, ebs.volume_size, ebs.kms_key_id, ebs.iops, and ebs.delete_on_termination.
+ +
+
vpc_subnet_id
string -
-
- -
The subnet ID in which to launch the instance (VPC) If none is provided, community.aws.ec2_instance will chose the default zone of the default VPC.
-

aliases: subnet_id
-
+ +
The subnet ID in which to launch the instance (VPC) If none is provided, community.aws.ec2_instance will chose the default zone of the default VPC.
+

aliases: subnet_id
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether or not to wait for the desired state (use wait_timeout to customize this).
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether or not to wait for the desired state (use wait_timeout to customize this).
+
+
wait_timeout
integer -
-
- Default:
600
-
-
How long to wait (in seconds) for the instance to finish booting/terminating.
-
+ + + + Default:
600
+ + +
How long to wait (in seconds) for the instance to finish booting/terminating.
+ + +
@@ -1082,7 +1101,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -1093,7 +1112,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Terminate every running instance in a region. Use with EXTREME caution. @@ -1198,7 +1216,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -1211,1485 +1228,1485 @@ Common return values are documented `here Returned Description - - + +
instances
complex -
- + + when wait == true -
a list of ec2 instances
-
- +
a list of ec2 instances
+
+ - -   - + +   +
ami_launch_index
integer -
- + + always -
The AMI launch index, which can be used to find this instance in the launch group.
-
- +
The AMI launch index, which can be used to find this instance in the launch group.
+
+ - -   - + +   +
architecture
string -
- + + always -
The architecture of the image
-
-
Sample:
-
x86_64
- +
The architecture of the image
+
+
Sample:
+
x86_64
+ - -   - + +   +
block_device_mappings
complex -
- + + always -
Any block device mapping entries for the instance.
-
- +
Any block device mapping entries for the instance.
+
+ - -   -   - + +   +   +
device_name
string -
- + + always -
The device name exposed to the instance (for example, /dev/sdh or xvdh).
-
-
Sample:
-
/dev/sdh
- +
The device name exposed to the instance (for example, /dev/sdh or xvdh).
+
+
Sample:
+
/dev/sdh
+ - -   -   - + +   +   +
ebs
complex -
- + + always -
Parameters used to automatically set up EBS volumes when the instance is launched.
-
- +
Parameters used to automatically set up EBS volumes when the instance is launched.
+
+ - -   -   -   - + +   +   +   +
attach_time
string -
- + + always -
The time stamp when the attachment initiated.
-
-
Sample:
-
2017-03-23T22:51:24+00:00
- +
The time stamp when the attachment initiated.
+
+
Sample:
+
2017-03-23T22:51:24+00:00
+ - -   -   -   - + +   +   +   +
delete_on_termination
boolean -
- + + always -
Indicates whether the volume is deleted on instance termination.
-
-
Sample:
-
True
- +
Indicates whether the volume is deleted on instance termination.
+
+
Sample:
+
True
+ - -   -   -   - + +   +   +   +
status
string -
- + + always -
The attachment state.
-
-
Sample:
-
attached
- +
The attachment state.
+
+
Sample:
+
attached
+ - -   -   -   - + +   +   +   +
volume_id
string -
- + + always -
The ID of the EBS volume
-
-
Sample:
-
vol-12345678
- +
The ID of the EBS volume
+
+
Sample:
+
vol-12345678
+ - - - -   - + + + +   +
client_token
string -
- + + always -
The idempotency token you provided when you launched the instance, if applicable.
-
-
Sample:
-
mytoken
- +
The idempotency token you provided when you launched the instance, if applicable.
+
+
Sample:
+
mytoken
+ - -   - + +   +
ebs_optimized
boolean -
- + + always -
Indicates whether the instance is optimized for EBS I/O.
-
- +
Indicates whether the instance is optimized for EBS I/O.
+
+ - -   - + +   +
hypervisor
string -
- + + always -
The hypervisor type of the instance.
-
-
Sample:
-
xen
- +
The hypervisor type of the instance.
+
+
Sample:
+
xen
+ - -   - + +   +
iam_instance_profile
complex -
- + + always -
The IAM instance profile associated with the instance, if applicable.
-
- +
The IAM instance profile associated with the instance, if applicable.
+
+ - -   -   - + +   +   +
arn
string -
- + + always -
The Amazon Resource Name (ARN) of the instance profile.
-
-
Sample:
-
arn:aws:iam::000012345678:instance-profile/myprofile
- +
The Amazon Resource Name (ARN) of the instance profile.
+
+
Sample:
+
arn:aws:iam::000012345678:instance-profile/myprofile
+ - -   -   - + +   +   +
id
string -
- + + always -
The ID of the instance profile
-
-
Sample:
-
JFJ397FDG400FG9FD1N
- +
The ID of the instance profile
+
+
Sample:
+
JFJ397FDG400FG9FD1N
+ - - -   - + + +   +
image_id
string -
- + + always -
The ID of the AMI used to launch the instance.
-
-
Sample:
-
ami-0011223344
- +
The ID of the AMI used to launch the instance.
+
+
Sample:
+
ami-0011223344
+ - -   - + +   +
instance_id
string -
- + + always -
The ID of the instance.
-
-
Sample:
-
i-012345678
- +
The ID of the instance.
+
+
Sample:
+
i-012345678
+ - -   - + +   +
instance_type
string -
- + + always -
The instance type size of the running instance.
-
-
Sample:
-
t2.micro
- +
The instance type size of the running instance.
+
+
Sample:
+
t2.micro
+ - -   - + +   +
key_name
string -
- + + always -
The name of the key pair, if this instance was launched with an associated key pair.
-
-
Sample:
-
my-key
- +
The name of the key pair, if this instance was launched with an associated key pair.
+
+
Sample:
+
my-key
+ - -   - + +   +
launch_time
string -
- + + always -
The time the instance was launched.
-
-
Sample:
-
2017-03-23T22:51:24+00:00
- +
The time the instance was launched.
+
+
Sample:
+
2017-03-23T22:51:24+00:00
+ - -   - + +   +
monitoring
complex -
- + + always -
The monitoring for the instance.
-
- +
The monitoring for the instance.
+
+ - -   -   - + +   +   +
state
string -
- + + always -
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
-
-
Sample:
-
disabled
- +
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
+
+
Sample:
+
disabled
+ - - -   - + + +   +
network.source_dest_check
boolean -
- + + always -
Indicates whether source/destination checking is enabled.
-
-
Sample:
-
True
- +
Indicates whether source/destination checking is enabled.
+
+
Sample:
+
True
+ - -   - + +   +
network_interfaces
complex -
- + + always -
One or more network interfaces for the instance.
-
- +
One or more network interfaces for the instance.
+
+ - -   -   - + +   +   +
association
complex -
- + + always -
The association information for an Elastic IPv4 associated with the network interface.
-
- +
The association information for an Elastic IPv4 associated with the network interface.
+
+ - -   -   -   - + +   +   +   +
ip_owner_id
string -
- + + always -
The ID of the owner of the Elastic IP address.
-
-
Sample:
-
amazon
- +
The ID of the owner of the Elastic IP address.
+
+
Sample:
+
amazon
+ - -   -   -   - + +   +   +   +
public_dns_name
string -
- + + always -
The public DNS name.
-
- +
The public DNS name.
+
+ - -   -   -   - + +   +   +   +
public_ip
string -
- + + always -
The public IP address or Elastic IP address bound to the network interface.
-
-
Sample:
-
1.2.3.4
- +
The public IP address or Elastic IP address bound to the network interface.
+
+
Sample:
+
1.2.3.4
+ - - -   -   - + + +   +   +
attachment
complex -
- + + always -
The network interface attachment.
-
- +
The network interface attachment.
+
+ - -   -   -   - + +   +   +   +
attach_time
string -
- + + always -
The time stamp when the attachment initiated.
-
-
Sample:
-
2017-03-23T22:51:24+00:00
- +
The time stamp when the attachment initiated.
+
+
Sample:
+
2017-03-23T22:51:24+00:00
+ - -   -   -   - + +   +   +   +
attachment_id
string -
- + + always -
The ID of the network interface attachment.
-
-
Sample:
-
eni-attach-3aff3f
- +
The ID of the network interface attachment.
+
+
Sample:
+
eni-attach-3aff3f
+ - -   -   -   - + +   +   +   +
delete_on_termination
boolean -
- + + always -
Indicates whether the network interface is deleted when the instance is terminated.
-
-
Sample:
-
True
- +
Indicates whether the network interface is deleted when the instance is terminated.
+
+
Sample:
+
True
+ - -   -   -   - + +   +   +   +
device_index
integer -
- + + always -
The index of the device on the instance for the network interface attachment.
-
- +
The index of the device on the instance for the network interface attachment.
+
+ - -   -   -   - + +   +   +   +
status
string -
- + + always -
The attachment state.
-
-
Sample:
-
attached
- +
The attachment state.
+
+
Sample:
+
attached
+ - - -   -   - + + +   +   +
description
string -
- + + always -
The description.
-
-
Sample:
-
My interface
- +
The description.
+
+
Sample:
+
My interface
+ - -   -   - + +   +   +
groups
list - / elements=dictionary
- + / elements=dictionary + always -
One or more security groups.
-
- +
One or more security groups.
+
+ - -   -   -   - + +   +   +   +
group_id
string -
- + + always -
The ID of the security group.
-
-
Sample:
-
sg-abcdef12
- +
The ID of the security group.
+
+
Sample:
+
sg-abcdef12
+ - -   -   -   - + +   +   +   +
group_name
string -
- + + always -
The name of the security group.
-
-
Sample:
-
mygroup
- +
The name of the security group.
+
+
Sample:
+
mygroup
+ - - -   -   - + + +   +   +
ipv6_addresses
list - / elements=dictionary
- + / elements=dictionary + always -
One or more IPv6 addresses associated with the network interface.
-
- +
One or more IPv6 addresses associated with the network interface.
+
+ - -   -   -   - + +   +   +   +
ipv6_address
string -
- + + always -
The IPv6 address.
-
-
Sample:
-
2001:0db8:85a3:0000:0000:8a2e:0370:7334
- +
The IPv6 address.
+
+
Sample:
+
2001:0db8:85a3:0000:0000:8a2e:0370:7334
+ - - -   -   - + + +   +   +
mac_address
string -
- + + always -
The MAC address.
-
-
Sample:
-
00:11:22:33:44:55
- +
The MAC address.
+
+
Sample:
+
00:11:22:33:44:55
+ - -   -   - + +   +   +
network_interface_id
string -
- + + always -
The ID of the network interface.
-
-
Sample:
-
eni-01234567
- +
The ID of the network interface.
+
+
Sample:
+
eni-01234567
+ - -   -   - + +   +   +
owner_id
string -
- + + always -
The AWS account ID of the owner of the network interface.
-
-
Sample:
-
01234567890
- +
The AWS account ID of the owner of the network interface.
+
+
Sample:
+
01234567890
+ - -   -   - + +   +   +
private_ip_address
string -
- + + always -
The IPv4 address of the network interface within the subnet.
-
-
Sample:
-
10.0.0.1
- +
The IPv4 address of the network interface within the subnet.
+
+
Sample:
+
10.0.0.1
+ - -   -   - + +   +   +
private_ip_addresses
list - / elements=dictionary
- + / elements=dictionary + always -
The private IPv4 addresses associated with the network interface.
-
- +
The private IPv4 addresses associated with the network interface.
+
+ - -   -   -   - + +   +   +   +
association
complex -
- + + always -
The association information for an Elastic IP address (IPv4) associated with the network interface.
-
- +
The association information for an Elastic IP address (IPv4) associated with the network interface.
+
+ - -   -   -   -   - + +   +   +   +   +
ip_owner_id
string -
- + + always -
The ID of the owner of the Elastic IP address.
-
-
Sample:
-
amazon
- +
The ID of the owner of the Elastic IP address.
+
+
Sample:
+
amazon
+ - -   -   -   -   - + +   +   +   +   +
public_dns_name
string -
- + + always -
The public DNS name.
-
- +
The public DNS name.
+
+ - -   -   -   -   - + +   +   +   +   +
public_ip
string -
- + + always -
The public IP address or Elastic IP address bound to the network interface.
-
-
Sample:
-
1.2.3.4
- +
The public IP address or Elastic IP address bound to the network interface.
+
+
Sample:
+
1.2.3.4
+ - - -   -   -   - + + +   +   +   +
primary
boolean -
- + + always -
Indicates whether this IPv4 address is the primary private IP address of the network interface.
-
-
Sample:
-
True
- +
Indicates whether this IPv4 address is the primary private IP address of the network interface.
+
+
Sample:
+
True
+ - -   -   -   - + +   +   +   +
private_ip_address
string -
- + + always -
The private IPv4 address of the network interface.
-
-
Sample:
-
10.0.0.1
- +
The private IPv4 address of the network interface.
+
+
Sample:
+
10.0.0.1
+ - - -   -   - + + +   +   +
source_dest_check
boolean -
- + + always -
Indicates whether source/destination checking is enabled.
-
-
Sample:
-
True
- +
Indicates whether source/destination checking is enabled.
+
+
Sample:
+
True
+ - -   -   - + +   +   +
status
string -
- + + always -
The status of the network interface.
-
-
Sample:
-
in-use
- +
The status of the network interface.
+
+
Sample:
+
in-use
+ - -   -   - + +   +   +
subnet_id
string -
- + + always -
The ID of the subnet for the network interface.
-
-
Sample:
-
subnet-0123456
- +
The ID of the subnet for the network interface.
+
+
Sample:
+
subnet-0123456
+ - -   -   - + +   +   +
vpc_id
string -
- + + always -
The ID of the VPC for the network interface.
-
-
Sample:
-
vpc-0123456
- +
The ID of the VPC for the network interface.
+
+
Sample:
+
vpc-0123456
+ - - -   - + + +   +
placement
complex -
- + + always -
The location where the instance launched, if applicable.
-
- +
The location where the instance launched, if applicable.
+
+ - -   -   - + +   +   +
availability_zone
string -
- + + always -
The Availability Zone of the instance.
-
-
Sample:
-
ap-southeast-2a
- +
The Availability Zone of the instance.
+
+
Sample:
+
ap-southeast-2a
+ - -   -   - + +   +   +
group_name
string -
- + + always -
The name of the placement group the instance is in (for cluster compute instances).
-
- +
The name of the placement group the instance is in (for cluster compute instances).
+
+ - -   -   - + +   +   +
tenancy
string -
- + + always -
The tenancy of the instance (if the instance is running in a VPC).
-
-
Sample:
-
default
- +
The tenancy of the instance (if the instance is running in a VPC).
+
+
Sample:
+
default
+ - - -   - + + +   +
private_dns_name
string -
- + + always -
The private DNS name.
-
-
Sample:
-
ip-10-0-0-1.ap-southeast-2.compute.internal
- +
The private DNS name.
+
+
Sample:
+
ip-10-0-0-1.ap-southeast-2.compute.internal
+ - -   - + +   +
private_ip_address
string -
- + + always -
The IPv4 address of the network interface within the subnet.
-
-
Sample:
-
10.0.0.1
- +
The IPv4 address of the network interface within the subnet.
+
+
Sample:
+
10.0.0.1
+ - -   - + +   +
product_codes
list - / elements=dictionary
- + / elements=dictionary + always -
One or more product codes.
-
- +
One or more product codes.
+
+ - -   -   - + +   +   +
product_code_id
string -
- + + always -
The product code.
-
-
Sample:
-
aw0evgkw8ef3n2498gndfgasdfsd5cce
- +
The product code.
+
+
Sample:
+
aw0evgkw8ef3n2498gndfgasdfsd5cce
+ - -   -   - + +   +   +
product_code_type
string -
- + + always -
The type of product code.
-
-
Sample:
-
marketplace
- +
The type of product code.
+
+
Sample:
+
marketplace
+ - - -   - + + +   +
public_dns_name
string -
- + + always -
The public DNS name assigned to the instance.
-
- +
The public DNS name assigned to the instance.
+
+ - -   - + +   +
public_ip_address
string -
- + + always -
The public IPv4 address assigned to the instance
-
-
Sample:
-
52.0.0.1
- +
The public IPv4 address assigned to the instance
+
+
Sample:
+
52.0.0.1
+ - -   - + +   +
root_device_name
string -
- + + always -
The device name of the root device
-
-
Sample:
-
/dev/sda1
- +
The device name of the root device
+
+
Sample:
+
/dev/sda1
+ - -   - + +   +
root_device_type
string -
- + + always -
The type of root device used by the AMI.
-
-
Sample:
-
ebs
- +
The type of root device used by the AMI.
+
+
Sample:
+
ebs
+ - -   - + +   +
security_groups
list - / elements=dictionary
- + / elements=dictionary + always -
One or more security groups for the instance.
-
- +
One or more security groups for the instance.
+
+ - -   -   - + +   +   +
group_id
string -
- + + always -
The ID of the security group.
-
-
Sample:
-
sg-0123456
- +
The ID of the security group.
+
+
Sample:
+
sg-0123456
+ - -   -   - + +   +   +
group_name
string -
- + + always -
The name of the security group.
-
-
Sample:
-
my-security-group
- +
The name of the security group.
+
+
Sample:
+
my-security-group
+ - - -   - + + +   +
state
complex -
- + + always -
The current state of the instance.
-
- +
The current state of the instance.
+
+ - -   -   - + +   +   +
code
integer -
- + + always -
The low byte represents the state.
-
-
Sample:
-
16
- +
The low byte represents the state.
+
+
Sample:
+
16
+ - -   -   - + +   +   +
name
string -
- + + always -
The name of the state.
-
-
Sample:
-
running
- +
The name of the state.
+
+
Sample:
+
running
+ - - -   - + + +   +
state_transition_reason
string -
- + + always -
The reason for the most recent state transition.
-
- +
The reason for the most recent state transition.
+
+ - -   - + +   +
subnet_id
string -
- + + always -
The ID of the subnet in which the instance is running.
-
-
Sample:
-
subnet-00abcdef
- +
The ID of the subnet in which the instance is running.
+
+
Sample:
+
subnet-00abcdef
+ - -   - + +   +
tags
dictionary -
- + + always -
Any tags assigned to the instance.
-
- +
Any tags assigned to the instance.
+
+ - -   - + +   +
virtualization_type
string -
- + + always -
The type of virtualization of the AMI.
-
-
Sample:
-
hvm
- +
The type of virtualization of the AMI.
+
+
Sample:
+
hvm
+ - -   - + +   +
vpc_id
dictionary -
- + + always -
The ID of the VPC the instance is in.
-
-
Sample:
-
vpc-0011223344
- +
The ID of the VPC the instance is in.
+
+
Sample:
+
vpc-0011223344
+ - - + +

@@ -2701,5 +2718,3 @@ Authors ~~~~~~~ - Ryan Scott Brown (@ryansb) - - diff --git a/docs/community.aws.ec2_launch_template_module.rst b/docs/community.aws.ec2_launch_template_module.rst index a014b5b1e1f..cf7011d2f19 100644 --- a/docs/community.aws.ec2_launch_template_module.rst +++ b/docs/community.aws.ec2_launch_template_module.rst @@ -38,1204 +38,1223 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + / elements=string + + + - - - + + - - + + + + - - - + + - - + / elements=string + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
block_device_mappings
list - / elements=dictionary
-
- -
The block device mapping. Supplying both a snapshot ID and an encryption value as arguments for block-device mapping results in an error. This is because only blank volumes can be encrypted on start, and these are not created from a snapshot. If a snapshot is the basis for the volume, it contains data by definition and its encryption status cannot be changed using this action.
-
+ / elements=dictionary + + +
The block device mapping. Supplying both a snapshot ID and an encryption value as arguments for block-device mapping results in an error. This is because only blank volumes can be encrypted on start, and these are not created from a snapshot. If a snapshot is the basis for the volume, it contains data by definition and its encryption status cannot be changed using this action.
+
device_name
string -
-
- -
The device name (for example, /dev/sdh or xvdh).
-
+ +
The device name (for example, /dev/sdh or xvdh).
+
+
ebs
dictionary -
-
- -
Parameters used to automatically set up EBS volumes when the instance is launched.
-
+ + + +
Parameters used to automatically set up EBS volumes when the instance is launched.
+
delete_on_termination
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether the EBS volume is deleted on instance termination.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether the EBS volume is deleted on instance termination.
+
+
encrypted
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
+
+
iops
integer -
-
- -
The number of I/O operations per second (IOPS) that the volume supports. For io1, this represents the number of IOPS that are provisioned for the volume. For gp2, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information about General Purpose SSD baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.
-
Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes.
-
+ +
The number of I/O operations per second (IOPS) that the volume supports. For io1, this represents the number of IOPS that are provisioned for the volume. For gp2, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information about General Purpose SSD baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.
+
Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes.
+
+
kms_key_id
string -
-
- -
The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.
-
+ +
The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption.
+
+
snapshot_id
string -
-
- -
The ID of the snapshot to create the volume from.
-
+ +
The ID of the snapshot to create the volume from.
+
+
volume_size
integer -
-
- -
The size of the volume, in GiB.
-
Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.
-
+ +
The size of the volume, in GiB.
+
Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.
+
+
volume_type
string -
-
- -
The volume type
-
+ + + +
The volume type
+
no_device
string -
-
- -
Suppresses the specified device included in the block device mapping of the AMI.
-
+ +
Suppresses the specified device included in the block device mapping of the AMI.
+
+
virtual_name
string -
-
- -
The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
-
+ + + +
The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
+
cpu_options
dictionary -
-
- -
Choose CPU settings for the EC2 instances that will be created with this template.
- -
+ + + +
Choose CPU settings for the EC2 instances that will be created with this template.
+ +
core_count
integer -
-
- -
The number of CPU cores for the instance.
-
+ +
The number of CPU cores for the instance.
+
+
threads_per_core
integer -
-
- -
The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2.
-
+ + + +
The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2.
+
credit_specification
dictionary -
-
- -
The credit option for CPU usage of the instance. Valid for T2 or T3 instances only.
-
+ + + +
The credit option for CPU usage of the instance. Valid for T2 or T3 instances only.
+
cpu_credits
string -
-
- -
The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and unlimited.
-
+ + + +
The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and unlimited.
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
default_version
string -
-
- Default:
"latest"
-
-
Which version should be the default when users spin up new instances based on this template? By default, the latest version will be made the default.
-
+ Default:
"latest"
+
+
Which version should be the default when users spin up new instances based on this template? By default, the latest version will be made the default.
+
+
disable_api_termination
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
This helps protect instances from accidental termination. If set to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API. To change this attribute to false after launch, use ModifyInstanceAttribute.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
This helps protect instances from accidental termination. If set to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API. To change this attribute to false after launch, use ModifyInstanceAttribute.
+
+
ebs_optimized
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
elastic_gpu_specifications
list - / elements=dictionary
-
- -
Settings for Elastic GPU attachments. See https://aws.amazon.com/ec2/elastic-gpus/ for details.
-
+ / elements=dictionary + + +
Settings for Elastic GPU attachments. See https://aws.amazon.com/ec2/elastic-gpus/ for details.
+
type
string -
-
- -
The type of Elastic GPU to attach
-
+ + + +
The type of Elastic GPU to attach
+
iam_instance_profile
string -
-
- -
The name or ARN of an IAM instance profile. Requires permissions to describe existing instance roles to confirm ARN is properly formed.
-
+ +
The name or ARN of an IAM instance profile. Requires permissions to describe existing instance roles to confirm ARN is properly formed.
+
+
image_id
string -
-
- -
The AMI ID to use for new instances launched with this template. This value is region-dependent since AMIs are not global resources.
-
+ +
The AMI ID to use for new instances launched with this template. This value is region-dependent since AMIs are not global resources.
+
+
instance_initiated_shutdown_behavior
string -
-
-
    Choices: -
  • stop
  • -
  • terminate
  • -
-
-
Indicates whether an instance stops or terminates when you initiate shutdown from the instance using the operating system shutdown command.
-
+
    Choices: +
  • stop
  • +
  • terminate
  • +
+
+
Indicates whether an instance stops or terminates when you initiate shutdown from the instance using the operating system shutdown command.
+
+
instance_market_options
dictionary -
-
- -
Options for alternative instance markets, currently only the spot market is supported.
-
+ + + +
Options for alternative instance markets, currently only the spot market is supported.
+
market_type
string -
-
- -
The market type. This should always be 'spot'.
-
+ +
The market type. This should always be 'spot'.
+
+
spot_options
dictionary -
-
- -
Spot-market specific settings.
-
+ + + +
Spot-market specific settings.
+
block_duration_minutes
integer -
-
- -
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
-
+ +
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
+
+
instance_interruption_behavior
string -
-
-
    Choices: -
  • hibernate
  • -
  • stop
  • -
  • terminate
  • -
-
-
The behavior when a Spot Instance is interrupted. The default is terminate.
-
+
    Choices: +
  • hibernate
  • +
  • stop
  • +
  • terminate
  • +
+
+
The behavior when a Spot Instance is interrupted. The default is terminate.
+
+
max_price
string -
-
- -
The highest hourly price you're willing to pay for this Spot Instance.
-
+ +
The highest hourly price you're willing to pay for this Spot Instance.
+
+
spot_instance_type
string -
-
-
    Choices: -
  • one-time
  • -
  • persistent
  • -
-
-
The request type to send.
-
+ + +
    Choices: +
  • one-time
  • +
  • persistent
  • +
+
+
The request type to send.
+
instance_type
string -
-
- -
The instance type, such as c5.2xlarge. For a full list of instance types, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html.
-
+ +
The instance type, such as c5.2xlarge. For a full list of instance types, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html.
+
+
kernel_id
string -
-
- -
The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
-
+ +
The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
+
+
key_name
string -
-
- -
The name of the key pair. You can create a key pair using amazon.aws.ec2_key.
-
If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
-
+ +
The name of the key pair. You can create a key pair using amazon.aws.ec2_key.
+
If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
+
+
monitoring
dictionary -
-
- -
Settings for instance monitoring.
-
+ + + +
Settings for instance monitoring.
+
enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to turn on detailed monitoring for new instances. This will incur extra charges.
-
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to turn on detailed monitoring for new instances. This will incur extra charges.
+
network_interfaces
list - / elements=dictionary
-
- -
One or more network interfaces.
-
+ / elements=dictionary + + +
One or more network interfaces.
+
associate_public_ip_address
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Associates a public IPv4 address with eth0 for a new network interface.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Associates a public IPv4 address with eth0 for a new network interface.
+
+
delete_on_termination
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether the network interface is deleted when the instance is terminated.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether the network interface is deleted when the instance is terminated.
+
+
description
string -
-
- -
A description for the network interface.
-
+ +
A description for the network interface.
+
+
device_index
integer -
-
- -
The device index for the network interface attachment.
-
+ +
The device index for the network interface attachment.
+
+
groups
list - / elements=string
-
- -
List of security group IDs to include on this instance.
-
+ +
List of security group IDs to include on this instance.
+
+
ipv6_address_count
integer -
-
- -
The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying the ipv6_addresses option.
-
+ +
The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying the ipv6_addresses option.
+
+
ipv6_addresses
list - / elements=string
-
- -
A list of one or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying the ipv6_address_count option.
-
+ +
A list of one or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying the ipv6_address_count option.
+
+
network_interface_id
string -
-
- -
The eni ID of a network interface to attach.
-
+ +
The eni ID of a network interface to attach.
+
+
private_ip_address
string -
-
- -
The primary private IPv4 address of the network interface.
-
+ +
The primary private IPv4 address of the network interface.
+
+
subnet_id
string -
-
- -
The ID of the subnet for the network interface.
-
+ + + +
The ID of the subnet for the network interface.
+
placement
dictionary -
-
- -
The placement group settings for the instance.
-
+ + + +
The placement group settings for the instance.
+
affinity
string -
-
- -
The affinity setting for an instance on a Dedicated Host.
-
+ +
The affinity setting for an instance on a Dedicated Host.
+
+
availability_zone
string -
-
- -
The Availability Zone for the instance.
-
+ +
The Availability Zone for the instance.
+
+
group_name
string -
-
- -
The name of the placement group for the instance.
-
+ +
The name of the placement group for the instance.
+
+
host_id
string -
-
- -
The ID of the Dedicated Host for the instance.
-
+ +
The ID of the Dedicated Host for the instance.
+
+
tenancy
string -
-
- -
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
-
+ + + +
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
ram_disk_id
string -
-
- -
The ID of the RAM disk to launch the instance with. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
-
+ +
The ID of the RAM disk to launch the instance with. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_group_ids
list - / elements=string
-
- -
A list of security group IDs (VPC or EC2-Classic) that the new instances will be added to.
-
+ +
A list of security group IDs (VPC or EC2-Classic) that the new instances will be added to.
+
+
security_groups
list - / elements=string
-
- -
A list of security group names (VPC or EC2-Classic) that the new instances will be added to.
-
+ +
A list of security group names (VPC or EC2-Classic) that the new instances will be added to.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the launch template should exist or not.
-
Deleting specific versions of a launch template is not supported at this time.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the launch template should exist or not.
+
Deleting specific versions of a launch template is not supported at this time.
+
+
tags
dictionary -
-
- -
A set of key-value pairs to be applied to resources when this Launch Template is used.
-
Tag key constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:
-
Tag value constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.
-
+ +
A set of key-value pairs to be applied to resources when this Launch Template is used.
+
Tag key constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:
+
Tag value constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.
+
+
template_id
string -
-
- -
The ID for the launch template, can be used for all cases except creating a new Launch Template.
-

aliases: id
-
+ +
The ID for the launch template, can be used for all cases except creating a new Launch Template.
+

aliases: id
+
+
template_name
string -
-
- -
The template name. This must be unique in the region-account combination you are using.
-

aliases: name
-
+ +
The template name. This must be unique in the region-account combination you are using.
+

aliases: name
+
+
user_data
string -
-
- -
The Base64-encoded user data to make available to the instance. For more information, see the Linux http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html and Windows http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data documentation on user-data.
-
+ +
The Base64-encoded user data to make available to the instance. For more information, see the Linux http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html and Windows http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data documentation on user-data.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -1243,7 +1262,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -1254,7 +1273,6 @@ Examples .. code-block:: yaml+jinja - - name: Create an ec2 launch template community.aws.ec2_launch_template: name: "my_template" @@ -1281,7 +1299,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -1294,37 +1311,37 @@ Common return values are documented `here Returned Description - - + +
default_version
integer -
- + + when state=present -
The version that will be used if only the template name is specified. Often this is the same as the latest version, but not always.
-
- +
The version that will be used if only the template name is specified. Often this is the same as the latest version, but not always.
+
+ - - + +
latest_version
integer -
- + + when state=present -
Latest available version of the launch template
-
- +
Latest available version of the launch template
+
+ - +

@@ -1336,5 +1353,3 @@ Authors ~~~~~~~ - Ryan Scott Brown (@ryansb) - - diff --git a/docs/community.aws.ec2_lc_find_module.rst b/docs/community.aws.ec2_lc_find_module.rst index 4e2aa13f827..4a6a2a11e45 100644 --- a/docs/community.aws.ec2_lc_find_module.rst +++ b/docs/community.aws.ec2_lc_find_module.rst @@ -39,212 +39,231 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
limit
integer -
-
- -
How many results to show.
-
Corresponds to Python slice notation like list[:limit].
-
+ +
How many results to show.
+
Corresponds to Python slice notation like list[:limit].
+
+
name_regex
string - / required
-
- -
A Launch Configuration to match.
-
It'll be compiled as regex.
-
+ +
A Launch Configuration to match.
+
It'll be compiled as regex.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
sort_order
string -
-
-
    Choices: -
  • ascending ←
  • -
  • descending
  • -
-
-
Order in which to sort results.
-
+
    Choices: +
  • ascending ←
  • +
  • descending
  • +
+
+
Order in which to sort results.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -252,7 +271,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -263,7 +282,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Search for the Launch Configurations that start with "app" @@ -274,7 +292,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -287,250 +304,250 @@ Common return values are documented `here Returned Description - - + +
arn
string -
- + + when Launch Configuration was found -
Name of the AMI
-
-
Sample:
-
arn:aws:autoscaling:eu-west-1:12345:launchConfiguration:d82f050e-e315:launchConfigurationName/yourproject
- +
Name of the AMI
+
+
Sample:
+
arn:aws:autoscaling:eu-west-1:12345:launchConfiguration:d82f050e-e315:launchConfigurationName/yourproject
+ - - + +
associate_public_address
boolean -
- + + when Launch Configuration was found -
Assign public address or not
-
-
Sample:
-
True
- +
Assign public address or not
+
+
Sample:
+
True
+ - - + +
block_device_mappings
list -
- + + when Launch Configuration was found -
Launch Configuration block device mappings property
-
- +
Launch Configuration block device mappings property
+
+ - - + +
classic_link_vpc_security_groups
list -
- + + when Launch Configuration was found -
Launch Configuration classic link vpc security groups property
-
- +
Launch Configuration classic link vpc security groups property
+
+ - - + +
created_time
string -
- + + when Launch Configuration was found -
When it was created
-
-
Sample:
-
2016-06-29T14:59:22.222000+00:00
- +
When it was created
+
+
Sample:
+
2016-06-29T14:59:22.222000+00:00
+ - - + +
ebs_optimized
boolean -
- + + when Launch Configuration was found -
Launch Configuration EBS optimized property
-
- +
Launch Configuration EBS optimized property
+
+ - - + +
image_id
string -
- + + when Launch Configuration was found -
AMI id
-
-
Sample:
-
ami-0d75df7e
- +
AMI id
+
+
Sample:
+
ami-0d75df7e
+ - - + +
instance_monitoring
string -
- + + when Launch Configuration was found -
Launch Configuration instance monitoring property
-
-
Sample:
-
{'Enabled': False}
- +
Launch Configuration instance monitoring property
+
+
Sample:
+
{'Enabled': False}
+ - - + +
instance_type
string -
- + + when Launch Configuration was found -
Type of ec2 instance
-
-
Sample:
-
t2.small
- +
Type of ec2 instance
+
+
Sample:
+
t2.small
+ - - + +
kernel_id
string -
- + + when Launch Configuration was found -
Launch Configuration kernel to use
-
- +
Launch Configuration kernel to use
+
+ - - + +
keyname
string -
- + + when Launch Configuration was found -
Launch Configuration ssh key
-
-
Sample:
-
mykey
- +
Launch Configuration ssh key
+
+
Sample:
+
mykey
+ - - + +
name
string -
- + + when Launch Configuration was found -
Name of the Launch Configuration
-
-
Sample:
-
myapp-v123
- +
Name of the Launch Configuration
+
+
Sample:
+
myapp-v123
+ - - + +
ram_disk_id
string -
- + + when Launch Configuration was found -
Launch Configuration ram disk property
-
- +
Launch Configuration ram disk property
+
+ - - + +
security_groups
list -
- + + when Launch Configuration was found -
Launch Configuration security groups
-
- +
Launch Configuration security groups
+
+ - - + +
user_data
string -
- + + when Launch Configuration was found -
User data used to start instance
-
-
Sample:
-
ZXhwb3J0IENMT1VE
- +
User data used to start instance
+
+
Sample:
+
ZXhwb3J0IENMT1VE
+ - +

@@ -542,5 +559,3 @@ Authors ~~~~~~~ - Jose Armesto (@fiunchinho) - - diff --git a/docs/community.aws.ec2_lc_info_module.rst b/docs/community.aws.ec2_lc_info_module.rst index 0d9504ece83..b9691bb00e2 100644 --- a/docs/community.aws.ec2_lc_info_module.rst +++ b/docs/community.aws.ec2_lc_info_module.rst @@ -37,253 +37,272 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
list - / elements=string
-
- Default:
[]
-
-
A name or a list of name to match.
-
+ Default:
[]
+
+
A name or a list of name to match.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
sort
string -
-
-
    Choices: -
  • launch_configuration_name
  • -
  • image_id
  • -
  • created_time
  • -
  • instance_type
  • -
  • kernel_id
  • -
  • ramdisk_id
  • -
  • key_name
  • -
-
-
Optional attribute which with to sort the results.
-
+
    Choices: +
  • launch_configuration_name
  • +
  • image_id
  • +
  • created_time
  • +
  • instance_type
  • +
  • kernel_id
  • +
  • ramdisk_id
  • +
  • key_name
  • +
+
+
Optional attribute which with to sort the results.
+
+
sort_end
integer -
-
- -
Which result to end with (when sorting).
-
Corresponds to Python slice notation.
-
+ +
Which result to end with (when sorting).
+
Corresponds to Python slice notation.
+
+
sort_order
string -
-
-
    Choices: -
  • ascending ←
  • -
  • descending
  • -
-
-
Order in which to sort results.
-
Only used when the 'sort' parameter is specified.
-
+
    Choices: +
  • ascending ←
  • +
  • descending
  • +
+
+
Order in which to sort results.
+
Only used when the 'sort' parameter is specified.
+
+
sort_start
integer -
-
- -
Which result to start with (when sorting).
-
Corresponds to Python slice notation.
-
+ +
Which result to start with (when sorting).
+
Corresponds to Python slice notation.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -291,7 +310,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -302,7 +321,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all launch configurations @@ -319,7 +337,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -332,237 +349,237 @@ Common return values are documented `here Returned Description - - + +
block_device_mapping
list -
- + + always -
Block device mapping for the instances of launch configuration
-
-
Sample:
-
[{ 'device_name': '/dev/xvda':, 'ebs': { 'delete_on_termination': true, 'volume_size': 8, 'volume_type': 'gp2' }]
- +
Block device mapping for the instances of launch configuration
+
+
Sample:
+
[{ 'device_name': '/dev/xvda':, 'ebs': { 'delete_on_termination': true, 'volume_size': 8, 'volume_type': 'gp2' }]
+ - - + +
classic_link_vpc_security_groups
string -
- + + always -
IDs of one or more security groups for the VPC specified in classic_link_vpc_id
-
- +
IDs of one or more security groups for the VPC specified in classic_link_vpc_id
+
+ - - + +
created_time
string -
- + + always -
The creation date and time for the launch configuration
-
-
Sample:
-
2016-05-27T13:47:44.216000+00:00
- +
The creation date and time for the launch configuration
+
+
Sample:
+
2016-05-27T13:47:44.216000+00:00
+ - - + +
ebs_optimized
boolean -
- + + always -
EBS I/O optimized (true ) or not (false )
-
-
Sample:
-
true,
- +
EBS I/O optimized (true ) or not (false )
+
+
Sample:
+
true,
+ - - + +
image_id
string -
- + + always -
ID of the Amazon Machine Image (AMI)
-
-
Sample:
-
ami-12345678
- +
ID of the Amazon Machine Image (AMI)
+
+
Sample:
+
ami-12345678
+ - - + +
instance_monitoring
dictionary -
- + + always -
Launched with detailed monitoring or not
-
-
Sample:
-
{ 'enabled': true }
- +
Launched with detailed monitoring or not
+
+
Sample:
+
{ 'enabled': true }
+ - - + +
instance_type
string -
- + + always -
Instance type
-
-
Sample:
-
t2.micro
- +
Instance type
+
+
Sample:
+
t2.micro
+ - - + +
kernel_id
string -
- + + always -
ID of the kernel associated with the AMI
-
- +
ID of the kernel associated with the AMI
+
+ - - + +
key_name
string -
- + + always -
Name of the key pair
-
-
Sample:
-
user_app
- +
Name of the key pair
+
+
Sample:
+
user_app
+ - - + +
launch_configuration_arn
string -
- + + always -
Amazon Resource Name (ARN) of the launch configuration
-
-
Sample:
-
arn:aws:autoscaling:us-east-1:666612345678:launchConfiguration:ba785e3a-dd42-6f02-4585-ea1a2b458b3d:launchConfigurationName/lc-app
- +
Amazon Resource Name (ARN) of the launch configuration
+
+
Sample:
+
arn:aws:autoscaling:us-east-1:666612345678:launchConfiguration:ba785e3a-dd42-6f02-4585-ea1a2b458b3d:launchConfigurationName/lc-app
+ - - + +
launch_configuration_name
string -
- + + always -
Name of the launch configuration
-
-
Sample:
-
lc-app
- +
Name of the launch configuration
+
+
Sample:
+
lc-app
+ - - + +
ramdisk_id
string -
- + + always -
ID of the RAM disk associated with the AMI
-
- +
ID of the RAM disk associated with the AMI
+
+ - - + +
security_groups
list -
- + + always -
Security groups to associated
-
-
Sample:
-
[ 'web' ]
- +
Security groups to associated
+
+
Sample:
+
[ 'web' ]
+ - - + +
user_data
string -
- + + always -
User data available
-
- +
User data available
+
+ - +

@@ -574,5 +591,3 @@ Authors ~~~~~~~ - Loïc Latreille (@psykotox) - - diff --git a/docs/community.aws.ec2_lc_module.rst b/docs/community.aws.ec2_lc_module.rst index 20e22f690dc..c72e37d26d7 100644 --- a/docs/community.aws.ec2_lc_module.rst +++ b/docs/community.aws.ec2_lc_module.rst @@ -37,681 +37,700 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
assign_public_ip
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud. Specifies whether to assign a public IP address to each instance launched in a Amazon VPC.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud. Specifies whether to assign a public IP address to each instance launched in a Amazon VPC.
+
+
associate_public_ip_address
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
The associate_public_ip_address option does nothing and will be removed after 2022-06-01
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
The associate_public_ip_address option does nothing and will be removed after 2022-06-01
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
classic_link_vpc_id
string -
-
- -
Id of ClassicLink enabled VPC
-
+ +
Id of ClassicLink enabled VPC
+
+
classic_link_vpc_security_groups
list - / elements=string
-
- -
A list of security group IDs with which to associate the ClassicLink VPC instances.
-
+ +
A list of security group IDs with which to associate the ClassicLink VPC instances.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ebs_optimized
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specifies whether the instance is optimized for EBS I/O (true) or not (false).
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specifies whether the instance is optimized for EBS I/O (true) or not (false).
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
image_id
string -
-
- -
The AMI unique identifier to be used for the group.
-
+ +
The AMI unique identifier to be used for the group.
+
+
instance_id
string -
-
- -
The Id of a running instance to use as a basis for a launch configuration. Can be used in place of image_id and instance_type.
-
+ +
The Id of a running instance to use as a basis for a launch configuration. Can be used in place of image_id and instance_type.
+
+
instance_monitoring
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Specifies whether instances are launched with detailed monitoring.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Specifies whether instances are launched with detailed monitoring.
+
+
instance_profile_name
string -
-
- -
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instances.
-
+ +
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instances.
+
+
instance_type
string -
-
- -
Instance type to use for the instance.
-
Required when creating a new Launch Configuration.
-
+ +
Instance type to use for the instance.
+
Required when creating a new Launch Configuration.
+
+
kernel_id
string -
-
- -
Kernel id for the EC2 instance.
-
+ +
Kernel id for the EC2 instance.
+
+
key_name
string -
-
- -
The SSH key name to be used for access to managed instances.
-
+ +
The SSH key name to be used for access to managed instances.
+
+
name
string - / required
-
- -
Unique name for configuration.
-
+ +
Unique name for configuration.
+
+
placement_tenancy
string -
-
-
    Choices: -
  • default
  • -
  • dedicated
  • -
-
-
Determines whether the instance runs on single-tenant hardware or not.
-
When not set AWS will default to default.
-
+
    Choices: +
  • default
  • +
  • dedicated
  • +
+
+
Determines whether the instance runs on single-tenant hardware or not.
+
When not set AWS will default to default.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
ramdisk_id
string -
-
- -
A RAM disk id for the instances.
-
+ +
A RAM disk id for the instances.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_groups
list - / elements=string
-
- -
A list of security groups to apply to the instances. Since version 2.4 you can specify either security group names or IDs or a mix. Previous to 2.4, for VPC instances, specify security group IDs and for EC2-Classic, specify either security group names or IDs.
-
+ +
A list of security groups to apply to the instances. Since version 2.4 you can specify either security group names or IDs or a mix. Previous to 2.4, for VPC instances, specify security group IDs and for EC2-Classic, specify either security group names or IDs.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
spot_price
float -
-
- -
The spot price you are bidding. Only applies for an autoscaling group with spot instances.
-
+ +
The spot price you are bidding. Only applies for an autoscaling group with spot instances.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Register or deregister the instance.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Register or deregister the instance.
+
+
user_data
string -
-
- -
Opaque blob of data which is made available to the ec2 instance. Mutually exclusive with user_data_path.
-
+ +
Opaque blob of data which is made available to the ec2 instance. Mutually exclusive with user_data_path.
+
+
user_data_path
path -
-
- -
Path to the file that contains userdata for the ec2 instances. Mutually exclusive with user_data.
-
+ +
Path to the file that contains userdata for the ec2 instances. Mutually exclusive with user_data.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
volumes
list - / elements=dictionary
-
- -
A list dictionaries defining the volumes to create.
-
For any volume, a volume size less than 1 will be interpreted as a request not to create the volume.
-
+ / elements=dictionary + + +
A list dictionaries defining the volumes to create.
+
For any volume, a volume size less than 1 will be interpreted as a request not to create the volume.
+
delete_on_termination
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether the volume should be automatically deleted when the instance is terminated.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether the volume should be automatically deleted when the instance is terminated.
+
+
device_name
string - / required
-
- -
The name for the volume (For example /dev/sda).
-
+ +
The name for the volume (For example /dev/sda).
+
+
encrypted
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether the volume should be encrypted using the 'aws/ebs' KMS CMK.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether the volume should be encrypted using the 'aws/ebs' KMS CMK.
+
+
ephemeral
string -
-
- -
Whether the volume should be ephemeral.
-
Data on ephemeral volumes is lost when the instance is stopped.
-
Mutually exclusive with the snapshot parameter.
-
+ + + +
Whether the volume should be ephemeral.
+
Data on ephemeral volumes is lost when the instance is stopped.
+
Mutually exclusive with the snapshot parameter.
+
iops
integer -
-
- -
The number of IOPS per second to provision for the volume.
-
Required when volume_type=io1.
-
+ +
The number of IOPS per second to provision for the volume.
+
Required when volume_type=io1.
+
+
no_device
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
When no_device=true the device will not be created.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
When no_device=true the device will not be created.
+
+
snapshot
string -
-
- -
The ID of an EBS snapshot to copy when creating the volume.
-
Mutually exclusive with the ephemeral parameter.
-
+ +
The ID of an EBS snapshot to copy when creating the volume.
+
Mutually exclusive with the ephemeral parameter.
+
+
volume_size
integer -
-
- -
The size of the volume (in GiB).
-
Required unless one of ephemeral, snapshot or no_device is set.
-
+ +
The size of the volume (in GiB).
+
Required unless one of ephemeral, snapshot or no_device is set.
+
+
volume_type
string -
-
- -
The type of volume to create.
-
See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html for more information on the available volume types.
-
+ + + +
The type of volume to create.
+
See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html for more information on the available volume types.
+
vpc_id
string -
-
- -
VPC ID, used when resolving security group names to IDs.
-
+ + + + + +
VPC ID, used when resolving security group names to IDs.
+ + +
@@ -721,7 +740,7 @@ Notes .. note:: - Amazon ASG Autoscaling Launch Configurations are immutable once created, so modifying the configuration after it is changed will not modify the launch configuration on AWS. You must create a new config and assign it to the ASG instead. - encrypted volumes are supported on versions >= 2.4 - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -732,8 +751,6 @@ Examples .. code-block:: yaml+jinja - - # create a launch configuration using an AMI image and instance type as a basis - name: note that encrypted volumes are only supported in >= Ansible 2.4 @@ -780,7 +797,7 @@ Examples - name: Use EBS snapshot ID for volume block: - name: Set Volume Facts - set_fact: + ansible.builtin.set_fact: volumes: - device_name: /dev/sda1 volume_size: 20 @@ -803,7 +820,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -816,643 +832,643 @@ Common return values are documented `here Returned Description - - + +
arn
string -
- + + when state=present -
The Amazon Resource Name of the launch configuration.
-
-
Sample:
-
arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name
- - - - +
The Amazon Resource Name of the launch configuration.
+
+
Sample:
+
arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name
+ + + +
changed
boolean -
- + + always -
Whether the state of the launch configuration has changed.
-
- +
Whether the state of the launch configuration has changed.
+
+ - - + +
created_time
string -
- + + when state=present -
The creation date and time for the launch configuration.
-
-
Sample:
-
2017-11-03 23:46:44.841000
- - - - +
The creation date and time for the launch configuration.
+
+
Sample:
+
2017-11-03 23:46:44.841000
+ + + +
image_id
string -
- + + when state=present -
The ID of the Amazon Machine Image used by the launch configuration.
-
-
Sample:
-
ami-9be6f38c
- - - - +
The ID of the Amazon Machine Image used by the launch configuration.
+
+
Sample:
+
ami-9be6f38c
+ + + +
instance_type
string -
- + + when state=present -
The instance type for the instances.
-
-
Sample:
-
t1.micro
- - - - +
The instance type for the instances.
+
+
Sample:
+
t1.micro
+ + + +
name
string -
- + + when state=present -
The name of the launch configuration.
-
-
Sample:
-
launch_config_name
- - - - +
The name of the launch configuration.
+
+
Sample:
+
launch_config_name
+ + + +
result
complex -
- + + when state=present -
The specification details for the launch configuration.
-
- +
The specification details for the launch configuration.
+
+ - -   - + +   +
associate_public_ip_address
boolean -
- + + when state=present -
(EC2-VPC) Indicates whether to assign a public IP address to each instance.
-
- +
(EC2-VPC) Indicates whether to assign a public IP address to each instance.
+
+ - -   - + +   +
block_device_mappings
complex -
- + + when state=present -
A block device mapping, which specifies the block devices.
-
- +
A block device mapping, which specifies the block devices.
+
+ - -   -   - + +   +   +
device_name
string -
- + + when state=present -
The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).
-
-
Sample:
-
/dev/sda1
- - - -   -   - +
The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).
+
+
Sample:
+
/dev/sda1
+ + + +   +   +
ebs
complex -
- + + when state=present -
The information about the Amazon EBS volume.
-
- +
The information about the Amazon EBS volume.
+
+ - -   -   -   - + +   +   +   +
snapshot_id
string -
- + + when state=present -
The ID of the snapshot.
-
- - - -   -   -   - +
The ID of the snapshot.
+
+ + + +   +   +   +
volume_size
string -
- + + when state=present -
The volume size, in GiB.
-
-
Sample:
-
100
- - - - -   -   - +
The volume size, in GiB.
+
+
Sample:
+
100
+ + + + +   +   +
virtual_name
string -
- + + when state=present -
The name of the virtual device (for example, ephemeral0).
-
-
Sample:
-
ephemeral0
- +
The name of the virtual device (for example, ephemeral0).
+
+
Sample:
+
ephemeral0
+ - - -   - + + +   +
classic_link_vpc_id
string -
- + + when state=present -
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.
-
- +
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.
+
+ - -   - + +   +
classic_link_vpc_security_groups
list -
- + + when state=present -
The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId.
-
- +
The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId.
+
+ - -   - + +   +
created_time
string -
- + + when state=present -
The creation date and time for the launch configuration.
-
-
Sample:
-
2017-11-03 23:46:44.841000
- - - -   - +
The creation date and time for the launch configuration.
+
+
Sample:
+
2017-11-03 23:46:44.841000
+ + + +   +
delete_on_termination
boolean -
- + + when state=present -
Indicates whether the volume is deleted on instance termination.
-
-
Sample:
-
True
- - - -   - +
Indicates whether the volume is deleted on instance termination.
+
+
Sample:
+
True
+ + + +   +
ebs_optimized
boolean -
- + + when state=present -
Indicates whether the instance is optimized for EBS I/O (true) or not (false).
-
- +
Indicates whether the instance is optimized for EBS I/O (true) or not (false).
+
+ - -   - + +   +
image_id
string -
- + + when state=present -
The ID of the Amazon Machine Image used by the launch configuration.
-
-
Sample:
-
ami-9be6f38c
- - - -   - +
The ID of the Amazon Machine Image used by the launch configuration.
+
+
Sample:
+
ami-9be6f38c
+ + + +   +
instance_monitoring
boolean -
- + + when state=present -
Indicates whether instances in this group are launched with detailed (true) or basic (false) monitoring.
-
-
Sample:
-
True
- - - -   - +
Indicates whether instances in this group are launched with detailed (true) or basic (false) monitoring.
+
+
Sample:
+
True
+ + + +   +
instance_profile_name
string -
- + + when state=present -
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
-
- +
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
+
+ - -   - + +   +
instance_type
string -
- + + when state=present -
The instance type for the instances.
-
-
Sample:
-
t1.micro
- - - -   - +
The instance type for the instances.
+
+
Sample:
+
t1.micro
+ + + +   +
iops
integer -
- + + when state=present -
The number of I/O operations per second (IOPS) to provision for the volume.
-
- +
The number of I/O operations per second (IOPS) to provision for the volume.
+
+ - -   - + +   +
kernel_id
string -
- + + when state=present -
The ID of the kernel associated with the AMI.
-
- +
The ID of the kernel associated with the AMI.
+
+ - -   - + +   +
key_name
string -
- + + when state=present -
The name of the key pair.
-
-
Sample:
-
testkey
- - - -   - +
The name of the key pair.
+
+
Sample:
+
testkey
+ + + +   +
launch_configuration_arn
string -
- + + when state=present -
The Amazon Resource Name (ARN) of the launch configuration.
-
-
Sample:
-
arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name
- - - -   - +
The Amazon Resource Name (ARN) of the launch configuration.
+
+
Sample:
+
arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name
+ + + +   +
member
string -
- + + when state=present -
-
-
Sample:
-
- - - -   - +
+
+
Sample:
+
+ + + +   +
name
string -
- + + when state=present -
The name of the launch configuration.
-
-
Sample:
-
launch_config_name
- - - -   - +
The name of the launch configuration.
+
+
Sample:
+
launch_config_name
+ + + +   +
PlacementTenancy
string -
- + + when state=present -
The tenancy of the instances, either default or dedicated.
-
-
Sample:
-
default
- - - -   - +
The tenancy of the instances, either default or dedicated.
+
+
Sample:
+
default
+ + + +   +
ramdisk_id
string -
- + + when state=present -
The ID of the RAM disk associated with the AMI.
-
- +
The ID of the RAM disk associated with the AMI.
+
+ - -   - + +   +
security_groups
list -
- + + when state=present -
The security groups to associate with the instances.
-
-
Sample:
-
['sg-5e27db2f']
- - - -   - +
The security groups to associate with the instances.
+
+
Sample:
+
['sg-5e27db2f']
+ + + +   +
spot_price
float -
- + + when state=present -
The price to bid when launching Spot Instances.
-
- +
The price to bid when launching Spot Instances.
+
+ - -   - + +   +
use_block_device_types
boolean -
- + + when state=present -
Indicates whether to suppress a device mapping.
-
- +
Indicates whether to suppress a device mapping.
+
+ - -   - + +   +
user_data
string -
- + + when state=present -
The user data available to the instances.
-
- +
The user data available to the instances.
+
+ - -   - + +   +
volume_type
string -
- + + when state=present -
The volume type (one of standard, io1, gp2).
-
-
Sample:
-
io1
- +
The volume type (one of standard, io1, gp2).
+
+
Sample:
+
io1
+ - - - + + +
security_groups
list -
- + + when state=present -
The security groups to associate with the instances.
-
-
Sample:
-
['sg-5e27db2f']
- +
The security groups to associate with the instances.
+
+
Sample:
+
['sg-5e27db2f']
+ - +

@@ -1465,5 +1481,3 @@ Authors - Gareth Rushgrove (@garethr) - Willem van Ketwich (@wilvk) - - diff --git a/docs/community.aws.ec2_metric_alarm_module.rst b/docs/community.aws.ec2_metric_alarm_module.rst index bb16941d1ab..547c74d9bf8 100644 --- a/docs/community.aws.ec2_metric_alarm_module.rst +++ b/docs/community.aws.ec2_metric_alarm_module.rst @@ -36,462 +36,481 @@ Parameters .. raw:: html - + - + - - + - - + / elements=string + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
alarm_actions
list - / elements=string
-
- -
A list of the names action(s) taken when the alarm is in the alarm status, denoted as Amazon Resource Name(s).
-
+ +
A list of the names action(s) taken when the alarm is in the alarm status, denoted as Amazon Resource Name(s).
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
comparison
string -
-
-
    Choices: -
  • GreaterThanOrEqualToThreshold
  • -
  • GreaterThanThreshold
  • -
  • LessThanThreshold
  • -
  • LessThanOrEqualToThreshold
  • -
  • <=
  • -
  • <
  • -
  • >=
  • -
  • >
  • -
-
-
Determines how the threshold value is compared
-
Symbolic comparison operators have been deprecated, and will be removed after 2022-06-22.
-
+
    Choices: +
  • GreaterThanOrEqualToThreshold
  • +
  • GreaterThanThreshold
  • +
  • LessThanThreshold
  • +
  • LessThanOrEqualToThreshold
  • +
  • <=
  • +
  • <
  • +
  • >=
  • +
  • >
  • +
+
+
Determines how the threshold value is compared
+
Symbolic comparison operators have been deprecated, and will be removed after 2022-06-22.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A longer description of the alarm.
-
+ +
A longer description of the alarm.
+
+
dimensions
dictionary -
-
- -
A dictionary describing which metric the alarm is applied to.
-
For more information see the AWS documentation:
- -
+ +
A dictionary describing which metric the alarm is applied to.
+
For more information see the AWS documentation:
+ +
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
evaluation_periods
integer -
-
- -
The number of times in which the metric is evaluated before final calculation.
-
+ +
The number of times in which the metric is evaluated before final calculation.
+
+
insufficient_data_actions
list - / elements=string
-
- -
A list of the names of action(s) to take when the alarm is in the insufficient_data status.
-
+ +
A list of the names of action(s) to take when the alarm is in the insufficient_data status.
+
+
metric
string -
-
- -
Name of the monitored metric (e.g. CPUUtilization).
-
Metric must already exist.
-
+ +
Name of the monitored metric (e.g. CPUUtilization).
+
Metric must already exist.
+
+
name
string - / required
-
- -
Unique name for the alarm.
-
+ +
Unique name for the alarm.
+
+
namespace
string -
-
- -
Name of the appropriate namespace (AWS/EC2, System/Linux, etc.), which determines the category it will appear under in cloudwatch.
-
+ +
Name of the appropriate namespace (AWS/EC2, System/Linux, etc.), which determines the category it will appear under in cloudwatch.
+
+
ok_actions
list - / elements=string
-
- -
A list of the names of action(s) to take when the alarm is in the ok status, denoted as Amazon Resource Name(s).
-
+ +
A list of the names of action(s) to take when the alarm is in the ok status, denoted as Amazon Resource Name(s).
+
+
period
integer -
-
- -
The time (in seconds) between metric evaluations.
-
+ +
The time (in seconds) between metric evaluations.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Register or deregister the alarm.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Register or deregister the alarm.
+
+
statistic
string -
-
-
    Choices: -
  • SampleCount
  • -
  • Average
  • -
  • Sum
  • -
  • Minimum
  • -
  • Maximum
  • -
-
-
Operation applied to the metric.
-
Works in conjunction with period and evaluation_periods to determine the comparison value.
-
+
    Choices: +
  • SampleCount
  • +
  • Average
  • +
  • Sum
  • +
  • Minimum
  • +
  • Maximum
  • +
+
+
Operation applied to the metric.
+
Works in conjunction with period and evaluation_periods to determine the comparison value.
+
+
threshold
float -
-
- -
Sets the min/max bound for triggering the alarm.
-
+ +
Sets the min/max bound for triggering the alarm.
+
+
treat_missing_data
string -
-
-
    Choices: -
  • breaching
  • -
  • notBreaching
  • -
  • ignore
  • -
  • missing ←
  • -
-
-
Sets how the alarm handles missing data points.
-
+
    Choices: +
  • breaching
  • +
  • notBreaching
  • +
  • ignore
  • +
  • missing ←
  • +
+
+
Sets how the alarm handles missing data points.
+
+
unit
string -
-
-
    Choices: -
  • Seconds
  • -
  • Microseconds
  • -
  • Milliseconds
  • -
  • Bytes
  • -
  • Kilobytes
  • -
  • Megabytes
  • -
  • Gigabytes
  • -
  • Terabytes
  • -
  • Bits
  • -
  • Kilobits
  • -
  • Megabits
  • -
  • Gigabits
  • -
  • Terabits
  • -
  • Percent
  • -
  • Count
  • -
  • Bytes/Second
  • -
  • Kilobytes/Second
  • -
  • Megabytes/Second
  • -
  • Gigabytes/Second
  • -
  • Terabytes/Second
  • -
  • Bits/Second
  • -
  • Kilobits/Second
  • -
  • Megabits/Second
  • -
  • Gigabits/Second
  • -
  • Terabits/Second
  • -
  • Count/Second
  • -
  • None
  • -
-
-
The threshold's unit of measurement.
-
+
    Choices: +
  • Seconds
  • +
  • Microseconds
  • +
  • Milliseconds
  • +
  • Bytes
  • +
  • Kilobytes
  • +
  • Megabytes
  • +
  • Gigabytes
  • +
  • Terabytes
  • +
  • Bits
  • +
  • Kilobits
  • +
  • Megabits
  • +
  • Gigabits
  • +
  • Terabits
  • +
  • Percent
  • +
  • Count
  • +
  • Bytes/Second
  • +
  • Kilobytes/Second
  • +
  • Megabytes/Second
  • +
  • Gigabytes/Second
  • +
  • Terabytes/Second
  • +
  • Bits/Second
  • +
  • Kilobits/Second
  • +
  • Megabits/Second
  • +
  • Gigabits/Second
  • +
  • Terabits/Second
  • +
  • Count/Second
  • +
  • None
  • +
+
+
The threshold's unit of measurement.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -499,7 +518,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -510,8 +529,7 @@ Examples .. code-block:: yaml+jinja - - - name: create alarm + - name: create alarm community.aws.ec2_metric_alarm: state: present region: ap-southeast-2 @@ -548,8 +566,6 @@ Examples - - Status ------ @@ -558,5 +574,3 @@ Authors ~~~~~~~ - Zacharie Eakin (@Zeekin) - - diff --git a/docs/community.aws.ec2_placement_group_info_module.rst b/docs/community.aws.ec2_placement_group_info_module.rst index 88f9cc5d02a..43407b43c14 100644 --- a/docs/community.aws.ec2_placement_group_info_module.rst +++ b/docs/community.aws.ec2_placement_group_info_module.rst @@ -36,177 +36,196 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
names
list - / elements=string
-
- Default:
[]
-
-
A list of names to filter on. If a listed group does not exist, there will be no corresponding entry in the result; no error will be raised.
-
+ Default:
[]
+
+
A list of names to filter on. If a listed group does not exist, there will be no corresponding entry in the result; no error will be raised.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -214,7 +233,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -225,7 +244,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details or the AWS region, # see the AWS Guide for details. @@ -240,13 +258,11 @@ Examples - my-other-cluster register: specific_ec2_placement_groups - - debug: + - ansible.builtin.debug: msg: "{{ specific_ec2_placement_groups | json_query(\"[?name=='my-cluster']\") }}" - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -259,77 +275,77 @@ Common return values are documented `here Returned Description - - + +
placement_groups
complex -
- + + always -
Placement group attributes
-
- +
Placement group attributes
+
+ - -   - + +   +
name
string -
- + + -
PG name
-
-
Sample:
-
my-cluster
- +
PG name
+
+
Sample:
+
my-cluster
+ - -   - + +   +
state
string -
- + + -
PG state
-
-
Sample:
-
available
- +
PG state
+
+
Sample:
+
available
+ - -   - + +   +
strategy
string -
- + + -
PG strategy
-
-
Sample:
-
cluster
- +
PG strategy
+
+
Sample:
+
cluster
+ - - + +

@@ -341,5 +357,3 @@ Authors ~~~~~~~ - Brad Macpherson (@iiibrad) - - diff --git a/docs/community.aws.ec2_placement_group_module.rst b/docs/community.aws.ec2_placement_group_module.rst index 6170c36a7e1..1a96c08bfe0 100644 --- a/docs/community.aws.ec2_placement_group_module.rst +++ b/docs/community.aws.ec2_placement_group_module.rst @@ -35,214 +35,233 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name for the placement group.
-
+ +
The name for the placement group.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete placement group.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete placement group.
+
+
strategy
string -
-
-
    Choices: -
  • cluster ←
  • -
  • spread
  • -
-
-
Placement group strategy. Cluster will cluster instances into a low-latency group in a single Availability Zone, while Spread spreads instances across underlying hardware.
-
+
    Choices: +
  • cluster ←
  • +
  • spread
  • +
+
+
Placement group strategy. Cluster will cluster instances into a low-latency group in a single Availability Zone, while Spread spreads instances across underlying hardware.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -250,7 +269,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -261,7 +280,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide # for details. @@ -283,8 +301,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -297,77 +313,77 @@ Common return values are documented `here Returned Description - - + +
placement_group
complex -
- + + when state != absent -
Placement group attributes
-
- +
Placement group attributes
+
+ - -   - + +   +
name
string -
- + + -
PG name
-
-
Sample:
-
my-cluster
- +
PG name
+
+
Sample:
+
my-cluster
+ - -   - + +   +
state
string -
- + + -
PG state
-
-
Sample:
-
available
- +
PG state
+
+
Sample:
+
available
+ - -   - + +   +
strategy
string -
- + + -
PG strategy
-
-
Sample:
-
cluster
- +
PG strategy
+
+
Sample:
+
cluster
+ - - + +

@@ -379,5 +395,3 @@ Authors ~~~~~~~ - Brad Macpherson (@iiibrad) - - diff --git a/docs/community.aws.ec2_scaling_policy_module.rst b/docs/community.aws.ec2_scaling_policy_module.rst index 06bca9d7550..ae3a92357be 100644 --- a/docs/community.aws.ec2_scaling_policy_module.rst +++ b/docs/community.aws.ec2_scaling_policy_module.rst @@ -36,275 +36,294 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
adjustment_type
string -
-
-
    Choices: -
  • ChangeInCapacity
  • -
  • ExactCapacity
  • -
  • PercentChangeInCapacity
  • -
-
-
The type of change in capacity of the autoscaling group.
-
+
    Choices: +
  • ChangeInCapacity
  • +
  • ExactCapacity
  • +
  • PercentChangeInCapacity
  • +
+
+
The type of change in capacity of the autoscaling group.
+
+
asg_name
string - / required
-
- -
Name of the associated autoscaling group.
-
+ +
Name of the associated autoscaling group.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cooldown
integer -
-
- -
The minimum period of time (in seconds) between which autoscaling actions can take place.
-
+ +
The minimum period of time (in seconds) between which autoscaling actions can take place.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
min_adjustment_step
integer -
-
- -
Minimum amount of adjustment when policy is triggered.
-
+ +
Minimum amount of adjustment when policy is triggered.
+
+
name
string - / required
-
- -
Unique name for the scaling policy.
-
+ +
Unique name for the scaling policy.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
scaling_adjustment
integer -
-
- -
The amount by which the autoscaling group is adjusted by the policy.
-
+ +
The amount by which the autoscaling group is adjusted by the policy.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Register or deregister the policy.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Register or deregister the policy.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -312,7 +331,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -323,7 +342,6 @@ Examples .. code-block:: yaml+jinja - - community.aws.ec2_scaling_policy: state: present region: US-XXX @@ -337,7 +355,6 @@ Examples - Status ------ @@ -346,5 +363,3 @@ Authors ~~~~~~~ - Zacharie Eakin (@Zeekin) - - diff --git a/docs/community.aws.ec2_snapshot_copy_module.rst b/docs/community.aws.ec2_snapshot_copy_module.rst index b62f92cc791..99e9a456acf 100644 --- a/docs/community.aws.ec2_snapshot_copy_module.rst +++ b/docs/community.aws.ec2_snapshot_copy_module.rst @@ -36,290 +36,309 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
An optional human-readable string describing purpose of the new Snapshot.
-
+ +
An optional human-readable string describing purpose of the new Snapshot.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
encrypted
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not the destination Snapshot should be encrypted.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not the destination Snapshot should be encrypted.
+
+
kms_key_id
string -
-
- -
KMS key id used to encrypt snapshot. If not specified, AWS defaults to alias/aws/ebs.
-
+ +
KMS key id used to encrypt snapshot. If not specified, AWS defaults to alias/aws/ebs.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
source_region
string - / required
-
- -
The source region the Snapshot should be copied from.
-
+ +
The source region the Snapshot should be copied from.
+
+
source_snapshot_id
string - / required
-
- -
The ID of the Snapshot in source region that should be copied.
-
+ +
The ID of the Snapshot in source region that should be copied.
+
+
tags
dictionary -
-
- -
A hash/dictionary of tags to add to the new Snapshot; '{"key":"value"}' and '{"key":"value","key":"value"}'
-
+ +
A hash/dictionary of tags to add to the new Snapshot; '{"key":"value"}' and '{"key":"value","key":"value"}'
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Wait for the copied Snapshot to be in 'Available' state before returning.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Wait for the copied Snapshot to be in 'Available' state before returning.
+
+
wait_timeout
integer -
-
- Default:
600
-
-
How long before wait gives up, in seconds.
-
+ Default:
600
+
+
How long before wait gives up, in seconds.
+
+
@@ -327,7 +346,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -338,7 +357,6 @@ Examples .. code-block:: yaml+jinja - - name: Basic Snapshot Copy community.aws.ec2_snapshot_copy: source_region: eu-central-1 @@ -379,7 +397,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -392,24 +409,24 @@ Common return values are documented `here Returned Description - - + +
snapshot_id
string -
- + + when snapshot copy is successful -
snapshot id of the newly created snapshot
-
-
Sample:
-
snap-e9095e8c
- +
snapshot id of the newly created snapshot
+
+
Sample:
+
snap-e9095e8c
+ - +

@@ -421,5 +438,3 @@ Authors ~~~~~~~ - Deepak Kothandan (@Deepakkothandan) - - diff --git a/docs/community.aws.ec2_transit_gateway_info_module.rst b/docs/community.aws.ec2_transit_gateway_info_module.rst index 33a44105ca3..cf17e520a9c 100644 --- a/docs/community.aws.ec2_transit_gateway_info_module.rst +++ b/docs/community.aws.ec2_transit_gateway_info_module.rst @@ -37,192 +37,211 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html for filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html for filters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
transit_gateway_ids
list -
-
- -
A list of transit gateway IDs to gather information for.
-

aliases: transit_gateway_id
-
+ +
A list of transit gateway IDs to gather information for.
+

aliases: transit_gateway_id
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -230,7 +249,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -241,7 +260,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather info about all transit gateways @@ -266,7 +284,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -279,318 +296,318 @@ Common return values are documented `here Returned Description - - + +
transit_gateways
complex -
- + + on success -
Transit gateways that match the provided filters. Each element consists of a dict with all the information related to that transit gateway.
-
- +
Transit gateways that match the provided filters. Each element consists of a dict with all the information related to that transit gateway.
+
+ - -   - + +   +
creation_time
string -
- + + always -
The creation time.
-
-
Sample:
-
2019-02-05T16:19:58+00:00
- +
The creation time.
+
+
Sample:
+
2019-02-05T16:19:58+00:00
+ - -   - + +   +
description
string -
- + + always -
The description of the transit gateway.
-
-
Sample:
-
A transit gateway
- +
The description of the transit gateway.
+
+
Sample:
+
A transit gateway
+ - -   - + +   +
options
complex -
- + + always -
A dictionary of the transit gateway options.
-
- +
A dictionary of the transit gateway options.
+
+ - -   -   - + +   +   +
amazon_side_asn
integer -
- + + always -
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
-
-
Sample:
-
64512
- +
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
+
+
Sample:
+
64512
+ - -   -   - + +   +   +
association_default_route_table_id
string -
- + + when present -
The ID of the default association route table.
-
-
Sample:
-
rtb-11223344
- +
The ID of the default association route table.
+
+
Sample:
+
rtb-11223344
+ - -   -   - + +   +   +
auto_accept_shared_attachments
string -
- + + always -
Indicates whether attachment requests are automatically accepted.
-
-
Sample:
-
enable
- +
Indicates whether attachment requests are automatically accepted.
+
+
Sample:
+
enable
+ - -   -   - + +   +   +
default_route_table_association
string -
- + + always -
Indicates whether resource attachments are automatically associated with the default association route table.
-
-
Sample:
-
disable
- +
Indicates whether resource attachments are automatically associated with the default association route table.
+
+
Sample:
+
disable
+ - -   -   - + +   +   +
default_route_table_propagation
string -
- + + always -
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
-
-
Sample:
-
disable
- +
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
+
+
Sample:
+
disable
+ - -   -   - + +   +   +
dns_support
string -
- + + always -
Indicates whether DNS support is enabled.
-
-
Sample:
-
enable
- +
Indicates whether DNS support is enabled.
+
+
Sample:
+
enable
+ - -   -   - + +   +   +
propagation_default_route_table_id
string -
- + + when present -
The ID of the default propagation route table.
-
-
Sample:
-
rtb-11223344
- +
The ID of the default propagation route table.
+
+
Sample:
+
rtb-11223344
+ - -   -   - + +   +   +
vpn_ecmp_support
string -
- + + always -
Indicates whether Equal Cost Multipath Protocol support is enabled.
-
-
Sample:
-
enable
- +
Indicates whether Equal Cost Multipath Protocol support is enabled.
+
+
Sample:
+
enable
+ - - -   - + + +   +
owner_id
string -
- + + always -
The AWS account number ID which owns the transit gateway.
-
-
Sample:
-
1234567654323
- +
The AWS account number ID which owns the transit gateway.
+
+
Sample:
+
1234567654323
+ - -   - + +   +
state
string -
- + + always -
The state of the transit gateway.
-
-
Sample:
-
available
- +
The state of the transit gateway.
+
+
Sample:
+
available
+ - -   - + +   +
tags
dictionary -
- + + always -
A dict of tags associated with the transit gateway.
-
-
Sample:
-
{ "Name": "A sample TGW" }
- +
A dict of tags associated with the transit gateway.
+
+
Sample:
+
{ "Name": "A sample TGW" }
+ - -   - + +   +
transit_gateway_arn
string -
- + + always -
The Amazon Resource Name (ARN) of the transit gateway.
-
-
Sample:
-
arn:aws:ec2:us-west-2:1234567654323:transit-gateway/tgw-02c42332e6b7da829
- +
The Amazon Resource Name (ARN) of the transit gateway.
+
+
Sample:
+
arn:aws:ec2:us-west-2:1234567654323:transit-gateway/tgw-02c42332e6b7da829
+ - -   - + +   +
transit_gateway_id
string -
- + + always -
The ID of the transit gateway.
-
-
Sample:
-
tgw-02c42332e6b7da829
- +
The ID of the transit gateway.
+
+
Sample:
+
tgw-02c42332e6b7da829
+ - - + +

@@ -602,5 +619,3 @@ Authors ~~~~~~~ - Bob Boldin (@BobBoldin) - - diff --git a/docs/community.aws.ec2_transit_gateway_module.rst b/docs/community.aws.ec2_transit_gateway_module.rst index 507be21f2ea..9cf7c9c958a 100644 --- a/docs/community.aws.ec2_transit_gateway_module.rst +++ b/docs/community.aws.ec2_transit_gateway_module.rst @@ -39,391 +39,410 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
asn
integer -
-
- -
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
-
The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
-
+ +
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
+
The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
+
+
auto_associate
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Enable or disable automatic association with the default association route table.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Enable or disable automatic association with the default association route table.
+
+
auto_attach
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Enable or disable automatic acceptance of attachment requests.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Enable or disable automatic acceptance of attachment requests.
+
+
auto_propagate
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Enable or disable automatic propagation of routes to the default propagation route table.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Enable or disable automatic propagation of routes to the default propagation route table.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
The description of the transit gateway.
-
+ +
The description of the transit gateway.
+
+
dns_support
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to enable AWS DNS support.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to enable AWS DNS support.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to purge existing tags not included with tags argument.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to purge existing tags not included with tags argument.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
present to ensure resource is created.
-
absent to remove resource.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
present to ensure resource is created.
+
absent to remove resource.
+
+
tags
dictionary -
-
- -
A dictionary of resource tags
-
+ +
A dictionary of resource tags
+
+
transit_gateway_id
string -
-
- -
The ID of the transit gateway.
-
+ +
The ID of the transit gateway.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpn_ecmp_support
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Enable or disable Equal Cost Multipath Protocol support.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Enable or disable Equal Cost Multipath Protocol support.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to wait for status
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to wait for status
+
+
wait_timeout
integer -
-
- Default:
300
-
-
number of seconds to wait for status
-
+ + + + Default:
300
+ + +
number of seconds to wait for status
+ + +
@@ -431,7 +450,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -442,7 +461,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a new transit gateway using defaults community.aws.ec2_transit_gateway: state: present @@ -479,7 +497,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -492,318 +509,318 @@ Common return values are documented `here Returned Description - - + +
transit_gateway
complex -
- + + state=present -
The attributes of the transit gateway.
-
- +
The attributes of the transit gateway.
+
+ - -   - + +   +
creation_time
string -
- + + always -
The creation time of the transit gateway.
-
-
Sample:
-
2019-03-06T17:13:51+00:00
- - - -   - +
The creation time of the transit gateway.
+
+
Sample:
+
2019-03-06T17:13:51+00:00
+ + + +   +
description
string -
- + + always -
The description of the transit gateway.
-
-
Sample:
-
my test tgw
- - - -   - +
The description of the transit gateway.
+
+
Sample:
+
my test tgw
+ + + +   +
options
complex -
- + + always -
The options attributes of the transit gateway
-
- +
The options attributes of the transit gateway
+
+ - -   -   - + +   +   +
amazon_side_asn
string -
- + + always -
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
-
-
Sample:
-
64512
- - - -   -   - +
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
+
+
Sample:
+
64512
+ + + +   +   +
association_default_route_table_id
string -
- + + Iwhen exists -
The ID of the default association route table.
-
-
Sample:
-
tgw-rtb-abc123444
- - - -   -   - +
The ID of the default association route table.
+
+
Sample:
+
tgw-rtb-abc123444
+ + + +   +   +
auto_accept_shared_attachements
string -
- + + always -
Indicates whether attachment requests are automatically accepted.
-
-
Sample:
-
disable
- - - -   -   - +
Indicates whether attachment requests are automatically accepted.
+
+
Sample:
+
disable
+ + + +   +   +
default_route_table_association
string -
- + + always -
Indicates whether resource attachments are automatically associated with the default association route table.
-
-
Sample:
-
enable
- - - -   -   - +
Indicates whether resource attachments are automatically associated with the default association route table.
+
+
Sample:
+
enable
+ + + +   +   +
default_route_table_propagation
string -
- + + always -
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
-
-
Sample:
-
disable
- - - -   -   - +
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
+
+
Sample:
+
disable
+ + + +   +   +
dns_support
string -
- + + always -
Indicates whether DNS support is enabled.
-
-
Sample:
-
enable
- - - -   -   - +
Indicates whether DNS support is enabled.
+
+
Sample:
+
enable
+ + + +   +   +
propagation_default_route_table_id
string -
- + + when exists -
The ID of the default propagation route table.
-
-
Sample:
-
tgw-rtb-def456777
- - - -   -   - +
The ID of the default propagation route table.
+
+
Sample:
+
tgw-rtb-def456777
+ + + +   +   +
vpn_ecmp_support
string -
- + + always -
Indicates whether Equal Cost Multipath Protocol support is enabled.
-
-
Sample:
-
enable
- +
Indicates whether Equal Cost Multipath Protocol support is enabled.
+
+
Sample:
+
enable
+ - - -   - + + +   +
owner_id
string -
- + + always -
The account that owns the transit gateway.
-
-
Sample:
-
123456789012
- - - -   - +
The account that owns the transit gateway.
+
+
Sample:
+
123456789012
+ + + +   +
state
string -
- + + always -
The state of the transit gateway.
-
-
Sample:
-
pending
- - - -   - +
The state of the transit gateway.
+
+
Sample:
+
pending
+ + + +   +
tags
dictionary -
- + + always -
A dictionary of resource tags
-
-
Sample:
-
{'tags': {'Name': 'nonprod_tgw'}}
- - - -   - +
A dictionary of resource tags
+
+
Sample:
+
{'tags': {'Name': 'nonprod_tgw'}}
+ + + +   +
transit_gateway_arn
string -
- + + always -
The ID of the transit_gateway.
-
-
Sample:
-
tgw-3a9aa123
- - - -   - +
The ID of the transit_gateway.
+
+
Sample:
+
tgw-3a9aa123
+ + + +   +
transit_gateway_id
string -
- + + always -
The ID of the transit_gateway.
-
-
Sample:
-
tgw-3a9aa123
- +
The ID of the transit_gateway.
+
+
Sample:
+
tgw-3a9aa123
+ - - + +

@@ -815,5 +832,3 @@ Authors ~~~~~~~ - Bob Boldin (@BobBoldin) - - diff --git a/docs/community.aws.ec2_vpc_egress_igw_module.rst b/docs/community.aws.ec2_vpc_egress_igw_module.rst index 36eaf3e1401..05dad438d6f 100644 --- a/docs/community.aws.ec2_vpc_egress_igw_module.rst +++ b/docs/community.aws.ec2_vpc_egress_igw_module.rst @@ -35,195 +35,214 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete the EIGW.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete the EIGW.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string - / required
-
- -
The VPC ID for the VPC that this Egress Only Internet Gateway should be attached.
-
+ +
The VPC ID for the VPC that this Egress Only Internet Gateway should be attached.
+
+
@@ -231,7 +250,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -242,7 +261,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Ensure that the VPC has an Internet Gateway. @@ -254,8 +272,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -268,41 +284,41 @@ Common return values are documented `here Returned Description - - + +
gateway_id
string -
- + + always -
The ID of the Egress Only Internet Gateway or Null.
-
-
Sample:
-
eigw-0e00cf111ba5bc11e
- +
The ID of the Egress Only Internet Gateway or Null.
+
+
Sample:
+
eigw-0e00cf111ba5bc11e
+ - - + +
vpc_id
string -
- + + always -
The ID of the VPC to attach or detach gateway from.
-
-
Sample:
-
vpc-012345678
- +
The ID of the VPC to attach or detach gateway from.
+
+
Sample:
+
vpc-012345678
+ - +

@@ -314,5 +330,3 @@ Authors ~~~~~~~ - Daniel Shepherd (@shepdelacreme) - - diff --git a/docs/community.aws.ec2_vpc_endpoint_info_module.rst b/docs/community.aws.ec2_vpc_endpoint_info_module.rst index ee83c340bd3..4950abae3a3 100644 --- a/docs/community.aws.ec2_vpc_endpoint_info_module.rst +++ b/docs/community.aws.ec2_vpc_endpoint_info_module.rst @@ -37,210 +37,229 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpoints.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpoints.html for possible filters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
query
string - / required
-
-
    Choices: -
  • services
  • -
  • endpoints
  • -
-
-
Specifies the query action to take. Services returns the supported AWS services that can be specified when creating an endpoint.
-
+
    Choices: +
  • services
  • +
  • endpoints
  • +
+
+
Specifies the query action to take. Services returns the supported AWS services that can be specified when creating an endpoint.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_endpoint_ids
list - / elements=string
-
- -
Get details of specific endpoint IDs
-
+ +
Get details of specific endpoint IDs
+
+
@@ -248,7 +267,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -259,7 +278,6 @@ Examples .. code-block:: yaml+jinja - # Simple example of listing all support AWS services for VPC endpoints - name: List supported AWS endpoint services community.aws.ec2_vpc_endpoint_info: @@ -296,7 +314,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -309,41 +326,41 @@ Common return values are documented `here Returned Description - - + +
service_names
list -
- + + query is services -
AWS VPC endpoint service names
-
-
Sample:
-
{'service_names': ['com.amazonaws.ap-southeast-2.s3']}
- +
AWS VPC endpoint service names
+
+
Sample:
+
{'service_names': ['com.amazonaws.ap-southeast-2.s3']}
+ - - + +
vpc_endpoints
list -
- + + query is endpoints -
A list of endpoints that match the query. Each endpoint has the keys creation_timestamp, policy_document, route_table_ids, service_name, state, vpc_endpoint_id, vpc_id.
-
-
Sample:
-
{'vpc_endpoints': [{'creation_timestamp': '2017-02-16T11:06:48+00:00', 'policy_document': '"{"Version":"2012-10-17","Id":"Policy1450910922815", "Statement":[{"Sid":"Stmt1450910920641","Effect":"Allow", "Principal":"*","Action":"s3:*","Resource":["arn:aws:s3:::*/*","arn:aws:s3:::*"]}]}"\n', 'route_table_ids': ['rtb-abcd1234'], 'service_name': 'com.amazonaws.ap-southeast-2.s3', 'state': 'available', 'vpc_endpoint_id': 'vpce-abbad0d0', 'vpc_id': 'vpc-1111ffff'}]}
- +
A list of endpoints that match the query. Each endpoint has the keys creation_timestamp, policy_document, route_table_ids, service_name, state, vpc_endpoint_id, vpc_id.
+
+
Sample:
+
{'vpc_endpoints': [{'creation_timestamp': '2017-02-16T11:06:48+00:00', 'policy_document': '"{\\"Version\\":\\"2012-10-17\\",\\"Id\\":\\"Policy1450910922815\\", \\"Statement\\":[{\\"Sid\\":\\"Stmt1450910920641\\",\\"Effect\\":\\"Allow\\", \\"Principal\\":\\"*\\",\\"Action\\":\\"s3:*\\",\\"Resource\\":[\\"arn:aws:s3:::*/*\\",\\"arn:aws:s3:::*\\"]}]}"\n', 'route_table_ids': ['rtb-abcd1234'], 'service_name': 'com.amazonaws.ap-southeast-2.s3', 'state': 'available', 'vpc_endpoint_id': 'vpce-abbad0d0', 'vpc_id': 'vpc-1111ffff'}]}
+ - +

@@ -355,5 +372,3 @@ Authors ~~~~~~~ - Karen Cheng (@Etherdaemon) - - diff --git a/docs/community.aws.ec2_vpc_endpoint_module.rst b/docs/community.aws.ec2_vpc_endpoint_module.rst index 01772dbebfd..a6ecdaadc0c 100644 --- a/docs/community.aws.ec2_vpc_endpoint_module.rst +++ b/docs/community.aws.ec2_vpc_endpoint_module.rst @@ -38,325 +38,344 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
client_token
string -
-
- -
Optional client token to ensure idempotency
-
+ +
Optional client token to ensure idempotency
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
policy
json -
-
- -
A properly formatted json policy as string, see https://github.com/ansible/ansible/issues/7005#issuecomment-42894813. Cannot be used with policy_file.
-
Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.
-
+ +
A properly formatted json policy as string, see https://github.com/ansible/ansible/issues/7005#issuecomment-42894813. Cannot be used with policy_file.
+
Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.
+
+
policy_file
path -
-
- -
The path to the properly json formatted policy file, see https://github.com/ansible/ansible/issues/7005#issuecomment-42894813 on how to use it properly. Cannot be used with policy.
-
Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.
-

aliases: policy_path
-
+ +
The path to the properly json formatted policy file, see https://github.com/ansible/ansible/issues/7005#issuecomment-42894813 on how to use it properly. Cannot be used with policy.
+
Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.
+

aliases: policy_path
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
route_table_ids
list - / elements=string
-
- -
List of one or more route table ids to attach to the endpoint. A route is added to the route table with the destination of the endpoint if provided.
-
+ +
List of one or more route table ids to attach to the endpoint. A route is added to the route table with the destination of the endpoint if provided.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
service
string -
-
- -
An AWS supported vpc endpoint service. Use the community.aws.ec2_vpc_endpoint_info module to describe the supported endpoint services.
-
Required when creating an endpoint.
-
+ +
An AWS supported vpc endpoint service. Use the community.aws.ec2_vpc_endpoint_info module to describe the supported endpoint services.
+
Required when creating an endpoint.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
present to ensure resource is created.
-
absent to remove resource
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
present to ensure resource is created.
+
absent to remove resource
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_endpoint_id
string -
-
- -
One or more vpc endpoint ids to remove from the AWS account
-
+ +
One or more vpc endpoint ids to remove from the AWS account
+
+
vpc_id
string -
-
- -
Required when creating a VPC endpoint.
-
+ +
Required when creating a VPC endpoint.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When specified, will wait for either available status for state present. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When specified, will wait for either available status for state present. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.
+
+
wait_timeout
integer -
-
- Default:
320
-
-
Used in conjunction with wait. Number of seconds to wait for status. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.
-
+ Default:
320
+
+
Used in conjunction with wait. Number of seconds to wait for status. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.
+
+
@@ -364,7 +383,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -375,7 +394,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create new vpc endpoint with a json template for policy @@ -421,7 +439,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -434,24 +451,24 @@ Common return values are documented `here Returned Description - - + +
endpoints
list -
- + + success -
The resulting endpoints from the module call
-
-
Sample:
-
[{'creation_timestamp': '2017-02-20T05:04:15+00:00', 'policy_document': {'Id': 'Policy1450910922815', 'Statement': [{'Action': 's3:*', 'Effect': 'Allow', 'Principal': '*', 'Resource': ['arn:aws:s3:::*/*', 'arn:aws:s3:::*'], 'Sid': 'Stmt1450910920641'}], 'Version': '2012-10-17'}, 'route_table_ids': ['rtb-abcd1234'], 'service_name': 'com.amazonaws.ap-southeast-2.s3', 'vpc_endpoint_id': 'vpce-a1b2c3d4', 'vpc_id': 'vpc-abbad0d0'}]
- +
The resulting endpoints from the module call
+
+
Sample:
+
[{'creation_timestamp': '2017-02-20T05:04:15+00:00', 'policy_document': {'Id': 'Policy1450910922815', 'Statement': [{'Action': 's3:*', 'Effect': 'Allow', 'Principal': '*', 'Resource': ['arn:aws:s3:::*/*', 'arn:aws:s3:::*'], 'Sid': 'Stmt1450910920641'}], 'Version': '2012-10-17'}, 'route_table_ids': ['rtb-abcd1234'], 'service_name': 'com.amazonaws.ap-southeast-2.s3', 'vpc_endpoint_id': 'vpce-a1b2c3d4', 'vpc_id': 'vpc-abbad0d0'}]
+ - +

@@ -463,5 +480,3 @@ Authors ~~~~~~~ - Karen Cheng (@Etherdaemon) - - diff --git a/docs/community.aws.ec2_vpc_igw_info_module.rst b/docs/community.aws.ec2_vpc_igw_info_module.rst index 69140031b7f..b73e80d8792 100644 --- a/docs/community.aws.ec2_vpc_igw_info_module.rst +++ b/docs/community.aws.ec2_vpc_igw_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInternetGateways.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInternetGateways.html for possible filters.
+
+
internet_gateway_ids
list - / elements=string
-
- -
Get details of specific Internet Gateway ID. Provide this value as a list.
-
+ +
Get details of specific Internet Gateway ID. Provide this value as a list.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all Internet Gateways for an account or profile @@ -266,7 +284,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -279,41 +296,41 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
True if listing the internet gateways succeeds.
-
-
Sample:
-
false
- +
True if listing the internet gateways succeeds.
+
+
Sample:
+
false
+ - - + +
internet_gateways
list -
- + + always -
The internet gateways for the account.
-
-
Sample:
-
[{'attachments': [{'state': 'available', 'vpc_id': 'vpc-02123b67'}], 'internet_gateway_id': 'igw-2123634d', 'tags': [{'key': 'Name', 'value': 'test-vpc-20-igw'}]}]
- +
The internet gateways for the account.
+
+
Sample:
+
[{'attachments': [{'state': 'available', 'vpc_id': 'vpc-02123b67'}], 'internet_gateway_id': 'igw-2123634d', 'tags': [{'key': 'Name', 'value': 'test-vpc-20-igw'}]}]
+ - +

@@ -325,5 +342,3 @@ Authors ~~~~~~~ - Nick Aslanidis (@naslanidis) - - diff --git a/docs/community.aws.ec2_vpc_igw_module.rst b/docs/community.aws.ec2_vpc_igw_module.rst index b7ae748cba2..690f99603ec 100644 --- a/docs/community.aws.ec2_vpc_igw_module.rst +++ b/docs/community.aws.ec2_vpc_igw_module.rst @@ -37,211 +37,230 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or terminate the IGW
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or terminate the IGW
+
+
tags
dictionary -
-
- -
A dict of tags to apply to the internet gateway. Any tags currently applied to the internet gateway and not present here will be removed.
-

aliases: resource_tags
-
+ +
A dict of tags to apply to the internet gateway. Any tags currently applied to the internet gateway and not present here will be removed.
+

aliases: resource_tags
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string - / required
-
- -
The VPC ID for the VPC in which to manage the Internet Gateway.
-
+ +
The VPC ID for the VPC in which to manage the Internet Gateway.
+
+
@@ -249,7 +268,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -260,7 +279,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Ensure that the VPC has an Internet Gateway. @@ -272,8 +290,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -286,75 +302,75 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
If any changes have been made to the Internet Gateway.
-
-
Sample:
-
{'changed': False}
- +
If any changes have been made to the Internet Gateway.
+
+
Sample:
+
{'changed': False}
+ - - + +
gateway_id
string -
- + + state=present -
The unique identifier for the Internet Gateway.
-
-
Sample:
-
{'gateway_id': 'igw-XXXXXXXX'}
- +
The unique identifier for the Internet Gateway.
+
+
Sample:
+
{'gateway_id': 'igw-XXXXXXXX'}
+ - - + +
tags
dictionary -
- + + state=present -
The tags associated the Internet Gateway.
-
-
Sample:
-
{'tags': {'Ansible': 'Test'}}
- +
The tags associated the Internet Gateway.
+
+
Sample:
+
{'tags': {'Ansible': 'Test'}}
+ - - + +
vpc_id
string -
- + + state=present -
The VPC ID associated with the Internet Gateway.
-
-
Sample:
-
{'vpc_id': 'vpc-XXXXXXXX'}
- +
The VPC ID associated with the Internet Gateway.
+
+
Sample:
+
{'vpc_id': 'vpc-XXXXXXXX'}
+ - +

@@ -366,5 +382,3 @@ Authors ~~~~~~~ - Robert Estelle (@erydo) - - diff --git a/docs/community.aws.ec2_vpc_nacl_info_module.rst b/docs/community.aws.ec2_vpc_nacl_info_module.rst index 345affd043e..3aab5d5a7d9 100644 --- a/docs/community.aws.ec2_vpc_nacl_info_module.rst +++ b/docs/community.aws.ec2_vpc_nacl_info_module.rst @@ -37,194 +37,213 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- Default:
{}
-
-
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkAcls.html for possible filters. Filter names and values are case sensitive.
-
+ Default:
{}
+
+
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkAcls.html for possible filters. Filter names and values are case sensitive.
+
+
nacl_ids
list -
-
- Default:
[]
-
-
A list of Network ACL IDs to retrieve information about.
-

aliases: nacl_id
-
+ Default:
[]
+
+
A list of Network ACL IDs to retrieve information about.
+

aliases: nacl_id
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -233,7 +252,7 @@ Notes .. note:: - By default, the module will return all Network ACLs. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -244,7 +263,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Gather information about all Network ACLs: @@ -263,7 +281,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -276,141 +293,141 @@ Common return values are documented `here Returned Description - - + +
nacls
complex -
- + + success -
Returns an array of complex objects as described below.
-
- +
Returns an array of complex objects as described below.
+
+ - -   - + +   +
egress
list - / elements=list
- + / elements=list + always -
A list of NACL egress rules with the following format.
-
[rule no, protocol, allow/deny, v4 or v6 cidr, icmp_type, icmp_code, port from, port to]
-
-
Sample:
-
[[100, 'all', 'allow', '0.0.0.0/0', None, None, None, None]]
- +
A list of NACL egress rules with the following format.
+
[rule no, protocol, allow/deny, v4 or v6 cidr, icmp_type, icmp_code, port from, port to]
+
+
Sample:
+
[[100, 'all', 'allow', '0.0.0.0/0', None, None, None, None]]
+ - -   - + +   +
ingress
list - / elements=list
- + / elements=list + always -
A list of NACL ingress rules with the following format.
-
[rule no, protocol, allow/deny, v4 or v6 cidr, icmp_type, icmp_code, port from, port to]
-
-
Sample:
-
[[100, 'tcp', 'allow', '0.0.0.0/0', None, None, 22, 22]]
- +
A list of NACL ingress rules with the following format.
+
[rule no, protocol, allow/deny, v4 or v6 cidr, icmp_type, icmp_code, port from, port to]
+
+
Sample:
+
[[100, 'tcp', 'allow', '0.0.0.0/0', None, None, 22, 22]]
+ - -   - + +   +
is_default
boolean -
- + + always -
True if the NACL is the default for its VPC.
-
- +
True if the NACL is the default for its VPC.
+
+ - -   - + +   +
nacl_id
string -
- + + always -
The ID of the Network Access Control List.
-
- +
The ID of the Network Access Control List.
+
+ - -   - + +   +
subnets
list - / elements=string
- + / elements=string + always -
A list of subnet IDs that are associated with the NACL.
-
- +
A list of subnet IDs that are associated with the NACL.
+
+ - -   - + +   +
tags
dictionary -
- + + always -
A dict of tags associated with the NACL.
-
- +
A dict of tags associated with the NACL.
+
+ - -   - + +   +
vpc_id
string -
- + + always -
The ID of the VPC that the NACL is attached to.
-
- +
The ID of the VPC that the NACL is attached to.
+
+ - - + +

@@ -422,5 +439,3 @@ Authors ~~~~~~~ - Brad Davidson (@brandond) - - diff --git a/docs/community.aws.ec2_vpc_nacl_module.rst b/docs/community.aws.ec2_vpc_nacl_module.rst index a3736d26ff6..da56bd5b456 100644 --- a/docs/community.aws.ec2_vpc_nacl_module.rst +++ b/docs/community.aws.ec2_vpc_nacl_module.rst @@ -38,293 +38,312 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=list + + + - - + - - + / elements=list + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
egress
list -
-
- Default:
[]
-
-
A list of rules for outgoing traffic. Each rule must be specified as a list. Each rule may contain the rule number (integer 1-32766), protocol (one of ['tcp', 'udp', 'icmp', '-1', 'all']), the rule action ('allow' or 'deny') the CIDR of the IPv4 network range to allow or deny, the ICMP type (-1 means all types), the ICMP code (-1 means all codes), the last port in the range for TCP or UDP protocols, and the first port in the range for TCP or UDP protocols. See examples.
-
+ Default:
[]
+
+
A list of rules for outgoing traffic. Each rule must be specified as a list. Each rule may contain the rule number (integer 1-32766), protocol (one of ['tcp', 'udp', 'icmp', '-1', 'all']), the rule action ('allow' or 'deny') the CIDR of the IPv4 network range to allow or deny, the ICMP type (-1 means all types), the ICMP code (-1 means all codes), the last port in the range for TCP or UDP protocols, and the first port in the range for TCP or UDP protocols. See examples.
+
+
ingress
list -
-
- Default:
[]
-
-
List of rules for incoming traffic. Each rule must be specified as a list. Each rule may contain the rule number (integer 1-32766), protocol (one of ['tcp', 'udp', 'icmp', '-1', 'all']), the rule action ('allow' or 'deny') the CIDR of the IPv4 network range to allow or deny, the ICMP type (-1 means all types), the ICMP code (-1 means all codes), the last port in the range for TCP or UDP protocols, and the first port in the range for TCP or UDP protocols. See examples.
-
+ Default:
[]
+
+
List of rules for incoming traffic. Each rule must be specified as a list. Each rule may contain the rule number (integer 1-32766), protocol (one of ['tcp', 'udp', 'icmp', '-1', 'all']), the rule action ('allow' or 'deny') the CIDR of the IPv4 network range to allow or deny, the ICMP type (-1 means all types), the ICMP code (-1 means all codes), the last port in the range for TCP or UDP protocols, and the first port in the range for TCP or UDP protocols. See examples.
+
+
nacl_id
string -
-
- -
NACL id identifying a network ACL.
-
One and only one of the name or nacl_id is required.
-
+ +
NACL id identifying a network ACL.
+
One and only one of the name or nacl_id is required.
+
+
name
string -
-
- -
Tagged name identifying a network ACL.
-
One and only one of the name or nacl_id is required.
-
+ +
Tagged name identifying a network ACL.
+
One and only one of the name or nacl_id is required.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Creates or modifies an existing NACL
-
Deletes a NACL and reassociates subnets to the default NACL
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Creates or modifies an existing NACL
+
Deletes a NACL and reassociates subnets to the default NACL
+
+
subnets
list -
-
- -
The list of subnets that should be associated with the network ACL.
-
Must be specified as a list
-
Each subnet can be specified as subnet ID, or its tagged name.
-
+ +
The list of subnets that should be associated with the network ACL.
+
Must be specified as a list
+
Each subnet can be specified as subnet ID, or its tagged name.
+
+
tags
dictionary -
-
- -
Dictionary of tags to look for and apply when creating a network ACL.
-
+ +
Dictionary of tags to look for and apply when creating a network ACL.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string -
-
- -
VPC id of the requesting VPC.
-
Required when state present.
-
+ +
VPC id of the requesting VPC.
+
Required when state present.
+
+
@@ -332,7 +351,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -343,8 +362,6 @@ Examples .. code-block:: yaml+jinja - - # Complete example to create and delete a network ACL # that allows SSH, HTTP and ICMP in, and all traffic out. - name: "Create and associate production DMZ network ACL with DMZ subnets" @@ -401,7 +418,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -414,39 +430,39 @@ Common return values are documented `here Returned Description - - + +
nacl_id
string -
- + + success -
The id of the NACL (when creating or updating an ACL)
-
-
Sample:
-
acl-123456789abcdef01
- +
The id of the NACL (when creating or updating an ACL)
+
+
Sample:
+
acl-123456789abcdef01
+ - - + +
task
dictionary -
- + + success -
The result of the create, or delete action.
-
- +
The result of the create, or delete action.
+
+ - +

@@ -458,5 +474,3 @@ Authors ~~~~~~~ - Mike Mochan (@mmochan) - - diff --git a/docs/community.aws.ec2_vpc_nat_gateway_info_module.rst b/docs/community.aws.ec2_vpc_nat_gateway_info_module.rst index b7bd64d6cb9..bb32c7a7ffa 100644 --- a/docs/community.aws.ec2_vpc_nat_gateway_info_module.rst +++ b/docs/community.aws.ec2_vpc_nat_gateway_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNatGateways.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNatGateways.html for possible filters.
+
+
nat_gateway_ids
list - / elements=string
-
- -
List of specific nat gateway IDs to fetch details for.
-
+ +
List of specific nat gateway IDs to fetch details for.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # Simple example of listing all nat gateways - name: List all managed nat gateways in ap-southeast-2 community.aws.ec2_vpc_nat_gateway_info: @@ -248,7 +266,7 @@ Examples register: all_ngws - name: Debugging the result - debug: + ansible.builtin.debug: msg: "{{ all_ngws.result }}" - name: Get details on specific nat gateways @@ -276,7 +294,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -289,22 +306,22 @@ Common return values are documented `here Returned Description - - + +
result
list -
- + + success -
The result of the describe, converted to ansible snake case style. See http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.Client.describe_nat_gateways for the response.
-
- +
The result of the describe, converted to ansible snake case style. See http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.Client.describe_nat_gateways for the response.
+
+ - +

@@ -316,5 +333,3 @@ Authors ~~~~~~~ - Karen Cheng (@Etherdaemon) - - diff --git a/docs/community.aws.ec2_vpc_nat_gateway_module.rst b/docs/community.aws.ec2_vpc_nat_gateway_module.rst index b94a4eb28aa..b115f2c6f43 100644 --- a/docs/community.aws.ec2_vpc_nat_gateway_module.rst +++ b/docs/community.aws.ec2_vpc_nat_gateway_module.rst @@ -37,330 +37,349 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
allocation_id
string -
-
- -
The id of the elastic IP allocation. If this is not passed and the eip_address is not passed. An EIP is generated for this NAT Gateway.
-
+ +
The id of the elastic IP allocation. If this is not passed and the eip_address is not passed. An EIP is generated for this NAT Gateway.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
client_token
string -
-
- -
Optional unique token to be used during create to ensure idempotency. When specifying this option, ensure you specify the eip_address parameter as well otherwise any subsequent runs will fail.
-
+ +
Optional unique token to be used during create to ensure idempotency. When specifying this option, ensure you specify the eip_address parameter as well otherwise any subsequent runs will fail.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
eip_address
string -
-
- -
The elastic IP address of the EIP you want attached to this NAT Gateway. If this is not passed and the allocation_id is not passed, an EIP is generated for this NAT Gateway.
-
+ +
The elastic IP address of the EIP you want attached to this NAT Gateway. If this is not passed and the allocation_id is not passed, an EIP is generated for this NAT Gateway.
+
+
if_exist_do_not_create
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
if a NAT Gateway exists already in the subnet_id, then do not create a new one.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
if a NAT Gateway exists already in the subnet_id, then do not create a new one.
+
+
nat_gateway_id
string -
-
- -
The id AWS dynamically allocates to the NAT Gateway on creation. This is required when the absent option is present.
-
+ +
The id AWS dynamically allocates to the NAT Gateway on creation. This is required when the absent option is present.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
release_eip
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Deallocate the EIP from the VPC.
-
Option is only valid with the absent state.
-
You should use this with the wait option. Since you can not release an address while a delete operation is happening.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Deallocate the EIP from the VPC.
+
Option is only valid with the absent state.
+
You should use this with the wait option. Since you can not release an address while a delete operation is happening.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Ensure NAT Gateway is present or absent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Ensure NAT Gateway is present or absent.
+
+
subnet_id
string -
-
- -
The id of the subnet to create the NAT Gateway in. This is required with the present option.
-
+ +
The id of the subnet to create the NAT Gateway in. This is required with the present option.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Wait for operation to complete before returning.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Wait for operation to complete before returning.
+
+
wait_timeout
integer -
-
- Default:
320
-
-
How many seconds to wait for an operation to complete before timing out.
-
+ Default:
320
+
+
How many seconds to wait for an operation to complete before timing out.
+
+
@@ -368,7 +387,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -379,7 +398,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create new nat gateway with client token. @@ -454,7 +472,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -467,109 +484,109 @@ Common return values are documented `here Returned Description - - + +
create_time
string -
- + + In all cases. -
The ISO 8601 date time format in UTC.
-
-
Sample:
-
2016-03-05T05:19:20.282000+00:00'
- +
The ISO 8601 date time format in UTC.
+
+
Sample:
+
2016-03-05T05:19:20.282000+00:00'
+ - - + +
nat_gateway_addresses
string -
- + + In all cases. -
List of dictionaries containing the public_ip, network_interface_id, private_ip, and allocation_id.
-
-
Sample:
-
[{'public_ip': '52.52.52.52', 'network_interface_id': 'eni-12345', 'private_ip': '10.0.0.100', 'allocation_id': 'eipalloc-12345'}]
- +
List of dictionaries containing the public_ip, network_interface_id, private_ip, and allocation_id.
+
+
Sample:
+
[{'public_ip': '52.52.52.52', 'network_interface_id': 'eni-12345', 'private_ip': '10.0.0.100', 'allocation_id': 'eipalloc-12345'}]
+ - - + +
nat_gateway_id
string -
- + + In all cases. -
id of the VPC NAT Gateway
-
-
Sample:
-
nat-0d1e3a878585988f8
- +
id of the VPC NAT Gateway
+
+
Sample:
+
nat-0d1e3a878585988f8
+ - - + +
state
string -
- + + In all cases. -
The current state of the NAT Gateway.
-
-
Sample:
-
available
- +
The current state of the NAT Gateway.
+
+
Sample:
+
available
+ - - + +
subnet_id
string -
- + + In all cases. -
id of the Subnet
-
-
Sample:
-
subnet-12345
- +
id of the Subnet
+
+
Sample:
+
subnet-12345
+ - - + +
vpc_id
string -
- + + In all cases. -
id of the VPC.
-
-
Sample:
-
vpc-12345
- +
id of the VPC.
+
+
Sample:
+
vpc-12345
+ - +

@@ -583,5 +600,3 @@ Authors - Allen Sanabria (@linuxdynasty) - Jon Hadfield (@jonhadfield) - Karen Cheng (@Etherdaemon) - - diff --git a/docs/community.aws.ec2_vpc_peer_module.rst b/docs/community.aws.ec2_vpc_peer_module.rst index ddf59a4ce77..dd96bc3e077 100644 --- a/docs/community.aws.ec2_vpc_peer_module.rst +++ b/docs/community.aws.ec2_vpc_peer_module.rst @@ -38,272 +38,291 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
peer_owner_id
string -
-
- -
The AWS account number for cross account peering.
-
+ +
The AWS account number for cross account peering.
+
+
peer_region
string -
-
- -
Region of the accepting VPC.
-
+ +
Region of the accepting VPC.
+
+
peer_vpc_id
string -
-
- -
VPC id of the accepting VPC.
-
+ +
VPC id of the accepting VPC.
+
+
peering_id
string -
-
- -
Peering connection id.
-
+ +
Peering connection id.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
  • accept
  • -
  • reject
  • -
-
-
Create, delete, accept, reject a peering connection.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
  • accept
  • +
  • reject
  • +
+
+
Create, delete, accept, reject a peering connection.
+
+
tags
dictionary -
-
- -
Dictionary of tags to look for and apply when creating a Peering Connection.
-
+ +
Dictionary of tags to look for and apply when creating a Peering Connection.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string -
-
- -
VPC id of the requesting VPC.
-
+ +
VPC id of the requesting VPC.
+
+
@@ -311,7 +330,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -322,7 +341,6 @@ Examples .. code-block:: yaml+jinja - # Complete example to create and accept a local peering connection. - name: Create local account VPC peering Connection community.aws.ec2_vpc_peer: @@ -473,8 +491,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -487,22 +503,22 @@ Common return values are documented `here Returned Description - - + +
task
dictionary -
- + + success -
The result of the create, accept, reject or delete action.
-
- +
The result of the create, accept, reject or delete action.
+
+ - +

@@ -514,5 +530,3 @@ Authors ~~~~~~~ - Mike Mochan (@mmochan) - - diff --git a/docs/community.aws.ec2_vpc_peering_info_module.rst b/docs/community.aws.ec2_vpc_peering_info_module.rst index daa5c314c37..34e69f606aa 100644 --- a/docs/community.aws.ec2_vpc_peering_info_module.rst +++ b/docs/community.aws.ec2_vpc_peering_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcPeeringConnections.html for possible filters.
+
+
peer_connection_ids
list - / elements=string
-
- -
List of specific VPC peer IDs to get details for.
-
+ +
List of specific VPC peer IDs to get details for.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # Simple example of listing all VPC Peers - name: List all vpc peers community.aws.ec2_vpc_peering_info: @@ -248,7 +266,7 @@ Examples register: all_vpc_peers - name: Debugging the result - debug: + ansible.builtin.debug: msg: "{{ all_vpc_peers.result }}" - name: Get details on specific VPC peer @@ -268,7 +286,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -281,22 +298,22 @@ Common return values are documented `here Returned Description - - + +
result
list -
- + + success -
The result of the describe.
-
- +
The result of the describe.
+
+ - +

@@ -308,5 +325,3 @@ Authors ~~~~~~~ - Karen Cheng (@Etherdaemon) - - diff --git a/docs/community.aws.ec2_vpc_route_table_info_module.rst b/docs/community.aws.ec2_vpc_route_table_info_module.rst index 930e72799d7..1bd7d93ee4b 100644 --- a/docs/community.aws.ec2_vpc_route_table_info_module.rst +++ b/docs/community.aws.ec2_vpc_route_table_info_module.rst @@ -36,176 +36,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRouteTables.html for possible filters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -213,7 +232,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -224,7 +243,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all VPC route tables @@ -248,8 +266,6 @@ Examples - - Status ------ @@ -258,5 +274,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.ec2_vpc_route_table_module.rst b/docs/community.aws.ec2_vpc_route_table_module.rst index 3891bd4803a..db7ed4ce224 100644 --- a/docs/community.aws.ec2_vpc_route_table_module.rst +++ b/docs/community.aws.ec2_vpc_route_table_module.rst @@ -35,350 +35,369 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
lookup
string -
-
-
    Choices: -
  • tag ←
  • -
  • id
  • -
-
-
Look up route table by either tags or by route table ID. Non-unique tag lookup will fail. If no tags are specified then no lookup for an existing route table is performed and a new route table will be created. To change tags of a route table you must look up by id.
-
+
    Choices: +
  • tag ←
  • +
  • id
  • +
+
+
Look up route table by either tags or by route table ID. Non-unique tag lookup will fail. If no tags are specified then no lookup for an existing route table is performed and a new route table will be created. To change tags of a route table you must look up by id.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
propagating_vgw_ids
list - / elements=string
-
- -
Enable route propagation from virtual gateways specified by ID.
-
+ +
Enable route propagation from virtual gateways specified by ID.
+
+
purge_routes
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Purge existing routes that are not found in routes.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Purge existing routes that are not found in routes.
+
+
purge_subnets
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
- Default:
"true"
-
-
Purge existing subnets that are not found in subnets. Ignored unless the subnets option is supplied.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+ Default:
"true"
+
+
Purge existing subnets that are not found in subnets. Ignored unless the subnets option is supplied.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Purge existing tags that are not found in route table.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Purge existing tags that are not found in route table.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
route_table_id
string -
-
- -
The ID of the route table to update or delete.
-
Required when lookup=id.
-
+ +
The ID of the route table to update or delete.
+
Required when lookup=id.
+
+
routes
list - / elements=dictionary
-
- -
List of routes in the route table. Routes are specified as dicts containing the keys 'dest' and one of 'gateway_id', 'instance_id', 'network_interface_id', or 'vpc_peering_connection_id'. If 'gateway_id' is specified, you can refer to the VPC's IGW by using the value 'igw'. Routes are required for present states.
-
+ +
List of routes in the route table. Routes are specified as dicts containing the keys 'dest' and one of 'gateway_id', 'instance_id', 'network_interface_id', or 'vpc_peering_connection_id'. If 'gateway_id' is specified, you can refer to the VPC's IGW by using the value 'igw'. Routes are required for present states.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or destroy the VPC route table.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or destroy the VPC route table.
+
+
subnets
list - / elements=string
-
- -
An array of subnets to add to this route table. Subnets may be specified by either subnet ID, Name tag, or by a CIDR such as '10.0.0.0/24'.
-
+ +
An array of subnets to add to this route table. Subnets may be specified by either subnet ID, Name tag, or by a CIDR such as '10.0.0.0/24'.
+
+
tags
dictionary -
-
- -
A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }. Tags are used to uniquely identify route tables within a VPC when the route_table_id is not supplied.
-

aliases: resource_tags
-
+ +
A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }. Tags are used to uniquely identify route tables within a VPC when the route_table_id is not supplied.
+

aliases: resource_tags
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string -
-
- -
VPC ID of the VPC in which to create the route table.
-
Required when state=present or lookup=tag.
-
+ + + + + +
VPC ID of the VPC in which to create the route table.
+
Required when state=present or lookup=tag.
+ + +
@@ -386,7 +405,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -397,7 +416,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Basic creation example: @@ -441,7 +459,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -454,352 +471,352 @@ Common return values are documented `here Returned Description - - + +
route_table
complex -
- + + always -
Route Table result
-
- +
Route Table result
+
+ - -   - + +   +
associations
complex -
- + + always -
List of subnets associated with the route table
-
- +
List of subnets associated with the route table
+
+ - -   -   - + +   +   +
main
boolean -
- + + always -
Whether this is the main route table
-
- - - -   -   - +
Whether this is the main route table
+
+ + + +   +   +
route_table_association_id
string -
- + + always -
ID of association between route table and subnet
-
-
Sample:
-
rtbassoc-ab47cfc3
- - - -   -   - +
ID of association between route table and subnet
+
+
Sample:
+
rtbassoc-ab47cfc3
+ + + +   +   +
route_table_id
string -
- + + always -
ID of the route table
-
-
Sample:
-
rtb-bf779ed7
- - - -   -   - +
ID of the route table
+
+
Sample:
+
rtb-bf779ed7
+ + + +   +   +
subnet_id
string -
- + + always -
ID of the subnet
-
-
Sample:
-
subnet-82055af9
- +
ID of the subnet
+
+
Sample:
+
subnet-82055af9
+ - - -   - + + +   +
id
string -
- + + always -
ID of the route table (same as route_table_id for backwards compatibility)
-
-
Sample:
-
rtb-bf779ed7
- - - -   - +
ID of the route table (same as route_table_id for backwards compatibility)
+
+
Sample:
+
rtb-bf779ed7
+ + + +   +
propagating_vgws
list -
- + + always -
List of Virtual Private Gateways propagating routes
-
- +
List of Virtual Private Gateways propagating routes
+
+ - -   - + +   +
route_table_id
string -
- + + always -
ID of the route table
-
-
Sample:
-
rtb-bf779ed7
- - - -   - +
ID of the route table
+
+
Sample:
+
rtb-bf779ed7
+ + + +   +
routes
complex -
- + + always -
List of routes in the route table
-
- +
List of routes in the route table
+
+ - -   -   - + +   +   +
destination_cidr_block
string -
- + + always -
CIDR block of destination
-
-
Sample:
-
10.228.228.0/22
- - - -   -   - +
CIDR block of destination
+
+
Sample:
+
10.228.228.0/22
+ + + +   +   +
gateway_id
string -
- + + when gateway is local or internet gateway -
ID of the gateway
-
-
Sample:
-
local
- - - -   -   - +
ID of the gateway
+
+
Sample:
+
local
+ + + +   +   +
instance_id
string -
- + + when the route is via an EC2 instance -
ID of a NAT instance
-
-
Sample:
-
i-abcd123456789
- - - -   -   - +
ID of a NAT instance
+
+
Sample:
+
i-abcd123456789
+ + + +   +   +
instance_owner_id
string -
- + + when the route is via an EC2 instance -
AWS account owning the NAT instance
-
-
Sample:
-
123456789012
- - - -   -   - +
AWS account owning the NAT instance
+
+
Sample:
+
123456789012
+ + + +   +   +
nat_gateway_id
string -
- + + when the route is via a NAT gateway -
ID of the NAT gateway
-
-
Sample:
-
local
- - - -   -   - +
ID of the NAT gateway
+
+
Sample:
+
local
+ + + +   +   +
origin
string -
- + + always -
mechanism through which the route is in the table
-
-
Sample:
-
CreateRouteTable
- - - -   -   - +
mechanism through which the route is in the table
+
+
Sample:
+
CreateRouteTable
+ + + +   +   +
state
string -
- + + always -
state of the route
-
-
Sample:
-
active
- +
state of the route
+
+
Sample:
+
active
+ - - -   - + + +   +
tags
dictionary -
- + + always -
Tags applied to the route table
-
-
Sample:
-
{'Name': 'Public route table', 'Public': 'true'}
- - - -   - +
Tags applied to the route table
+
+
Sample:
+
{'Name': 'Public route table', 'Public': 'true'}
+ + + +   +
vpc_id
string -
- + + always -
ID for the VPC in which the route lives
-
-
Sample:
-
vpc-6e2d2407
- +
ID for the VPC in which the route lives
+
+
Sample:
+
vpc-6e2d2407
+ - - + +

@@ -813,5 +830,3 @@ Authors - Robert Estelle (@erydo) - Rob White (@wimnat) - Will Thames (@willthames) - - diff --git a/docs/community.aws.ec2_vpc_vgw_info_module.rst b/docs/community.aws.ec2_vpc_vgw_info_module.rst index 8b2816e8bf0..a2c494ea25c 100644 --- a/docs/community.aws.ec2_vpc_vgw_info_module.rst +++ b/docs/community.aws.ec2_vpc_vgw_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnGateways.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnGateways.html for possible filters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpn_gateway_ids
list - / elements=string
-
- -
Get details of a specific Virtual Gateway ID. This value should be provided as a list.
-
+ +
Get details of a specific Virtual Gateway ID. This value should be provided as a list.
+
+
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all virtual gateways for an account or profile @@ -266,7 +284,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -279,41 +296,41 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
True if listing the virtual gateways succeeds.
-
-
Sample:
-
false
- +
True if listing the virtual gateways succeeds.
+
+
Sample:
+
false
+ - - + +
virtual_gateways
list -
- + + always -
The virtual gateways for the account.
-
-
Sample:
-
[{'state': 'available', 'tags': [{'key': 'Name', 'value': 'TEST-VGW'}], 'type': 'ipsec.1', 'vpc_attachments': [{'state': 'attached', 'vpc_id': 'vpc-22a93c74'}], 'vpn_gateway_id': 'vgw-23e3d64e'}]
- +
The virtual gateways for the account.
+
+
Sample:
+
[{'state': 'available', 'tags': [{'key': 'Name', 'value': 'TEST-VGW'}], 'type': 'ipsec.1', 'vpc_attachments': [{'state': 'attached', 'vpc_id': 'vpc-22a93c74'}], 'vpn_gateway_id': 'vgw-23e3d64e'}]
+ - +

@@ -325,5 +342,3 @@ Authors ~~~~~~~ - Nick Aslanidis (@naslanidis) - - diff --git a/docs/community.aws.ec2_vpc_vgw_module.rst b/docs/community.aws.ec2_vpc_vgw_module.rst index 3dd97370a37..6a1ee4fb25c 100644 --- a/docs/community.aws.ec2_vpc_vgw_module.rst +++ b/docs/community.aws.ec2_vpc_vgw_module.rst @@ -39,291 +39,310 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
asn
integer -
-
- -
the BGP ASN of the amazon side
-
+ +
the BGP ASN of the amazon side
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string -
-
- -
name of the vgw to be created or deleted
-
+ +
name of the vgw to be created or deleted
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
present to ensure resource is created.
-
absent to remove resource
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
present to ensure resource is created.
+
absent to remove resource
+
+
tags
dictionary -
-
- -
dictionary of resource tags
-

aliases: resource_tags
-
+ +
dictionary of resource tags
+

aliases: resource_tags
+
+
type
string -
-
-
    Choices: -
  • ipsec.1 ←
  • -
-
-
type of the virtual gateway to be created
-
+
    Choices: +
  • ipsec.1 ←
  • +
+
+
type of the virtual gateway to be created
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string -
-
- -
the vpc-id of a vpc to attach or detach
-
+ +
the vpc-id of a vpc to attach or detach
+
+
vpn_gateway_id
string -
-
- -
vpn gateway id of an existing virtual gateway
-
+ +
vpn gateway id of an existing virtual gateway
+
+
wait_timeout
integer -
-
- Default:
320
-
-
number of seconds to wait for status during vpc attach and detach
-
+ Default:
320
+
+
number of seconds to wait for status during vpc attach and detach
+
+
@@ -331,7 +350,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -342,7 +361,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a new vgw attached to a specific VPC community.aws.ec2_vpc_vgw: state: present @@ -384,7 +402,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -397,22 +414,22 @@ Common return values are documented `here Returned Description - - + +
result
dictionary -
- + + success -
The result of the create, or delete action.
-
- +
The result of the create, or delete action.
+
+ - +

@@ -424,5 +441,3 @@ Authors ~~~~~~~ - Nick Aslanidis (@naslanidis) - - diff --git a/docs/community.aws.ec2_vpc_vpn_info_module.rst b/docs/community.aws.ec2_vpc_vpn_info_module.rst index e59d33d8134..b9a88856f97 100644 --- a/docs/community.aws.ec2_vpc_vpn_info_module.rst +++ b/docs/community.aws.ec2_vpc_vpn_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html for possible filters.
-
+ +
A dict of filters to apply. Each dict item consists of a filter key and a filter value. See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html for possible filters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpn_connection_ids
list - / elements=string
-
- -
Get details of a specific VPN connections using vpn connection ID/IDs. This value should be provided as a list.
-
+ / elements=string + + + + +
Get details of a specific VPN connections using vpn connection ID/IDs. This value should be provided as a list.
+ + +
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all vpn connections community.aws.ec2_vpc_vpn_info: @@ -259,7 +277,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -272,367 +289,367 @@ Common return values are documented `here Returned Description - - + +
vpn_connections
complex -
- + + always -
List of one or more VPN Connections.
-
- +
List of one or more VPN Connections.
+
+ - -   - + +   +
category
string -
- + + always -
The category of the VPN connection.
-
-
Sample:
-
VPN
- +
The category of the VPN connection.
+
+
Sample:
+
VPN
+ - -   - + +   +
customer_gateway_id
string -
- + + always -
The ID of the customer gateway at your end of the VPN connection.
-
-
Sample:
-
cgw-17a53c37
- +
The ID of the customer gateway at your end of the VPN connection.
+
+
Sample:
+
cgw-17a53c37
+ - -   - + +   +
customer_gatway_configuration
string -
- + + always -
The configuration information for the VPN connection's customer gateway (in the native XML format).
-
- +
The configuration information for the VPN connection's customer gateway (in the native XML format).
+
+ - -   - + +   +
options
dictionary -
- + + always -
The VPN connection options.
-
-
Sample:
-
{'static_routes_only': False}
- +
The VPN connection options.
+
+
Sample:
+
{'static_routes_only': False}
+ - -   - + +   +
routes
complex -
- + + always -
List of static routes associated with the VPN connection.
-
- +
List of static routes associated with the VPN connection.
+
+ - -   -   - + +   +   +
destination_cidr_block
string -
- + + always -
The CIDR block associated with the local subnet of the customer data center.
-
-
Sample:
-
10.0.0.0/16
- +
The CIDR block associated with the local subnet of the customer data center.
+
+
Sample:
+
10.0.0.0/16
+ - -   -   - + +   +   +
state
string -
- + + always -
The current state of the static route.
-
-
Sample:
-
available
- +
The current state of the static route.
+
+
Sample:
+
available
+ - - -   - + + +   +
state
string -
- + + always -
The current state of the VPN connection.
-
-
Sample:
-
available
- +
The current state of the VPN connection.
+
+
Sample:
+
available
+ - -   - + +   +
tags
dictionary -
- + + always -
Any tags assigned to the VPN connection.
-
-
Sample:
-
{'Name': 'test-conn'}
- +
Any tags assigned to the VPN connection.
+
+
Sample:
+
{'Name': 'test-conn'}
+ - -   - + +   +
type
string -
- + + always -
The type of VPN connection.
-
-
Sample:
-
ipsec.1
- +
The type of VPN connection.
+
+
Sample:
+
ipsec.1
+ - -   - + +   +
vgw_telemetry
complex -
- + + always -
Information about the VPN tunnel.
-
- +
Information about the VPN tunnel.
+
+ - -   -   - + +   +   +
accepted_route_count
integer -
- + + always -
The number of accepted routes.
-
- +
The number of accepted routes.
+
+ - -   -   - + +   +   +
certificate_arn
string -
- + + when a private certificate is used for authentication -
The Amazon Resource Name of the virtual private gateway tunnel endpoint certificate.
-
-
Sample:
-
arn:aws:acm:us-east-1:123456789101:certificate/c544d8ce-20b8-4fff-98b0-example
- +
The Amazon Resource Name of the virtual private gateway tunnel endpoint certificate.
+
+
Sample:
+
arn:aws:acm:us-east-1:123456789101:certificate/c544d8ce-20b8-4fff-98b0-example
+ - -   -   - + +   +   +
last_status_change
string -
- + + always -
The date and time of the last change in status.
-
-
Sample:
-
2018-02-09T14:35:27+00:00
- +
The date and time of the last change in status.
+
+
Sample:
+
2018-02-09T14:35:27+00:00
+ - -   -   - + +   +   +
outside_ip_address
string -
- + + always -
The Internet-routable IP address of the virtual private gateway's outside interface.
-
-
Sample:
-
13.127.79.191
- +
The Internet-routable IP address of the virtual private gateway's outside interface.
+
+
Sample:
+
13.127.79.191
+ - -   -   - + +   +   +
status
string -
- + + always -
The status of the VPN tunnel.
-
-
Sample:
-
DOWN
- +
The status of the VPN tunnel.
+
+
Sample:
+
DOWN
+ - -   -   - + +   +   +
status_message
string -
- + + always -
If an error occurs, a description of the error.
-
-
Sample:
-
IPSEC IS DOWN
- +
If an error occurs, a description of the error.
+
+
Sample:
+
IPSEC IS DOWN
+ - - -   - + + +   +
vpn_connection_id
string -
- + + always -
The ID of the VPN connection.
-
-
Sample:
-
vpn-f700d5c0
- +
The ID of the VPN connection.
+
+
Sample:
+
vpn-f700d5c0
+ - -   - + +   +
vpn_gateway_id
string -
- + + always -
The ID of the virtual private gateway at the AWS side of the VPN connection.
-
-
Sample:
-
vgw-cbe56bfb
- +
The ID of the virtual private gateway at the AWS side of the VPN connection.
+
+
Sample:
+
vgw-cbe56bfb
+ - - + +

@@ -644,5 +661,3 @@ Authors ~~~~~~~ - Madhura Naniwadekar (@Madhura-CSI) - - diff --git a/docs/community.aws.ec2_vpc_vpn_module.rst b/docs/community.aws.ec2_vpc_vpn_module.rst index 31231c55f35..cd75eaf264b 100644 --- a/docs/community.aws.ec2_vpc_vpn_module.rst +++ b/docs/community.aws.ec2_vpc_vpn_module.rst @@ -37,585 +37,604 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
connection_type
string -
-
- Default:
"ipsec.1"
-
-
The type of VPN connection.
-
At this time only 'ipsec.1' is supported.
-
+ Default:
"ipsec.1"
+
+
The type of VPN connection.
+
At this time only 'ipsec.1' is supported.
+
+
customer_gateway_id
string -
-
- -
The ID of the customer gateway.
-
+ +
The ID of the customer gateway.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delay
integer -
-
- Default:
15
-
-
The time to wait before checking operation again. in seconds.
-
+ Default:
15
+
+
The time to wait before checking operation again. in seconds.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
An alternative to using vpn_connection_id. If multiple matches are found, vpn_connection_id is required. If one of the following suboptions is a list of items to filter by, only one item needs to match to find the VPN that correlates. e.g. if the filter 'cidr' is ['194.168.2.0/24', '192.168.2.0/24'] and the VPN route only has the destination cidr block of '192.168.2.0/24' it will be found with this filter (assuming there are not multiple VPNs that are matched). Another example, if the filter 'vpn' is equal to ['vpn-ccf7e7ad', 'vpn-cb0ae2a2'] and one of of the VPNs has the state deleted (exists but is unmodifiable) and the other exists and is not deleted, it will be found via this filter. See examples.
-
+ + + +
An alternative to using vpn_connection_id. If multiple matches are found, vpn_connection_id is required. If one of the following suboptions is a list of items to filter by, only one item needs to match to find the VPN that correlates. e.g. if the filter 'cidr' is ['194.168.2.0/24', '192.168.2.0/24'] and the VPN route only has the destination cidr block of '192.168.2.0/24' it will be found with this filter (assuming there are not multiple VPNs that are matched). Another example, if the filter 'vpn' is equal to ['vpn-ccf7e7ad', 'vpn-cb0ae2a2'] and one of of the VPNs has the state deleted (exists but is unmodifiable) and the other exists and is not deleted, it will be found via this filter. See examples.
+
bgp
- -
-
- -
The BGP ASN number associated with a BGP device. Only works if the connection is attached. This filtering option is currently not working.
-
+ +
The BGP ASN number associated with a BGP device. Only works if the connection is attached. This filtering option is currently not working.
+
+
cgw
- -
-
- -
The customer gateway id as a string or a list of those strings.
-
+ +
The customer gateway id as a string or a list of those strings.
+
+
cgw-config
- -
-
- -
The customer gateway configuration of the VPN as a string (in the format of the return value) or a list of those strings.
-
+ +
The customer gateway configuration of the VPN as a string (in the format of the return value) or a list of those strings.
+
+
cidr
- -
-
- -
The destination cidr of the VPN's route as a string or a list of those strings.
-
+ +
The destination cidr of the VPN's route as a string or a list of those strings.
+
+
static-routes-only
- -
-
- -
The type of routing; true or false.
-
+ +
The type of routing; true or false.
+
+
tag-keys
- -
-
- -
The key of a tag as a string or a list of those strings.
-
+ +
The key of a tag as a string or a list of those strings.
+
+
tag-values
- -
-
- -
The value of a tag as a string or a list of those strings.
-
+ +
The value of a tag as a string or a list of those strings.
+
+
tags
- -
-
- -
A dict of key value pairs.
-
+ +
A dict of key value pairs.
+
+
vgw
- -
-
- -
The virtual private gateway as a string or a list of those strings.
-
+ +
The virtual private gateway as a string or a list of those strings.
+
+
vpn
- -
-
- -
The VPN connection id as a string or a list of those strings.
-
+ + + +
The VPN connection id as a string or a list of those strings.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_routes
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not to delete VPN connections routes that are not specified in the task.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not to delete VPN connections routes that are not specified in the task.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to delete VPN connections tags that are associated with the connection but not specified in the task.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to delete VPN connections tags that are associated with the connection but not specified in the task.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
routes
list - / elements=string
-
- -
Routes to add to the connection.
-
+ +
Routes to add to the connection.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
The desired state of the VPN connection.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
The desired state of the VPN connection.
+
+
static_only
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
+
+
tags
dictionary -
-
- -
Tags to attach to the VPN connection.
-
+ +
Tags to attach to the VPN connection.
+
+
tunnel_options
list - / elements=dictionary
-
- -
An optional list object containing no more than two dict members, each of which may contain 'TunnelInsideCidr' and/or 'PreSharedKey' keys with appropriate string values. AWS defaults will apply in absence of either of the aforementioned keys.
-
+ / elements=dictionary + + +
An optional list object containing no more than two dict members, each of which may contain 'TunnelInsideCidr' and/or 'PreSharedKey' keys with appropriate string values. AWS defaults will apply in absence of either of the aforementioned keys.
+
PreSharedKey
string -
-
- -
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
-
+ +
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
+
+
TunnelInsideCidr
string -
-
- -
The range of inside IP addresses for the tunnel.
-
+ + + +
The range of inside IP addresses for the tunnel.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpn_connection_id
string -
-
- -
The ID of the VPN connection. Required to modify or delete a connection if the filters option does not provide a unique match.
-
+ +
The ID of the VPN connection. Required to modify or delete a connection if the filters option does not provide a unique match.
+
+
vpn_gateway_id
string -
-
- -
The ID of the virtual private gateway.
-
+ +
The ID of the virtual private gateway.
+
+
wait_timeout
integer -
-
- Default:
600
-
-
How long before wait gives up, in seconds.
-
+ + + + Default:
600
+ + +
How long before wait gives up, in seconds.
+ + +
@@ -623,7 +642,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -634,7 +653,6 @@ Examples .. code-block:: yaml+jinja - # Note: None of these examples set aws_access_key, aws_secret_key, or region. # It is assumed that their matching environment variables are set. @@ -708,7 +726,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -721,209 +738,209 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
If the VPN connection has changed.
-
-
Sample:
-
{'changed': True}
- - - - +
If the VPN connection has changed.
+
+
Sample:
+
{'changed': True}
+ + + +
customer_gateway_configuration
string -
- + + state=present -
The configuration of the VPN connection.
-
- +
The configuration of the VPN connection.
+
+ - - + +
customer_gateway_id
string -
- + + state=present -
The customer gateway connected via the connection.
-
-
Sample:
-
{'customer_gateway_id': 'cgw-1220c87b'}
- - - - +
The customer gateway connected via the connection.
+
+
Sample:
+
{'customer_gateway_id': 'cgw-1220c87b'}
+ + + +
options
complex -
- + + state=present -
The VPN connection options (currently only containing static_routes_only).
-
- +
The VPN connection options (currently only containing static_routes_only).
+
+ - -   - + +   +
static_routes_only
string -
- + + state=present -
If the VPN connection only allows static routes.
-
-
Sample:
-
{'static_routes_only': True}
- +
If the VPN connection only allows static routes.
+
+
Sample:
+
{'static_routes_only': True}
+ - - - + + +
routes
list -
- + + state=present -
The routes of the VPN connection.
-
-
Sample:
-
{'routes': [{'destination_cidr_block': '192.168.1.0/24', 'state': 'available'}]}
- - - - +
The routes of the VPN connection.
+
+
Sample:
+
{'routes': [{'destination_cidr_block': '192.168.1.0/24', 'state': 'available'}]}
+ + + +
state
string -
- + + state=present -
The status of the VPN connection.
-
-
Sample:
-
{'state': 'available'}
- - - - +
The status of the VPN connection.
+
+
Sample:
+
{'state': 'available'}
+ + + +
tags
dictionary -
- + + state=present -
The tags associated with the connection.
-
-
Sample:
-
{'tags': {'name': 'ansible-test', 'other': 'tag'}}
- - - - +
The tags associated with the connection.
+
+
Sample:
+
{'tags': {'name': 'ansible-test', 'other': 'tag'}}
+ + + +
type
string -
- + + state=present -
The type of VPN connection (currently only ipsec.1 is available).
-
-
Sample:
-
{'type': 'ipsec.1'}
- - - - +
The type of VPN connection (currently only ipsec.1 is available).
+
+
Sample:
+
{'type': 'ipsec.1'}
+ + + +
vgw_telemetry
list -
- + + state=present -
The telemetry for the VPN tunnel.
-
-
Sample:
-
{'vgw_telemetry': [{'outside_ip_address': 'string', 'status': 'up', 'last_status_change': 'datetime(2015, 1, 1)', 'status_message': 'string', 'accepted_route_count': 123}]}
- - - - +
The telemetry for the VPN tunnel.
+
+
Sample:
+
{'vgw_telemetry': [{'outside_ip_address': 'string', 'status': 'up', 'last_status_change': 'datetime(2015, 1, 1)', 'status_message': 'string', 'accepted_route_count': 123}]}
+ + + +
vpn_connection_id
string -
- + + state=present -
The identifier for the VPN connection.
-
-
Sample:
-
{'vpn_connection_id': 'vpn-781e0e19'}
- - - - +
The identifier for the VPN connection.
+
+
Sample:
+
{'vpn_connection_id': 'vpn-781e0e19'}
+ + + +
vpn_gateway_id
string -
- + + state=present -
The virtual private gateway connected via the connection.
-
-
Sample:
-
{'vpn_gateway_id': 'vgw-cb0ae2a2'}
- +
The virtual private gateway connected via the connection.
+
+
Sample:
+
{'vpn_gateway_id': 'vgw-cb0ae2a2'}
+ - +

@@ -935,5 +952,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.ec2_win_password_module.rst b/docs/community.aws.ec2_win_password_module.rst index 92888f50c03..dbb14cb625c 100644 --- a/docs/community.aws.ec2_win_password_module.rst +++ b/docs/community.aws.ec2_win_password_module.rst @@ -37,258 +37,277 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
instance_id
string - / required
-
- -
The instance id to get the password data from.
-
+ +
The instance id to get the password data from.
+
+
key_data
string -
-
- -
The private key (usually stored in vault).
-
Conflicts with key_file,
-
+ +
The private key (usually stored in vault).
+
Conflicts with key_file,
+
+
key_file
path -
-
- -
Path to the file containing the key pair used on the instance.
-
Conflicts with key_data.
-
+ +
Path to the file containing the key pair used on the instance.
+
Conflicts with key_data.
+
+
key_passphrase
string -
-
- -
The passphrase for the instance key pair. The key must use DES or 3DES encryption for this module to decrypt it. You can use openssl to convert your password protected keys if they do not use DES or 3DES. ex) openssl rsa -in current_key -out new_key -des3.
-
+ +
The passphrase for the instance key pair. The key must use DES or 3DES encryption for this module to decrypt it. You can use openssl to convert your password protected keys if they do not use DES or 3DES. ex) openssl rsa -in current_key -out new_key -des3.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to wait for the password to be available before returning.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to wait for the password to be available before returning.
+
+
wait_timeout
integer -
-
- Default:
120
-
-
Number of seconds to wait before giving up.
-
+ Default:
120
+
+
Number of seconds to wait before giving up.
+
+
@@ -297,7 +316,7 @@ Notes .. note:: - As of Ansible 2.4, this module requires the python cryptography module rather than the older pycrypto module. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -308,7 +327,6 @@ Examples .. code-block:: yaml+jinja - # Example of getting a password - name: get the Administrator password community.aws.ec2_win_password: @@ -347,7 +365,6 @@ Examples - Status ------ @@ -356,5 +373,3 @@ Authors ~~~~~~~ - Rick Mendes (@rickmendes) - - diff --git a/docs/community.aws.ecs_attribute_module.rst b/docs/community.aws.ecs_attribute_module.rst index e45d1584b8a..c0bf8c0b3ba 100644 --- a/docs/community.aws.ecs_attribute_module.rst +++ b/docs/community.aws.ecs_attribute_module.rst @@ -37,258 +37,277 @@ Parameters .. raw:: html - + - + - - + - - + / elements=dictionary / required + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
attributes
list - / elements=dictionary / required
-
- -
List of attributes.
-
+ +
List of attributes.
+
+
name
string - / required
-
- -
The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.
-
+ +
The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.
+
+
value
string -
-
- -
The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.
-
+ +
The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.
+
+ +
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cluster
string - / required
-
- -
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.
-
+ +
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_instance_id
string - / required
-
- -
EC2 instance ID of ECS cluster container instance.
-
+ +
EC2 instance ID of ECS cluster container instance.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
The desired state of the attributes.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
The desired state of the attributes.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -296,7 +315,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -307,7 +326,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Set attributes @@ -332,7 +350,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -345,106 +362,106 @@ Common return values are documented `here Returned Description - - + +
attributes
complex -
- + + always -
attributes
-
- +
attributes
+
+ - -   - + +   +
attributes
list - / elements=dictionary
- + / elements=dictionary + -
list of attributes
-
- +
list of attributes
+
+ - -   -   - + +   +   +
name
string -
- + + -
name of the attribute
-
- +
name of the attribute
+
+ - -   -   - + +   +   +
value
string -
- + + if present -
value of the attribute
-
- +
value of the attribute
+
+ - - -   - + + +   +
cluster
string -
- + + -
cluster name
-
- +
cluster name
+
+ - -   - + +   +
ec2_instance_id
string -
- + + -
ec2 instance id of ecs container instance
-
- +
ec2 instance id of ecs container instance
+
+ - - + +

@@ -456,5 +473,3 @@ Authors ~~~~~~~ - Andrej Svenke (@anryko) - - diff --git a/docs/community.aws.ecs_cluster_module.rst b/docs/community.aws.ecs_cluster_module.rst index f8bffee55ac..c7cc3c9baf4 100644 --- a/docs/community.aws.ecs_cluster_module.rst +++ b/docs/community.aws.ecs_cluster_module.rst @@ -36,228 +36,247 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delay
integer -
-
- Default:
10
-
-
Number of seconds to wait.
-
+ Default:
10
+
+
Number of seconds to wait.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The cluster name.
-
+ +
The cluster name.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
repeat
integer -
-
- Default:
10
-
-
The number of times to wait for the cluster to have an instance.
-
+ Default:
10
+
+
The number of times to wait for the cluster to have an instance.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • has_instances
  • -
-
-
The desired state of the cluster.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • has_instances
  • +
+
+
The desired state of the cluster.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -267,7 +286,7 @@ Notes .. note:: - When deleting a cluster, the information returned is the state of the cluster prior to deletion. - It will also wait for a cluster to have instances registered to it. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -278,7 +297,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Cluster creation @@ -301,8 +319,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -315,118 +331,118 @@ Common return values are documented `here Returned Description - - + +
activeServicesCount
integer -
- + + 0 if a new cluster -
how many services are active in this cluster
-
- +
how many services are active in this cluster
+
+ - - + +
clusterArn
string -
- + + 0 if a new cluster -
the ARN of the cluster just created
-
-
Sample:
-
arn:aws:ecs:us-west-2:172139249013:cluster/test-cluster-mfshcdok
- +
the ARN of the cluster just created
+
+
Sample:
+
arn:aws:ecs:us-west-2:172139249013:cluster/test-cluster-mfshcdok
+ - - + +
clusterName
string -
- + + always -
name of the cluster just created (should match the input argument)
-
-
Sample:
-
test-cluster-mfshcdok
- +
name of the cluster just created (should match the input argument)
+
+
Sample:
+
test-cluster-mfshcdok
+ - - + +
pendingTasksCount
integer -
- + + 0 if a new cluster -
how many tasks are waiting to run in this cluster
-
- +
how many tasks are waiting to run in this cluster
+
+ - - + +
registeredContainerInstancesCount
integer -
- + + 0 if a new cluster -
how many container instances are available in this cluster
-
- +
how many container instances are available in this cluster
+
+ - - + +
runningTasksCount
integer -
- + + 0 if a new cluster -
how many tasks are running in this cluster
-
- +
how many tasks are running in this cluster
+
+ - - + +
status
string -
- + + always -
the status of the new cluster
-
-
Sample:
-
ACTIVE
- +
the status of the new cluster
+
+
Sample:
+
ACTIVE
+ - +

@@ -438,5 +454,3 @@ Authors ~~~~~~~ - Mark Chance (@Java1Guy) - - diff --git a/docs/community.aws.ecs_ecr_module.rst b/docs/community.aws.ecs_ecr_module.rst index 39ccb8ec31c..b3ca43aa53a 100644 --- a/docs/community.aws.ecs_ecr_module.rst +++ b/docs/community.aws.ecs_ecr_module.rst @@ -36,319 +36,338 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
force_set_policy
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If force_set_policy=false, it prevents setting a policy that would prevent you from setting another policy in the future.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If force_set_policy=false, it prevents setting a policy that would prevent you from setting another policy in the future.
+
+
image_tag_mutability
string -
-
-
    Choices: -
  • mutable ←
  • -
  • immutable
  • -
-
-
Configure whether repository should be mutable (ie. an already existing tag can be overwritten) or not.
-
+
    Choices: +
  • mutable ←
  • +
  • immutable
  • +
+
+
Configure whether repository should be mutable (ie. an already existing tag can be overwritten) or not.
+
+
lifecycle_policy
json -
-
- -
JSON or dict that represents the new lifecycle policy
-
+ +
JSON or dict that represents the new lifecycle policy
+
+
name
string - / required
-
- -
The name of the repository.
-
+ +
The name of the repository.
+
+
policy
json -
-
- -
JSON or dict that represents the new policy.
-
+ +
JSON or dict that represents the new policy.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_lifecycle_policy
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
if yes, remove the lifecycle policy from the repository
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
if yes, remove the lifecycle policy from the repository
+
+
purge_policy
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If yes, remove the policy from the repository.
-
Alias delete_policy has been deprecated and will be removed after 2022-06-01.
-

aliases: delete_policy
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If yes, remove the policy from the repository.
+
Alias delete_policy has been deprecated and will be removed after 2022-06-01.
+

aliases: delete_policy
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
registry_id
string -
-
- -
AWS account id associated with the registry.
-
If not specified, the default registry is assumed.
-
+ +
AWS account id associated with the registry.
+
If not specified, the default registry is assumed.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or destroy the repository.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or destroy the repository.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -356,7 +375,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -367,7 +386,6 @@ Examples .. code-block:: yaml+jinja - # If the repository does not exist, it is created. If it does exist, would not # affect any policies already on it. - name: ecr-repo @@ -436,7 +454,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -449,69 +466,69 @@ Common return values are documented `here Returned Description - - + +
created
boolean -
- + + always -
If true, the repository was created
-
- +
If true, the repository was created
+
+ - - + +
name
string -
- + + when state == 'absent' -
The name of the repository
-
- +
The name of the repository
+
+ - - + +
repository
dictionary -
- + + when state == 'present' -
The created or updated repository
-
-
Sample:
-
{'createdAt': '2017-01-17T08:41:32-06:00', 'registryId': '999999999999', 'repositoryArn': 'arn:aws:ecr:us-east-1:999999999999:repository/ecr-test-1484664090', 'repositoryName': 'ecr-test-1484664090', 'repositoryUri': '999999999999.dkr.ecr.us-east-1.amazonaws.com/ecr-test-1484664090'}
- +
The created or updated repository
+
+
Sample:
+
{'createdAt': '2017-01-17T08:41:32-06:00', 'registryId': '999999999999', 'repositoryArn': 'arn:aws:ecr:us-east-1:999999999999:repository/ecr-test-1484664090', 'repositoryName': 'ecr-test-1484664090', 'repositoryUri': '999999999999.dkr.ecr.us-east-1.amazonaws.com/ecr-test-1484664090'}
+ - - + +
state
string -
- + + always -
The asserted state of the repository (present, absent)
-
- +
The asserted state of the repository (present, absent)
+
+ - +

@@ -523,5 +540,3 @@ Authors ~~~~~~~ - David M. Lee (@leedm777) - - diff --git a/docs/community.aws.ecs_service_info_module.rst b/docs/community.aws.ecs_service_info_module.rst index 6c289787f3d..3f88a3749d3 100644 --- a/docs/community.aws.ecs_service_info_module.rst +++ b/docs/community.aws.ecs_service_info_module.rst @@ -39,229 +39,248 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cluster
string -
-
- -
The cluster ARNS in which to list the services.
-
+ +
The cluster ARNS in which to list the services.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
details
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Set this to true if you want detailed information about the services.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Set this to true if you want detailed information about the services.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
events
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to return ECS service events. Only has an effect if details=true.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to return ECS service events. Only has an effect if details=true.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
service
list - / elements=string
-
- -
One or more services to get details for
-
+ +
One or more services to get details for
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -269,7 +288,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -280,7 +299,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Basic listing example @@ -297,7 +315,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -310,251 +327,251 @@ Common return values are documented `here Returned Description - - + +
services
complex -
- + + success -
When details is false, returns an array of service ARNs, otherwise an array of complex objects as described below.
-
- +
When details is false, returns an array of service ARNs, otherwise an array of complex objects as described below.
+
+ - -   - + +   +
clusterArn
string -
- + + always -
The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
-
- +
The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
+
+ - -   - + +   +
deployments
list - / elements=dictionary
- + / elements=dictionary + always -
list of service deployments
-
- +
list of service deployments
+
+ - -   - + +   +
desiredCount
integer -
- + + always -
The desired number of instantiations of the task definition to keep running on the service.
-
- +
The desired number of instantiations of the task definition to keep running on the service.
+
+ - -   - + +   +
events
list - / elements=dictionary
- + / elements=dictionary + when events is true -
list of service events
-
- +
list of service events
+
+ - -   - + +   +
loadBalancers
complex -
- + + always -
A list of load balancer objects
-
- +
A list of load balancer objects
+
+ - -   -   - + +   +   +
containerName
string -
- + + always -
The name of the container to associate with the load balancer.
-
- +
The name of the container to associate with the load balancer.
+
+ - -   -   - + +   +   +
containerPort
integer -
- + + always -
The port on the container to associate with the load balancer.
-
- +
The port on the container to associate with the load balancer.
+
+ - -   -   - + +   +   +
loadBalancerName
string -
- + + always -
the name
-
- +
the name
+
+ - - -   - + + +   +
pendingCount
integer -
- + + always -
The number of tasks in the cluster that are in the PENDING state.
-
- +
The number of tasks in the cluster that are in the PENDING state.
+
+ - -   - + +   +
runningCount
integer -
- + + always -
The number of tasks in the cluster that are in the RUNNING state.
-
- +
The number of tasks in the cluster that are in the RUNNING state.
+
+ - -   - + +   +
serviceArn
string -
- + + always -
The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
-
- +
The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
+
+ - -   - + +   +
serviceName
string -
- + + always -
A user-generated string used to identify the service
-
- +
A user-generated string used to identify the service
+
+ - -   - + +   +
status
string -
- + + always -
The valid values are ACTIVE, DRAINING, or INACTIVE.
-
- +
The valid values are ACTIVE, DRAINING, or INACTIVE.
+
+ - -   - + +   +
taskDefinition
string -
- + + always -
The ARN of a task definition to use for tasks in the service.
-
- +
The ARN of a task definition to use for tasks in the service.
+
+ - - + +

@@ -567,5 +584,3 @@ Authors - Mark Chance (@Java1Guy) - Darek Kaczynski (@kaczynskid) - - diff --git a/docs/community.aws.ecs_service_module.rst b/docs/community.aws.ecs_service_module.rst index c76848b84b1..a27bb6ae9cc 100644 --- a/docs/community.aws.ecs_service_module.rst +++ b/docs/community.aws.ecs_service_module.rst @@ -38,674 +38,693 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / required + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + / elements=string + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + + + + - - - + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
client_token
string -
-
- -
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.
-
+ +
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.
+
+
cluster
string -
-
- -
The name of the cluster in which the service exists.
-
+ +
The name of the cluster in which the service exists.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delay
integer -
-
- Default:
10
-
-
The time to wait before checking that the service is available.
-
+ Default:
10
+
+
The time to wait before checking that the service is available.
+
+
deployment_configuration
dictionary -
-
- -
Optional parameters that control the deployment_configuration.
-
Format is '{"maximum_percent":<integer>, "minimum_healthy_percent":<integer>}
-
+ + + +
Optional parameters that control the deployment_configuration.
+
Format is '{"maximum_percent":<integer>, "minimum_healthy_percent":<integer>}
+
maximum_percent
integer -
-
- -
Upper limit on the number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment.
-
+ +
Upper limit on the number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment.
+
+
minimum_healthy_percent
integer -
-
- -
A lower limit on the number of tasks in a service that must remain in the RUNNING state during a deployment.
-
+ + + +
A lower limit on the number of tasks in a service that must remain in the RUNNING state during a deployment.
+
desired_count
integer -
-
- -
The count of how many instances of the service.
-
This parameter is required when state=present.
-
+ +
The count of how many instances of the service.
+
This parameter is required when state=present.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
force_new_deployment
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Force deployment of service even if there are no changes.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Force deployment of service even if there are no changes.
+
+
health_check_grace_period_seconds
integer -
-
- -
Seconds to wait before health checking the freshly added/updated services.
-
This option requires botocore >= 1.8.20.
-
+ +
Seconds to wait before health checking the freshly added/updated services.
+
This option requires botocore >= 1.8.20.
+
+
launch_type
string -
-
-
    Choices: -
  • EC2
  • -
  • FARGATE
  • -
-
-
The launch type on which to run your service.
-
+
    Choices: +
  • EC2
  • +
  • FARGATE
  • +
+
+
The launch type on which to run your service.
+
+
load_balancers
list - / elements=string
-
- -
The list of ELBs defined for this service.
-
+ +
The list of ELBs defined for this service.
+
+
name
string - / required
-
- -
The name of the service.
-
+ +
The name of the service.
+
+
network_configuration
dictionary -
-
- -
Network configuration of the service. Only applicable for task definitions created with network_mode=awsvpc.
-
assign_public_ip requires botocore >= 1.8.4
-
+ + + +
Network configuration of the service. Only applicable for task definitions created with network_mode=awsvpc.
+
assign_public_ip requires botocore >= 1.8.4
+
assign_public_ip
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether the task's elastic network interface receives a public IP address.
-
This option requires botocore >= 1.8.4.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether the task's elastic network interface receives a public IP address.
+
This option requires botocore >= 1.8.4.
+
+
security_groups
list - / elements=string
-
- -
A list of security group names or group IDs to associate with the task
-
+ +
A list of security group names or group IDs to associate with the task
+
+
subnets
list - / elements=string
-
- -
A list of subnet IDs to associate with the task
-
+ / elements=string + + +
A list of subnet IDs to associate with the task
+
placement_constraints
list - / elements=dictionary
-
- -
The placement constraints for the tasks in the service.
- -
+ / elements=dictionary + + +
The placement constraints for the tasks in the service.
+ +
expression
string -
-
- -
A cluster query language expression to apply to the constraint.
-
+ +
A cluster query language expression to apply to the constraint.
+
+
type
string -
-
- -
The type of constraint.
-
+ + + +
The type of constraint.
+
placement_strategy
list - / elements=dictionary
-
- -
The placement strategy objects to use for tasks in your service. You can specify a maximum of 5 strategy rules per service.
-
+ / elements=dictionary + + +
The placement strategy objects to use for tasks in your service. You can specify a maximum of 5 strategy rules per service.
+
field
string -
-
- -
The field to apply the placement strategy against.
-
+ +
The field to apply the placement strategy against.
+
+
type
string -
-
- -
The type of placement strategy.
-
+ + + +
The type of placement strategy.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
repeat
integer -
-
- Default:
10
-
-
The number of times to check that the service is available.
-
+ Default:
10
+
+
The number of times to check that the service is available.
+
+
role
string -
-
- -
The name or full Amazon Resource Name (ARN) of the IAM role that allows your Amazon ECS container agent to make calls to your load balancer on your behalf.
-
This parameter is only required if you are using a load balancer with your service in a network mode other than awsvpc.
-
+ +
The name or full Amazon Resource Name (ARN) of the IAM role that allows your Amazon ECS container agent to make calls to your load balancer on your behalf.
+
This parameter is only required if you are using a load balancer with your service in a network mode other than awsvpc.
+
+
scheduling_strategy
string -
-
-
    Choices: -
  • DAEMON
  • -
  • REPLICA
  • -
-
-
The scheduling strategy, defaults to "REPLICA" if not given to preserve previous behavior
-
+
    Choices: +
  • DAEMON
  • +
  • REPLICA
  • +
+
+
The scheduling strategy, defaults to "REPLICA" if not given to preserve previous behavior
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
service_registries
list - / elements=dictionary
-
- -
Describes service discovery registries this service will register with.
-
+ / elements=dictionary + + +
Describes service discovery registries this service will register with.
+
arn
string -
-
- -
Service discovery registry ARN
-
+ +
Service discovery registry ARN
+
+
container_name
string -
-
- -
container name for service discovery registration
-
+ +
container name for service discovery registration
+
+
container_port
integer -
-
- -
container port for service discovery registration
-
+ + + +
container port for service discovery registration
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • deleting
  • -
-
-
The desired state of the service.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • deleting
  • +
+
+
The desired state of the service.
+
+
task_definition
string -
-
- -
The task definition the service will run.
-
This parameter is required when state=present.
-
+ +
The task definition the service will run.
+
This parameter is required when state=present.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -716,7 +735,7 @@ Notes - The service role specified must be assumable. (i.e. have a trust relationship for the ecs service, ecs.amazonaws.com) - For details of the parameters and returns see https://boto3.readthedocs.io/en/latest/reference/services/ecs.html. - An IAM role must have been previously created. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -727,7 +746,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Basic provisioning example @@ -776,7 +794,6 @@ Examples field: memory - Returned Facts -------------- Facts returned by this module are added/updated in the ``hostvars`` host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them. @@ -784,433 +801,433 @@ Facts returned by this module are added/updated in the ``hostvars`` host facts a .. raw:: html - + - - + + + +
+ - - - + + + + +
+ - - - + + + + +
+ - - - - + + + + + +
+ - - - - + + + + + +
+ - - - - + + + / elements=dictionary + +
+ - - - + + + + +
+ - - - + + + / elements=dictionary + +
+ - - - + + + + +
+ - - - - + + + + + +
+ - - - - + + + + + +
+ - - - - + + + + + +
+ - - - - + + + + +
+ - - - + + + / elements=dictionary + +
+ - - - - + + + + + +
+ - - - - + + + + + +
+ - - - - + + + / elements=dictionary + +
+ - - - - + + + + + +
+ - - - - + + + + + +
+ - - - - + + + + +
+ - - - + + + + +
+ - - - + + + + +
+ - - - + + + + +
+ - - - + + + + +
+ - -
Fact Returned Description
+
service
complex -
-
when service existed and was deleted -
Details of deleted service. +
Details of deleted service.
-
-
+
clusterArn
string -
-
always -
The Amazon Resource Name (ARN) of the of the cluster that hosts the service. +
The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
-
-
+
deploymentConfiguration
complex -
-
always -
dictionary of deploymentConfiguration +
dictionary of deploymentConfiguration
-
-
+
maximumPercent
integer -
-
always -
maximumPercent param +
maximumPercent param
-
-
+
minimumHealthyPercent
integer -
-
always -
minimumHealthyPercent param +
minimumHealthyPercent param
-
-
+ +
deployments
list - / elements=dictionary
-
always -
list of service deployments +
list of service deployments
-
-
+
desiredCount
integer -
-
always -
The desired number of instantiations of the task definition to keep running on the service. +
The desired number of instantiations of the task definition to keep running on the service.
-
-
+
events
list - / elements=dictionary
-
always -
list of service events +
list of service events
-
-
+
loadBalancers
complex -
-
always -
A list of load balancer objects +
A list of load balancer objects
-
-
+
containerName
string -
-
always -
The name of the container to associate with the load balancer. +
The name of the container to associate with the load balancer.
-
-
+
containerPort
integer -
-
always -
The port on the container to associate with the load balancer. +
The port on the container to associate with the load balancer.
-
-
+
loadBalancerName
string -
-
always -
the name +
the name
-
-
+ +
pendingCount
integer -
-
always -
The number of tasks in the cluster that are in the PENDING state. +
The number of tasks in the cluster that are in the PENDING state.
-
-
+
placementConstraints
list - / elements=dictionary
-
always -
List of placement constraints objects +
List of placement constraints objects
-
-
+
expression
string -
-
always -
A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance. +
A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance.
-
-
+
type
string -
-
always -
The type of constraint. Valid values are distinctInstance and memberOf. +
The type of constraint. Valid values are distinctInstance and memberOf.
-
-
+ +
placementStrategy
list - / elements=dictionary
-
always -
List of placement strategy objects +
List of placement strategy objects
-
-
+
field
string -
-
always -
The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are CPU and MEMORY. +
The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are CPU and MEMORY.
-
-
+
type
string -
-
always -
The type of placement strategy. Valid values are random, spread and binpack. +
The type of placement strategy. Valid values are random, spread and binpack.
-
-
+ +
runningCount
integer -
-
always -
The number of tasks in the cluster that are in the RUNNING state. +
The number of tasks in the cluster that are in the RUNNING state.
-
-
+
serviceArn
string -
-
always -
The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service . +
The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
-
-
+
serviceName
string -
-
always -
A user-generated string used to identify the service +
A user-generated string used to identify the service
-
-
+
status
string -
-
always -
The valid values are ACTIVE, DRAINING, or INACTIVE. +
The valid values are ACTIVE, DRAINING, or INACTIVE.
-
-
+
taskDefinition
string -
-
always -
The ARN of a task definition to use for tasks in the service. +
The ARN of a task definition to use for tasks in the service.
-
-
+ +

@@ -1226,404 +1243,404 @@ Common return values are documented `here Returned Description - - + +
service
complex -
- + + when creating a service -
Details of created service.
-
- +
Details of created service.
+
+ - -   - + +   +
clusterArn
string -
- + + always -
The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
-
- +
The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
+
+ - -   - + +   +
deploymentConfiguration
complex -
- + + always -
dictionary of deploymentConfiguration
-
- +
dictionary of deploymentConfiguration
+
+ - -   -   - + +   +   +
maximumPercent
integer -
- + + always -
maximumPercent param
-
- - - -   -   - +
maximumPercent param
+
+ + + +   +   +
minimumHealthyPercent
integer -
- + + always -
minimumHealthyPercent param
-
- +
minimumHealthyPercent param
+
+ - - -   - + + +   +
deployments
list - / elements=dictionary
- + / elements=dictionary + always -
list of service deployments
-
- +
list of service deployments
+
+ - -   - + +   +
desiredCount
integer -
- + + always -
The desired number of instantiations of the task definition to keep running on the service.
-
- +
The desired number of instantiations of the task definition to keep running on the service.
+
+ - -   - + +   +
events
list - / elements=dictionary
- + / elements=dictionary + always -
list of service events
-
- +
list of service events
+
+ - -   - + +   +
loadBalancers
complex -
- + + always -
A list of load balancer objects
-
- +
A list of load balancer objects
+
+ - -   -   - + +   +   +
containerName
string -
- + + always -
The name of the container to associate with the load balancer.
-
- - - -   -   - +
The name of the container to associate with the load balancer.
+
+ + + +   +   +
containerPort
integer -
- + + always -
The port on the container to associate with the load balancer.
-
- - - -   -   - +
The port on the container to associate with the load balancer.
+
+ + + +   +   +
loadBalancerName
string -
- + + always -
the name
-
- +
the name
+
+ - - -   - + + +   +
pendingCount
integer -
- + + always -
The number of tasks in the cluster that are in the PENDING state.
-
- +
The number of tasks in the cluster that are in the PENDING state.
+
+ - -   - + +   +
placementConstraints
list - / elements=dictionary
- + / elements=dictionary + always -
List of placement constraints objects
-
- +
List of placement constraints objects
+
+ - -   -   - + +   +   +
expression
string -
- + + always -
A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance.
-
- - - -   -   - +
A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance.
+
+ + + +   +   +
type
string -
- + + always -
The type of constraint. Valid values are distinctInstance and memberOf.
-
- +
The type of constraint. Valid values are distinctInstance and memberOf.
+
+ - - -   - + + +   +
placementStrategy
list - / elements=dictionary
- + / elements=dictionary + always -
List of placement strategy objects
-
- +
List of placement strategy objects
+
+ - -   -   - + +   +   +
field
string -
- + + always -
The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are CPU and MEMORY.
-
- - - -   -   - +
The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are CPU and MEMORY.
+
+ + + +   +   +
type
string -
- + + always -
The type of placement strategy. Valid values are random, spread and binpack.
-
- +
The type of placement strategy. Valid values are random, spread and binpack.
+
+ - - -   - + + +   +
runningCount
integer -
- + + always -
The number of tasks in the cluster that are in the RUNNING state.
-
- +
The number of tasks in the cluster that are in the RUNNING state.
+
+ - -   - + +   +
serviceArn
string -
- + + always -
The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
-
- +
The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
+
+ - -   - + +   +
serviceName
string -
- + + always -
A user-generated string used to identify the service
-
- +
A user-generated string used to identify the service
+
+ - -   - + +   +
status
string -
- + + always -
The valid values are ACTIVE, DRAINING, or INACTIVE.
-
- +
The valid values are ACTIVE, DRAINING, or INACTIVE.
+
+ - -   - + +   +
taskDefinition
string -
- + + always -
The ARN of a task definition to use for tasks in the service.
-
- +
The ARN of a task definition to use for tasks in the service.
+
+ - - + +

@@ -1638,5 +1655,3 @@ Authors - Darek Kaczynski (@kaczynskid) - Stephane Maarek (@simplesteph) - Zac Blazic (@zacblazic) - - diff --git a/docs/community.aws.ecs_tag_module.rst b/docs/community.aws.ecs_tag_module.rst index 0a8f538e71a..8a3fa75dd79 100644 --- a/docs/community.aws.ecs_tag_module.rst +++ b/docs/community.aws.ecs_tag_module.rst @@ -38,269 +38,288 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cluster_name
string - / required
-
- -
The name of the cluster whose resources we are tagging.
-
+ +
The name of the cluster whose resources we are tagging.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether unspecified tags should be removed from the resource.
-
Note that when combined with state=absent, specified tags with non-matching values are not purged.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether unspecified tags should be removed from the resource.
+
Note that when combined with state=absent, specified tags with non-matching values are not purged.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
resource
string -
-
- -
The ECS resource name.
-
Required unless resource_type=cluster.
-
+ +
The ECS resource name.
+
Required unless resource_type=cluster.
+
+
resource_type
string -
-
-
    Choices: -
  • cluster ←
  • -
  • task
  • -
  • service
  • -
  • task_definition
  • -
  • container
  • -
-
-
The type of resource.
-
+
    Choices: +
  • cluster ←
  • +
  • task
  • +
  • service
  • +
  • task_definition
  • +
  • container
  • +
+
+
The type of resource.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether the tags should be present or absent on the resource.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether the tags should be present or absent on the resource.
+
+
tags
dictionary -
-
- -
A dictionary of tags to add or remove from the resource.
-
If the value provided for a tag is null and state=absent, the tag will be removed regardless of its current value.
-
+ +
A dictionary of tags to add or remove from the resource.
+
If the value provided for a tag is null and state=absent, the tag will be removed regardless of its current value.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -309,7 +328,7 @@ Notes .. note:: - none - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -320,7 +339,6 @@ Examples .. code-block:: yaml+jinja - - name: Ensure tags are present on a resource community.aws.ecs_tag: cluster_name: mycluster @@ -357,7 +375,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -370,52 +387,52 @@ Common return values are documented `here Returned Description - - + +
added_tags
dictionary -
- + + If tags were added -
A dict of tags that were added to the resource
-
- +
A dict of tags that were added to the resource
+
+ - - + +
removed_tags
dictionary -
- + + If tags were removed -
A dict of tags that were removed from the resource
-
- +
A dict of tags that were removed from the resource
+
+ - - + +
tags
dictionary -
- + + always -
A dict containing the tags on the resource
-
- +
A dict containing the tags on the resource
+
+ - +

@@ -427,5 +444,3 @@ Authors ~~~~~~~ - Michael Pechner (@mpechner) - - diff --git a/docs/community.aws.ecs_task_module.rst b/docs/community.aws.ecs_task_module.rst index 4b171d2f6a4..8f821a8f728 100644 --- a/docs/community.aws.ecs_task_module.rst +++ b/docs/community.aws.ecs_task_module.rst @@ -38,368 +38,387 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + / elements=string + + + - - - + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cluster
string -
-
- -
The name of the cluster to run the task on.
-
+ +
The name of the cluster to run the task on.
+
+
container_instances
list - / elements=string
-
- -
The list of container instances on which to deploy the task.
-
+ +
The list of container instances on which to deploy the task.
+
+
count
integer -
-
- -
How many new instances to start.
-
+ +
How many new instances to start.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
launch_type
string -
-
-
    Choices: -
  • EC2
  • -
  • FARGATE
  • -
-
-
The launch type on which to run your service.
-
+
    Choices: +
  • EC2
  • +
  • FARGATE
  • +
+
+
The launch type on which to run your service.
+
+
network_configuration
dictionary -
-
- -
Network configuration of the service. Only applicable for task definitions created with network_mode=awsvpc.
-
+ + + +
Network configuration of the service. Only applicable for task definitions created with network_mode=awsvpc.
+
security_groups
list - / elements=string
-
- -
A list of group names or group IDs for the task.
-
+ +
A list of group names or group IDs for the task.
+
+
subnets
list - / elements=string
-
- -
A list of subnet IDs to which the task is attached.
-
+ / elements=string + + +
A list of subnet IDs to which the task is attached.
+
operation
string - / required
-
-
    Choices: -
  • run
  • -
  • start
  • -
  • stop
  • -
-
-
Which task operation to execute.
-
+
    Choices: +
  • run
  • +
  • start
  • +
  • stop
  • +
+
+
Which task operation to execute.
+
+
overrides
dictionary -
-
- -
A dictionary of values to pass to the new instances.
-
+ +
A dictionary of values to pass to the new instances.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
started_by
string -
-
- -
A value showing who or what started the task (for informational purposes).
-
+ +
A value showing who or what started the task (for informational purposes).
+
+
tags
dictionary -
-
- -
Tags that will be added to ecs tasks on start and run
-
+ +
Tags that will be added to ecs tasks on start and run
+
+
task
string -
-
- -
The task to stop.
-
+ +
The task to stop.
+
+
task_definition
string -
-
- -
The task definition to start or run.
-
+ +
The task definition to start or run.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -407,7 +426,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -418,7 +437,6 @@ Examples .. code-block:: yaml+jinja - # Simple example of run task - name: Run task community.aws.ecs_task: @@ -478,7 +496,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -491,247 +508,247 @@ Common return values are documented `here Returned Description - - + +
task
complex -
- + + success -
details about the task that was started
-
- +
details about the task that was started
+
+ - -   - + +   +
clusterArn
string -
- + + only when details is true -
The Amazon Resource Name (ARN) of the of the cluster that hosts the task.
-
- +
The Amazon Resource Name (ARN) of the of the cluster that hosts the task.
+
+ - -   - + +   +
containerInstanceArn
string -
- + + only when details is true -
The Amazon Resource Name (ARN) of the container running the task.
-
- +
The Amazon Resource Name (ARN) of the container running the task.
+
+ - -   - + +   +
containers
list - / elements=dictionary
- + / elements=dictionary + only when details is true -
The container details.
-
- +
The container details.
+
+ - -   - + +   +
createdAt
string -
- + + only when details is true -
The timestamp of when the task was created.
-
- +
The timestamp of when the task was created.
+
+ - -   - + +   +
desiredStatus
string -
- + + only when details is true -
The desired status of the task.
-
- +
The desired status of the task.
+
+ - -   - + +   +
lastStatus
string -
- + + only when details is true -
The last recorded status of the task.
-
- +
The last recorded status of the task.
+
+ - -   - + +   +
launchType
string -
- + + always -
The launch type on which to run your task.
-
- +
The launch type on which to run your task.
+
+ - -   - + +   +
overrides
list - / elements=dictionary
- + / elements=dictionary + only when details is true -
The container overrides set for this task.
-
- +
The container overrides set for this task.
+
+ - -   - + +   +
startedAt
string -
- + + only when details is true -
The timestamp of when the task was started.
-
- +
The timestamp of when the task was started.
+
+ - -   - + +   +
startedBy
string -
- + + only when details is true -
The used who started the task.
-
- +
The used who started the task.
+
+ - -   - + +   +
stoppedAt
string -
- + + only when details is true -
The timestamp of when the task was stopped.
-
- +
The timestamp of when the task was stopped.
+
+ - -   - + +   +
stoppedReason
string -
- + + only when details is true -
The reason why the task was stopped.
-
- +
The reason why the task was stopped.
+
+ - -   - + +   +
taskArn
string -
- + + always -
The Amazon Resource Name (ARN) that identifies the task.
-
- +
The Amazon Resource Name (ARN) that identifies the task.
+
+ - -   - + +   +
taskDefinitionArn
string -
- + + only when details is true -
The Amazon Resource Name (ARN) of the task definition.
-
- +
The Amazon Resource Name (ARN) of the task definition.
+
+ - - + +

@@ -743,5 +760,3 @@ Authors ~~~~~~~ - Mark Chance (@Java1Guy) - - diff --git a/docs/community.aws.ecs_taskdefinition_info_module.rst b/docs/community.aws.ecs_taskdefinition_info_module.rst index 2f426b87f22..5cd1be9bc22 100644 --- a/docs/community.aws.ecs_taskdefinition_info_module.rst +++ b/docs/community.aws.ecs_taskdefinition_info_module.rst @@ -38,176 +38,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
task_definition
string - / required
-
- -
The name of the task definition to get details for
-
+ +
The name of the task definition to get details for
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -217,7 +236,7 @@ Notes .. note:: - For details of the parameters and returns see http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.describe_task_definition - This module was called ``ecs_taskdefinition_facts`` before Ansible 2.9. The usage did not change. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -228,7 +247,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - community.aws.ecs_taskdefinition_info: @@ -236,7 +254,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -249,982 +266,982 @@ Common return values are documented `here Returned Description - - + +
container_definitions
complex -
- + + success -
Returns a list of complex objects representing the containers
-
- +
Returns a list of complex objects representing the containers
+
+ - -   - + +   +
command
string -
- + + when present -
The command that is passed to the container.
-
- +
The command that is passed to the container.
+
+ - -   - + +   +
cpu
integer -
- + + always -
The number of cpu units reserved for the container.
-
- +
The number of cpu units reserved for the container.
+
+ - -   - + +   +
disableNetworking
boolean -
- + + when present -
When this parameter is true, networking is disabled within the container.
-
- +
When this parameter is true, networking is disabled within the container.
+
+ - -   - + +   +
dnsSearchDomains
string -
- + + when present -
A list of DNS search domains that are presented to the container.
-
- +
A list of DNS search domains that are presented to the container.
+
+ - -   - + +   +
dnsServers
string -
- + + when present -
A list of DNS servers that are presented to the container.
-
- +
A list of DNS servers that are presented to the container.
+
+ - -   - + +   +
dockerLabels
string -
- + + when present -
A key/value map of labels to add to the container.
-
- +
A key/value map of labels to add to the container.
+
+ - -   - + +   +
dockerSecurityOptions
string -
- + + when present -
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
-
- +
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
+
+ - -   - + +   +
entryPoint
string -
- + + when present -
The entry point that is passed to the container.
-
- +
The entry point that is passed to the container.
+
+ - -   - + +   +
environment
complex -
- + + always -
The environment variables to pass to a container.
-
- +
The environment variables to pass to a container.
+
+ - -   -   - + +   +   +
name
string -
- + + when present -
The name of the environment variable.
-
- - - -   -   - +
The name of the environment variable.
+
+ + + +   +   +
value
string -
- + + when present -
The value of the environment variable.
-
- +
The value of the environment variable.
+
+ - - -   - + + +   +
essential
boolean -
- + + always -
Whether this is an essential container or not.
-
- +
Whether this is an essential container or not.
+
+ - -   - + +   +
extraHosts
complex -
- + + when present -
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
-
- +
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
+
+ - -   -   - + +   +   +
hostname
string -
- + + when present -
The hostname to use in the /etc/hosts entry.
-
- - - -   -   - +
The hostname to use in the /etc/hosts entry.
+
+ + + +   +   +
ipAddress
string -
- + + when present -
The IP address to use in the /etc/hosts entry.
-
- +
The IP address to use in the /etc/hosts entry.
+
+ - - -   - + + +   +
hostname
string -
- + + when present -
The hostname to use for your container.
-
- +
The hostname to use for your container.
+
+ - -   - + +   +
image
string -
- + + always -
The image used to start a container.
-
- +
The image used to start a container.
+
+ - -   - + +   +
links
string -
- + + when present -
Links to other containers.
-
- +
Links to other containers.
+
+ - -   - + +   +
logConfiguration
string -
- + + when present -
The log configuration specification for the container.
-
- +
The log configuration specification for the container.
+
+ - -   - + +   +
memoryReservation
integer -
- + + when present -
The soft limit (in MiB) of memory to reserve for the container.
-
- +
The soft limit (in MiB) of memory to reserve for the container.
+
+ - -   - + +   +
mountPoints
complex -
- + + always -
The mount points for data volumes in your container.
-
- +
The mount points for data volumes in your container.
+
+ - -   -   - + +   +   +
containerPath
string -
- + + when present -
The path on the container to mount the host volume at.
-
- - - -   -   - +
The path on the container to mount the host volume at.
+
+ + + +   +   +
readOnly
boolean -
- + + when present -
If this value is true , the container has read-only access to the volume. If this value is false , then the container can write to the volume.
-
- - - -   -   - +
If this value is true , the container has read-only access to the volume. If this value is false , then the container can write to the volume.
+
+ + + +   +   +
sourceVolume
string -
- + + when present -
The name of the volume to mount.
-
- +
The name of the volume to mount.
+
+ - - -   - + + +   +
name
string -
- + + always -
The name of a container.
-
- +
The name of a container.
+
+ - -   - + +   +
options
string -
- + + when present -
The configuration options to send to the log driver.
-
- +
The configuration options to send to the log driver.
+
+ - -   - + +   +
portMappings
complex -
- + + always -
The list of port mappings for the container.
-
- +
The list of port mappings for the container.
+
+ - -   -   - + +   +   +
containerPort
integer -
- + + when present -
The port number on the container.
-
- - - -   -   - +
The port number on the container.
+
+ + + +   +   +
hostPort
integer -
- + + when present -
The port number on the container instance to reserve for your container.
-
- - - -   -   - +
The port number on the container instance to reserve for your container.
+
+ + + +   +   +
protocol
string -
- + + when present -
The protocol used for the port mapping.
-
- +
The protocol used for the port mapping.
+
+ - - -   - + + +   +
privileged
boolean -
- + + when present -
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
-
- +
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
+
+ - -   - + +   +
readonlyRootFilesystem
boolean -
- + + when present -
When this parameter is true, the container is given read-only access to its root file system.
-
- +
When this parameter is true, the container is given read-only access to its root file system.
+
+ - -   - + +   +
ulimits
complex -
- + + when present -
A list of ulimits to set in the container.
-
- +
A list of ulimits to set in the container.
+
+ - -   -   - + +   +   +
hardLimit
integer -
- + + when present -
The hard limit for the ulimit type.
-
- - - -   -   - +
The hard limit for the ulimit type.
+
+ + + +   +   +
name
string -
- + + when present -
The type of the ulimit .
-
- - - -   -   - +
The type of the ulimit .
+
+ + + +   +   +
softLimit
integer -
- + + when present -
The soft limit for the ulimit type.
-
- +
The soft limit for the ulimit type.
+
+ - - -   - + + +   +
user
string -
- + + when present -
The user name to use inside the container.
-
- +
The user name to use inside the container.
+
+ - -   - + +   +
volumesFrom
complex -
- + + always -
Data volumes to mount from another container.
-
- +
Data volumes to mount from another container.
+
+ - -   -   - + +   +   +
readOnly
boolean -
- + + when present -
If this value is true , the container has read-only access to the volume. If this value is false , then the container can write to the volume.
-
- - - -   -   - +
If this value is true , the container has read-only access to the volume. If this value is false , then the container can write to the volume.
+
+ + + +   +   +
sourceContainer
string -
- + + when present -
The name of another container within the same task definition to mount volumes from.
-
- +
The name of another container within the same task definition to mount volumes from.
+
+ - - -   - + + +   +
workingDirectory
string -
- + + when present -
The working directory in which to run commands inside the container.
-
- +
The working directory in which to run commands inside the container.
+
+ - - - + + +
family
string -
- + + always -
The family of your task definition, used as the definition name
-
- +
The family of your task definition, used as the definition name
+
+ - - + +
network_mode
string -
- + + always -
Network mode for the containers
-
- +
Network mode for the containers
+
+ - - + +
placement_constraints
complex -
- + + always -
A list of placement constraint objects to use for tasks
-
- +
A list of placement constraint objects to use for tasks
+
+ - -   - + +   +
expression
string -
- + + when present -
A cluster query language expression to apply to the constraint.
-
- +
A cluster query language expression to apply to the constraint.
+
+ - -   - + +   +
type
string -
- + + when present -
The type of constraint.
-
- +
The type of constraint.
+
+ - - - + + +
requires_attributes
complex -
- + + when present -
The container instance attributes required by your task
-
- +
The container instance attributes required by your task
+
+ - -   - + +   +
name
string -
- + + when present -
The name of the attribute.
-
- +
The name of the attribute.
+
+ - -   - + +   +
targetId
string -
- + + when present -
The ID of the target.
-
- +
The ID of the target.
+
+ - -   - + +   +
targetType
string -
- + + when present -
The type of the target with which to attach the attribute.
-
- +
The type of the target with which to attach the attribute.
+
+ - -   - + +   +
value
string -
- + + when present -
The value of the attribute.
-
- +
The value of the attribute.
+
+ - - - + + +
revision
integer -
- + + always -
Revision number that was queried
-
- +
Revision number that was queried
+
+ - - + +
status
string -
- + + always -
The status of the task definition
-
- +
The status of the task definition
+
+ - - + +
task_definition_arn
string -
- + + always -
ARN of the task definition
-
- +
ARN of the task definition
+
+ - - + +
task_role_arn
string -
- + + when role is set -
The ARN of the IAM role that containers in this task can assume
-
- +
The ARN of the IAM role that containers in this task can assume
+
+ - - + +
volumes
complex -
- + + always -
The list of volumes in a task
-
- +
The list of volumes in a task
+
+ - -   - + +   +
host
boolean -
- + + when present -
The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored.
-
- +
The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored.
+
+ - -   - + +   +
name
string -
- + + when present -
The name of the volume.
-
- +
The name of the volume.
+
+ - -   - + +   +
source_path
string -
- + + when present -
The path on the host container instance that is presented to the container.
-
- +
The path on the host container instance that is presented to the container.
+
+ - - + +

@@ -1238,5 +1255,3 @@ Authors - Gustavo Maia (@gurumaia) - Mark Chance (@Java1Guy) - Darek Kaczynski (@kaczynskid) - - diff --git a/docs/community.aws.ecs_taskdefinition_module.rst b/docs/community.aws.ecs_taskdefinition_module.rst index 91f569a6c81..040b5a0cb47 100644 --- a/docs/community.aws.ecs_taskdefinition_module.rst +++ b/docs/community.aws.ecs_taskdefinition_module.rst @@ -38,397 +38,416 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + / required + + + - -
Parameter Choices/DefaultsCommentsComments
+
arn
string -
-
- -
The ARN of the task description to delete.
-
+ +
The ARN of the task description to delete.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
containers
list - / elements=string
-
- -
A list of containers definitions.
-
+ +
A list of containers definitions.
+
+
cpu
string -
-
- -
The number of cpu units used by the task. If using the EC2 launch type, this field is optional and any value can be used.
-
If using the Fargate launch type, this field is required and you must use one of 256, 512, 1024, 2048, 4096.
-
+ +
The number of cpu units used by the task. If using the EC2 launch type, this field is optional and any value can be used.
+
If using the Fargate launch type, this field is required and you must use one of 256, 512, 1024, 2048, 4096.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
execution_role_arn
string -
-
- -
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
-
+ +
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
+
+
family
string -
-
- -
A Name that would be given to the task definition.
-
+ +
A Name that would be given to the task definition.
+
+
force_create
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Always create new task definition.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Always create new task definition.
+
+
launch_type
string -
-
-
    Choices: -
  • EC2
  • -
  • FARGATE
  • -
-
-
The launch type on which to run your task.
-
+
    Choices: +
  • EC2
  • +
  • FARGATE
  • +
+
+
The launch type on which to run your task.
+
+
memory
string -
-
- -
The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used.
-
If using the Fargate launch type, this field is required and is limited by the cpu.
-
+ +
The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used.
+
If using the Fargate launch type, this field is required and is limited by the cpu.
+
+
network_mode
string -
-
-
    Choices: -
  • default
  • -
  • bridge ←
  • -
  • host
  • -
  • none
  • -
  • awsvpc
  • -
-
-
The Docker networking mode to use for the containers in the task.
-
awsvpc mode was added in Ansible 2.5
-
Windows containers must use network_mode=default, which will utilize docker NAT networking.
-
Setting network_mode=default for a Linux container will use bridge mode.
-
+
    Choices: +
  • default
  • +
  • bridge ←
  • +
  • host
  • +
  • none
  • +
  • awsvpc
  • +
+
+
The Docker networking mode to use for the containers in the task.
+
awsvpc mode was added in Ansible 2.5
+
Windows containers must use network_mode=default, which will utilize docker NAT networking.
+
Setting network_mode=default for a Linux container will use bridge mode.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
revision
integer -
-
- -
A revision number for the task definition.
-
+ +
A revision number for the task definition.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
State whether the task definition should exist or be deleted.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
State whether the task definition should exist or be deleted.
+
+
task_role_arn
string -
-
- -
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
-
+ +
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
volumes
list - / elements=dictionary
-
- -
A list of names of volumes to be attached.
-
+ +
A list of names of volumes to be attached.
+
+
name
string - / required
-
- -
The name of the volume.
-
+ +
The name of the volume.
+
+ +
@@ -436,7 +455,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -447,7 +466,6 @@ Examples .. code-block:: yaml+jinja - - name: Create task definition community.aws.ecs_taskdefinition: containers: @@ -545,7 +563,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -558,22 +575,22 @@ Common return values are documented `here Returned Description - - + +
taskdefinition
dictionary -
- + + always -
a reflection of the input parameters
-
- +
a reflection of the input parameters
+
+ - +

@@ -585,5 +602,3 @@ Authors ~~~~~~~ - Mark Chance (@Java1Guy) - - diff --git a/docs/community.aws.efs_info_module.rst b/docs/community.aws.efs_info_module.rst index 70ad702130c..85601f63fac 100644 --- a/docs/community.aws.efs_info_module.rst +++ b/docs/community.aws.efs_info_module.rst @@ -37,223 +37,242 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
id
string -
-
- -
ID of Amazon EFS.
-
+ +
ID of Amazon EFS.
+
+
name
string -
-
- -
Creation Token of Amazon EFS file system.
-

aliases: creation_token
-
+ +
Creation Token of Amazon EFS file system.
+

aliases: creation_token
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
tags
dictionary -
-
- -
List of tags of Amazon EFS. Should be defined as dictionary.
-
+ +
List of tags of Amazon EFS. Should be defined as dictionary.
+
+
targets
list - / elements=string
-
- -
List of targets on which to filter the returned results.
-
Result must match all of the specified targets, each of which can be a security group ID, a subnet ID or an IP address.
-
+ +
List of targets on which to filter the returned results.
+
Result must match all of the specified targets, each of which can be a security group ID, a subnet ID or an IP address.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -261,7 +280,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -272,7 +291,6 @@ Examples .. code-block:: yaml+jinja - - name: Find all existing efs community.aws.efs_info: register: result @@ -291,12 +309,11 @@ Examples - sg-4d3c2b1a register: result - - debug: + - ansible.builtin.debug: msg: "{{ result['efs'] }}" - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -309,262 +326,262 @@ Common return values are documented `here Returned Description - - + +
creation_time
string -
- + + always -
timestamp of creation date
-
-
Sample:
-
2015-11-16 07:30:57-05:00
- +
timestamp of creation date
+
+
Sample:
+
2015-11-16 07:30:57-05:00
+ - - + +
creation_token
string -
- + + always -
EFS creation token
-
-
Sample:
-
console-88609e04-9a0e-4a2e-912c-feaa99509961
- +
EFS creation token
+
+
Sample:
+
console-88609e04-9a0e-4a2e-912c-feaa99509961
+ - - + +
file_system_id
string -
- + + always -
ID of the file system
-
-
Sample:
-
fs-xxxxxxxx
- +
ID of the file system
+
+
Sample:
+
fs-xxxxxxxx
+ - - + +
filesystem_address
string -
- + + always -
url of file system
-
-
Sample:
-
fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
- +
url of file system
+
+
Sample:
+
fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
+ - - + +
life_cycle_state
string -
- + + always -
state of the EFS file system
-
-
Sample:
-
creating, available, deleting, deleted
- +
state of the EFS file system
+
+
Sample:
+
creating, available, deleting, deleted
+ - - + +
mount_point
string -
- + + always -
url of file system with leading dot from the time AWS EFS required to add network suffix to EFS address
-
-
Sample:
-
.fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
- +
url of file system with leading dot from the time AWS EFS required to add network suffix to EFS address
+
+
Sample:
+
.fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
+ - - + +
mount_targets
list -
- + + always -
list of mount targets
-
-
Sample:
-
[{'file_system_id': 'fs-a7ad440e', 'ip_address': '172.31.17.173', 'life_cycle_state': 'available', 'mount_target_id': 'fsmt-d8907871', 'network_interface_id': 'eni-6e387e26', 'owner_id': '740748460359', 'security_groups': ['sg-a30b22c6'], 'subnet_id': 'subnet-e265c895'}, '...']
- +
list of mount targets
+
+
Sample:
+
[{'file_system_id': 'fs-a7ad440e', 'ip_address': '172.31.17.173', 'life_cycle_state': 'available', 'mount_target_id': 'fsmt-d8907871', 'network_interface_id': 'eni-6e387e26', 'owner_id': '740748460359', 'security_groups': ['sg-a30b22c6'], 'subnet_id': 'subnet-e265c895'}, '...']
+ - - + +
name
string -
- + + always -
name of the file system
-
-
Sample:
-
my-efs
- +
name of the file system
+
+
Sample:
+
my-efs
+ - - + +
number_of_mount_targets
integer -
- + + always -
the number of targets mounted
-
-
Sample:
-
3
- +
the number of targets mounted
+
+
Sample:
+
3
+ - - + +
owner_id
string -
- + + always -
AWS account ID of EFS owner
-
-
Sample:
-
XXXXXXXXXXXX
- +
AWS account ID of EFS owner
+
+
Sample:
+
XXXXXXXXXXXX
+ - - + +
performance_mode
string -
- + + always -
performance mode of the file system
-
-
Sample:
-
generalPurpose
- +
performance mode of the file system
+
+
Sample:
+
generalPurpose
+ - - + +
provisioned_throughput_in_mibps
float -
- + + when botocore >= 1.10.57 and throughput_mode is set to "provisioned" -
throughput provisioned in Mibps
-
-
Sample:
-
15.0
- +
throughput provisioned in Mibps
+
+
Sample:
+
15.0
+ - - + +
size_in_bytes
dictionary -
- + + always -
size of the file system in bytes as of a timestamp
-
-
Sample:
-
{'timestamp': '2015-12-21 13:59:59-05:00', 'value': 12288}
- +
size of the file system in bytes as of a timestamp
+
+
Sample:
+
{'timestamp': '2015-12-21 13:59:59-05:00', 'value': 12288}
+ - - + +
tags
dictionary -
- + + always -
tags on the efs instance
-
-
Sample:
-
{'name': 'my-efs', 'key': 'Value'}
- +
tags on the efs instance
+
+
Sample:
+
{'name': 'my-efs', 'key': 'Value'}
+ - - + +
throughput_mode
string -
- + + when botocore >= 1.10.57 -
mode of throughput for the file system
-
-
Sample:
-
bursting
- +
mode of throughput for the file system
+
+
Sample:
+
bursting
+ - +

@@ -576,5 +593,3 @@ Authors ~~~~~~~ - Ryan Sydnor (@ryansydnor) - - diff --git a/docs/community.aws.efs_module.rst b/docs/community.aws.efs_module.rst index 5ef1d40cb81..92481e55fe8 100644 --- a/docs/community.aws.efs_module.rst +++ b/docs/community.aws.efs_module.rst @@ -36,432 +36,451 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - + / elements=string + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
encrypt
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If encrypt=true creates an encrypted file system. This can not be modified after the file system is created.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If encrypt=true creates an encrypted file system. This can not be modified after the file system is created.
+
+
id
string -
-
- -
ID of Amazon EFS. Either name or ID required for delete.
-
+ +
ID of Amazon EFS. Either name or ID required for delete.
+
+
kms_key_id
string -
-
- -
The id of the AWS KMS CMK that will be used to protect the encrypted file system. This parameter is only required if you want to use a non-default CMK. If this parameter is not specified, the default CMK for Amazon EFS is used. The key id can be Key ID, Key ID ARN, Key Alias or Key Alias ARN.
-
+ +
The id of the AWS KMS CMK that will be used to protect the encrypted file system. This parameter is only required if you want to use a non-default CMK. If this parameter is not specified, the default CMK for Amazon EFS is used. The key id can be Key ID, Key ID ARN, Key Alias or Key Alias ARN.
+
+
name
string -
-
- -
Creation Token of Amazon EFS file system. Required for create and update. Either name or ID required for delete.
-
+ +
Creation Token of Amazon EFS file system. Required for create and update. Either name or ID required for delete.
+
+
performance_mode
string -
-
-
    Choices: -
  • general_purpose ←
  • -
  • max_io
  • -
-
-
File system's performance mode to use. Only takes effect during creation.
-
+
    Choices: +
  • general_purpose ←
  • +
  • max_io
  • +
+
+
File system's performance mode to use. Only takes effect during creation.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
provisioned_throughput_in_mibps
float -
-
- -
If the throughput_mode is provisioned, select the amount of throughput to provisioned in Mibps.
-
Requires botocore >= 1.10.57
-
+ +
If the throughput_mode is provisioned, select the amount of throughput to provisioned in Mibps.
+
Requires botocore >= 1.10.57
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tags parameter is not set then tags will not be modified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tags parameter is not set then tags will not be modified.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Allows to create, search and destroy Amazon EFS file system.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Allows to create, search and destroy Amazon EFS file system.
+
+
tags
dictionary -
-
- -
List of tags of Amazon EFS. Should be defined as dictionary In case of 'present' state with list of tags and existing EFS (matched by 'name'), tags of EFS will be replaced with provided data.
-
+ +
List of tags of Amazon EFS. Should be defined as dictionary In case of 'present' state with list of tags and existing EFS (matched by 'name'), tags of EFS will be replaced with provided data.
+
+
targets
list - / elements=dictionary
-
- -
List of mounted targets. It should be a list of dictionaries, every dictionary should include next attributes: This data may be modified for existing EFS using state 'present' and new list of mount targets.
-
+ / elements=dictionary + + +
List of mounted targets. It should be a list of dictionaries, every dictionary should include next attributes: This data may be modified for existing EFS using state 'present' and new list of mount targets.
+
ip_address
string -
-
- -
A valid IPv4 address within the address range of the specified subnet.
-
+ +
A valid IPv4 address within the address range of the specified subnet.
+
+
security_groups
list - / elements=string
-
- -
List of security group IDs, of the form 'sg-xxxxxxxx'. These must be for the same VPC as subnet specified
-
+ +
List of security group IDs, of the form 'sg-xxxxxxxx'. These must be for the same VPC as subnet specified
+
+
subnet_id
- - / required
-
- -
The ID of the subnet to add the mount target in.
-
+ / required + + +
The ID of the subnet to add the mount target in.
+
throughput_mode
string -
-
-
    Choices: -
  • bursting
  • -
  • provisioned
  • -
-
-
The throughput_mode for the file system to be created.
-
Requires botocore >= 1.10.57
-
+
    Choices: +
  • bursting
  • +
  • provisioned
  • +
+
+
The throughput_mode for the file system to be created.
+
Requires botocore >= 1.10.57
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
In case of 'present' state should wait for EFS 'available' life cycle state (of course, if current state not 'deleting' or 'deleted') In case of 'absent' state should wait for EFS 'deleted' life cycle state
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
In case of 'present' state should wait for EFS 'available' life cycle state (of course, if current state not 'deleting' or 'deleted') In case of 'absent' state should wait for EFS 'deleted' life cycle state
+
+
wait_timeout
integer -
-
- Default:
0
-
-
How long the module should wait (in seconds) for desired state before returning. Zero means wait as long as necessary.
-
+ + + + Default:
0
+ + +
How long the module should wait (in seconds) for desired state before returning. Zero means wait as long as necessary.
+ + +
@@ -469,7 +488,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -480,7 +499,6 @@ Examples .. code-block:: yaml+jinja - - name: EFS provisioning community.aws.efs: state: present @@ -509,7 +527,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -522,228 +539,228 @@ Common return values are documented `here Returned Description - - + +
creation_time
string -
- + + always -
timestamp of creation date
-
-
Sample:
-
2015-11-16 07:30:57-05:00
- - - - +
timestamp of creation date
+
+
Sample:
+
2015-11-16 07:30:57-05:00
+ + + +
creation_token
string -
- + + always -
EFS creation token
-
-
Sample:
-
console-88609e04-9a0e-4a2e-912c-feaa99509961
- - - - +
EFS creation token
+
+
Sample:
+
console-88609e04-9a0e-4a2e-912c-feaa99509961
+ + + +
file_system_id
string -
- + + always -
ID of the file system
-
-
Sample:
-
fs-xxxxxxxx
- - - - +
ID of the file system
+
+
Sample:
+
fs-xxxxxxxx
+ + + +
filesystem_address
string -
- + + always -
url of file system valid for use with mount
-
-
Sample:
-
fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
- - - - +
url of file system valid for use with mount
+
+
Sample:
+
fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
+ + + +
life_cycle_state
string -
- + + always -
state of the EFS file system
-
-
Sample:
-
creating, available, deleting, deleted
- - - - +
state of the EFS file system
+
+
Sample:
+
creating, available, deleting, deleted
+ + + +
mount_point
string -
- + + always -
url of file system with leading dot from the time when AWS EFS required to add a region suffix to the address
-
-
Sample:
-
.fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
- - - - +
url of file system with leading dot from the time when AWS EFS required to add a region suffix to the address
+
+
Sample:
+
.fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/
+ + + +
mount_targets
list -
- + + always -
list of mount targets
-
-
Sample:
-
[{'file_system_id': 'fs-a7ad440e', 'ip_address': '172.31.17.173', 'life_cycle_state': 'available', 'mount_target_id': 'fsmt-d8907871', 'network_interface_id': 'eni-6e387e26', 'owner_id': '740748460359', 'security_groups': ['sg-a30b22c6'], 'subnet_id': 'subnet-e265c895'}, '...']
- - - - +
list of mount targets
+
+
Sample:
+
[{'file_system_id': 'fs-a7ad440e', 'ip_address': '172.31.17.173', 'life_cycle_state': 'available', 'mount_target_id': 'fsmt-d8907871', 'network_interface_id': 'eni-6e387e26', 'owner_id': '740748460359', 'security_groups': ['sg-a30b22c6'], 'subnet_id': 'subnet-e265c895'}, '...']
+ + + +
name
string -
- + + always -
name of the file system
-
-
Sample:
-
my-efs
- - - - +
name of the file system
+
+
Sample:
+
my-efs
+ + + +
number_of_mount_targets
integer -
- + + always -
the number of targets mounted
-
-
Sample:
-
3
- - - - +
the number of targets mounted
+
+
Sample:
+
3
+ + + +
owner_id
string -
- + + always -
AWS account ID of EFS owner
-
-
Sample:
-
XXXXXXXXXXXX
- - - - +
AWS account ID of EFS owner
+
+
Sample:
+
XXXXXXXXXXXX
+ + + +
performance_mode
string -
- + + always -
performance mode of the file system
-
-
Sample:
-
generalPurpose
- - - - +
performance mode of the file system
+
+
Sample:
+
generalPurpose
+ + + +
size_in_bytes
dictionary -
- + + always -
size of the file system in bytes as of a timestamp
-
-
Sample:
-
{'timestamp': '2015-12-21 13:59:59-05:00', 'value': 12288}
- - - - +
size of the file system in bytes as of a timestamp
+
+
Sample:
+
{'timestamp': '2015-12-21 13:59:59-05:00', 'value': 12288}
+ + + +
tags
dictionary -
- + + always -
tags on the efs instance
-
-
Sample:
-
{'name': 'my-efs', 'key': 'Value'}
- +
tags on the efs instance
+
+
Sample:
+
{'name': 'my-efs', 'key': 'Value'}
+ - +

@@ -756,5 +773,3 @@ Authors - Ryan Sydnor (@ryansydnor) - Artem Kazakov (@akazakov) - - diff --git a/docs/community.aws.elasticache_info_module.rst b/docs/community.aws.elasticache_info_module.rst index 1ccb64c9b55..e2a78da6b3f 100644 --- a/docs/community.aws.elasticache_info_module.rst +++ b/docs/community.aws.elasticache_info_module.rst @@ -36,176 +36,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string -
-
- -
The name of an ElastiCache cluster.
-
+ +
The name of an ElastiCache cluster.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -213,7 +232,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -224,7 +243,6 @@ Examples .. code-block:: yaml+jinja - - name: obtain all ElastiCache information community.aws.elasticache_info: @@ -234,7 +252,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -247,661 +264,661 @@ Common return values are documented `here Returned Description - - + +
elasticache_clusters
complex -
- + + always -
List of ElastiCache clusters
-
- +
List of ElastiCache clusters
+
+ - -   - + +   +
auto_minor_version_upgrade
boolean -
- + + always -
Whether to automatically upgrade to minor versions
-
-
Sample:
-
True
- +
Whether to automatically upgrade to minor versions
+
+
Sample:
+
True
+ - -   - + +   +
cache_cluster_create_time
string -
- + + always -
Date and time cluster was created
-
-
Sample:
-
2017-09-15T05:43:46.038000+00:00
- +
Date and time cluster was created
+
+
Sample:
+
2017-09-15T05:43:46.038000+00:00
+ - -   - + +   +
cache_cluster_id
string -
- + + always -
ID of the cache cluster
-
-
Sample:
-
abcd-1234-001
- +
ID of the cache cluster
+
+
Sample:
+
abcd-1234-001
+ - -   - + +   +
cache_cluster_status
string -
- + + always -
Status of ElastiCache cluster
-
-
Sample:
-
available
- +
Status of ElastiCache cluster
+
+
Sample:
+
available
+ - -   - + +   +
cache_node_type
string -
- + + always -
Instance type of ElastiCache nodes
-
-
Sample:
-
cache.t2.micro
- +
Instance type of ElastiCache nodes
+
+
Sample:
+
cache.t2.micro
+ - -   - + +   +
cache_nodes
complex -
- + + always -
List of ElastiCache nodes in the cluster
-
- +
List of ElastiCache nodes in the cluster
+
+ - -   -   - + +   +   +
cache_node_create_time
string -
- + + always -
Date and time node was created
-
-
Sample:
-
2017-09-15T05:43:46.038000+00:00
- +
Date and time node was created
+
+
Sample:
+
2017-09-15T05:43:46.038000+00:00
+ - -   -   - + +   +   +
cache_node_id
string -
- + + always -
ID of the cache node
-
-
Sample:
-
0001
- +
ID of the cache node
+
+
Sample:
+
0001
+ - -   -   - + +   +   +
cache_node_status
string -
- + + always -
Status of the cache node
-
-
Sample:
-
available
- +
Status of the cache node
+
+
Sample:
+
available
+ - -   -   - + +   +   +
customer_availability_zone
string -
- + + always -
Availability Zone in which the cache node was created
-
-
Sample:
-
ap-southeast-2b
- +
Availability Zone in which the cache node was created
+
+
Sample:
+
ap-southeast-2b
+ - -   -   - + +   +   +
endpoint
complex -
- + + always -
Connection details for the cache node
-
- +
Connection details for the cache node
+
+ - -   -   -   - + +   +   +   +
address
string -
- + + always -
URL of the cache node endpoint
-
-
Sample:
-
abcd-1234-001.bgiz2p.0001.apse2.cache.amazonaws.com
- +
URL of the cache node endpoint
+
+
Sample:
+
abcd-1234-001.bgiz2p.0001.apse2.cache.amazonaws.com
+ - -   -   -   - + +   +   +   +
port
integer -
- + + always -
Port of the cache node endpoint
-
-
Sample:
-
6379
- +
Port of the cache node endpoint
+
+
Sample:
+
6379
+ - - -   -   - + + +   +   +
parameter_group_status
string -
- + + always -
Status of the Cache Parameter Group
-
-
Sample:
-
in-sync
- +
Status of the Cache Parameter Group
+
+
Sample:
+
in-sync
+ - - -   - + + +   +
cache_parameter_group
complex -
- + + always -
Contents of the Cache Parameter Group
-
- +
Contents of the Cache Parameter Group
+
+ - -   -   - + +   +   +
cache_node_ids_to_reboot
list -
- + + always -
Cache nodes which need to be rebooted for parameter changes to be applied
-
- +
Cache nodes which need to be rebooted for parameter changes to be applied
+
+ - -   -   - + +   +   +
cache_parameter_group_name
string -
- + + always -
Name of the cache parameter group
-
-
Sample:
-
default.redis3.2
- +
Name of the cache parameter group
+
+
Sample:
+
default.redis3.2
+ - -   -   - + +   +   +
parameter_apply_status
string -
- + + always -
Status of parameter updates
-
-
Sample:
-
in-sync
- +
Status of parameter updates
+
+
Sample:
+
in-sync
+ - - -   - + + +   +
cache_security_groups
list -
- + + always -
Security Groups used by the cache
-
-
Sample:
-
['sg-abcd1234']
- +
Security Groups used by the cache
+
+
Sample:
+
['sg-abcd1234']
+ - -   - + +   +
cache_subnet_group_name
string -
- + + always -
ElastiCache Subnet Group used by the cache
-
-
Sample:
-
abcd-subnet-group
- +
ElastiCache Subnet Group used by the cache
+
+
Sample:
+
abcd-subnet-group
+ - -   - + +   +
client_download_landing_page
string -
- + + always -
URL of client download web page
-
-
Sample:
-
https://console.aws.amazon.com/elasticache/home#client-download:
- +
URL of client download web page
+
+
Sample:
+
https://console.aws.amazon.com/elasticache/home#client-download:
+ - -   - + +   +
engine
string -
- + + always -
Engine used by ElastiCache
-
-
Sample:
-
redis
- +
Engine used by ElastiCache
+
+
Sample:
+
redis
+ - -   - + +   +
engine_version
string -
- + + always -
Version of ElastiCache engine
-
-
Sample:
-
3.2.4
- +
Version of ElastiCache engine
+
+
Sample:
+
3.2.4
+ - -   - + +   +
notification_configuration
complex -
- + + if notifications are enabled -
Configuration of notifications
-
- +
Configuration of notifications
+
+ - -   -   - + +   +   +
topic_arn
string -
- + + if notifications are enabled -
ARN of notification destination topic
-
-
Sample:
-
arn:aws:sns:*:123456789012:my_topic
- +
ARN of notification destination topic
+
+
Sample:
+
arn:aws:sns:*:123456789012:my_topic
+ - -   -   - + +   +   +
topic_name
string -
- + + if notifications are enabled -
Name of notification destination topic
-
-
Sample:
-
MyTopic
- +
Name of notification destination topic
+
+
Sample:
+
MyTopic
+ - - -   - + + +   +
num_cache_nodes
integer -
- + + always -
Number of Cache Nodes
-
-
Sample:
-
1
- +
Number of Cache Nodes
+
+
Sample:
+
1
+ - -   - + +   +
pending_modified_values
complex -
- + + always -
Values that are pending modification
-
- +
Values that are pending modification
+
+ - -   - + +   +
preferred_availability_zone
string -
- + + always -
Preferred Availability Zone
-
-
Sample:
-
ap-southeast-2b
- +
Preferred Availability Zone
+
+
Sample:
+
ap-southeast-2b
+ - -   - + +   +
preferred_maintenance_window
string -
- + + always -
Time slot for preferred maintenance window
-
-
Sample:
-
sat:12:00-sat:13:00
- +
Time slot for preferred maintenance window
+
+
Sample:
+
sat:12:00-sat:13:00
+ - -   - + +   +
replication_group_id
string -
- + + always -
Replication Group Id
-
-
Sample:
-
replication-001
- +
Replication Group Id
+
+
Sample:
+
replication-001
+ - -   - + +   +
security_groups
complex -
- + + always -
List of Security Groups associated with ElastiCache
-
- +
List of Security Groups associated with ElastiCache
+
+ - -   -   - + +   +   +
security_group_id
string -
- + + always -
Security Group ID
-
-
Sample:
-
sg-abcd1234
- +
Security Group ID
+
+
Sample:
+
sg-abcd1234
+ - -   -   - + +   +   +
status
string -
- + + always -
Status of Security Group
-
-
Sample:
-
active
- +
Status of Security Group
+
+
Sample:
+
active
+ - - -   - + + +   +
tags
complex -
- + + always -
Tags applied to the ElastiCache cluster
-
-
Sample:
-
{'Application': 'web', 'Environment': 'test'}
- +
Tags applied to the ElastiCache cluster
+
+
Sample:
+
{'Application': 'web', 'Environment': 'test'}
+ - - + +

@@ -913,5 +930,3 @@ Authors ~~~~~~~ - Will Thames (@willthames) - - diff --git a/docs/community.aws.elasticache_module.rst b/docs/community.aws.elasticache_module.rst index 264fd43bfef..8aa849199f3 100644 --- a/docs/community.aws.elasticache_module.rst +++ b/docs/community.aws.elasticache_module.rst @@ -37,392 +37,411 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cache_engine_version
string -
-
- -
The version number of the cache engine.
-
+ +
The version number of the cache engine.
+
+
cache_parameter_group
string -
-
- -
The name of the cache parameter group to associate with this cache cluster. If this argument is omitted, the default cache parameter group for the specified engine will be used.
-

aliases: parameter_group
-
+ +
The name of the cache parameter group to associate with this cache cluster. If this argument is omitted, the default cache parameter group for the specified engine will be used.
+

aliases: parameter_group
+
+
cache_port
integer -
-
- -
The port number on which each of the cache nodes will accept connections.
-
+ +
The port number on which each of the cache nodes will accept connections.
+
+
cache_security_groups
list - / elements=string
-
- -
A list of cache security group names to associate with this cache cluster. Must be an empty list if inside a vpc.
-
+ +
A list of cache security group names to associate with this cache cluster. Must be an empty list if inside a vpc.
+
+
cache_subnet_group
string -
-
- -
The subnet group name to associate with. Only use if inside a vpc.
-
Required if inside a vpc
-
+ +
The subnet group name to associate with. Only use if inside a vpc.
+
Required if inside a vpc
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
engine
string -
-
- Default:
"memcached"
-
-
Name of the cache engine to be used.
-
Supported values are redis and memcached.
-
+ Default:
"memcached"
+
+
Name of the cache engine to be used.
+
Supported values are redis and memcached.
+
+
hard_modify
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether to destroy and recreate an existing cache cluster if necessary in order to modify its state.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether to destroy and recreate an existing cache cluster if necessary in order to modify its state.
+
+
name
string - / required
-
- -
The cache cluster identifier.
-
+ +
The cache cluster identifier.
+
+
node_type
string -
-
- Default:
"cache.t2.small"
-
-
The compute and memory capacity of the nodes in the cache cluster.
-
+ Default:
"cache.t2.small"
+
+
The compute and memory capacity of the nodes in the cache cluster.
+
+
num_nodes
integer -
-
- Default:
1
-
-
The initial number of cache nodes that the cache cluster will have.
-
Required when state=present.
-
+ Default:
1
+
+
The initial number of cache nodes that the cache cluster will have.
+
Required when state=present.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_group_ids
list - / elements=string
-
- -
A list of vpc security group IDs to associate with this cache cluster. Only use if inside a vpc.
-
+ +
A list of vpc security group IDs to associate with this cache cluster. Only use if inside a vpc.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • rebooted
  • -
-
-
absent or present are idempotent actions that will create or destroy a cache cluster as needed.
-
rebooted will reboot the cluster, resulting in a momentary outage.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • rebooted
  • +
+
+
absent or present are idempotent actions that will create or destroy a cache cluster as needed.
+
rebooted will reboot the cluster, resulting in a momentary outage.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Wait for cache cluster result before returning.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Wait for cache cluster result before returning.
+
+
zone
string -
-
- -
The EC2 Availability Zone in which the cache cluster will be created.
-
+ +
The EC2 Availability Zone in which the cache cluster will be created.
+
+
@@ -430,7 +449,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -441,7 +460,6 @@ Examples .. code-block:: yaml+jinja - # Note: None of these examples set aws_access_key, aws_secret_key, or region. # It is assumed that their matching environment variables are set. @@ -472,8 +490,6 @@ Examples - - Status ------ @@ -482,5 +498,3 @@ Authors ~~~~~~~ - Jim Dalton (@jsdalton) - - diff --git a/docs/community.aws.elasticache_parameter_group_module.rst b/docs/community.aws.elasticache_parameter_group_module.rst index 87c32316aea..d0109d76579 100644 --- a/docs/community.aws.elasticache_parameter_group_module.rst +++ b/docs/community.aws.elasticache_parameter_group_module.rst @@ -38,250 +38,269 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A user-specified description for the cache parameter group.
-
+ +
A user-specified description for the cache parameter group.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
group_family
string -
-
-
    Choices: -
  • memcached1.4
  • -
  • memcached1.5
  • -
  • redis2.6
  • -
  • redis2.8
  • -
  • redis3.2
  • -
  • redis4.0
  • -
  • redis5.0
  • -
-
-
The name of the cache parameter group family that the cache parameter group can be used with. Required when creating a cache parameter group.
-
+
    Choices: +
  • memcached1.4
  • +
  • memcached1.5
  • +
  • redis2.6
  • +
  • redis2.8
  • +
  • redis3.2
  • +
  • redis4.0
  • +
  • redis5.0
  • +
+
+
The name of the cache parameter group family that the cache parameter group can be used with. Required when creating a cache parameter group.
+
+
name
string - / required
-
- -
A user-specified name for the cache parameter group.
-
+ +
A user-specified name for the cache parameter group.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • reset
  • -
-
-
Idempotent actions that will create/modify, destroy, or reset a cache parameter group as needed.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • reset
  • +
+
+
Idempotent actions that will create/modify, destroy, or reset a cache parameter group as needed.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
values
dictionary -
-
- -
A user-specified dictionary of parameters to reset or modify for the cache parameter group.
-
+ +
A user-specified dictionary of parameters to reset or modify for the cache parameter group.
+
+
@@ -289,7 +308,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -300,7 +319,6 @@ Examples .. code-block:: yaml+jinja - # Note: None of these examples set aws_access_key, aws_secret_key, or region. # It is assumed that their matching environment variables are set. --- @@ -331,7 +349,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -344,41 +361,41 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
if the cache parameter group has changed
-
-
Sample:
-
{'changed': True}
- +
if the cache parameter group has changed
+
+
Sample:
+
{'changed': True}
+ - - + +
elasticache
dictionary -
- + + always -
cache parameter group information and response metadata
-
-
Sample:
-
{'cache_parameter_group': {'cache_parameter_group_family': 'redis3.2', 'cache_parameter_group_name': 'test-please-delete', 'description': 'initial description'}, 'response_metadata': {'http_headers': {'content-length': '562', 'content-type': 'text/xml', 'date': 'Mon, 06 Feb 2017 22:14:08 GMT', 'x-amzn-requestid': '947291f9-ecb9-11e6-85bd-3baa4eca2cc1'}, 'http_status_code': 200, 'request_id': '947291f9-ecb9-11e6-85bd-3baa4eca2cc1', 'retry_attempts': 0}}
- +
cache parameter group information and response metadata
+
+
Sample:
+
{'cache_parameter_group': {'cache_parameter_group_family': 'redis3.2', 'cache_parameter_group_name': 'test-please-delete', 'description': 'initial description'}, 'response_metadata': {'http_headers': {'content-length': '562', 'content-type': 'text/xml', 'date': 'Mon, 06 Feb 2017 22:14:08 GMT', 'x-amzn-requestid': '947291f9-ecb9-11e6-85bd-3baa4eca2cc1'}, 'http_status_code': 200, 'request_id': '947291f9-ecb9-11e6-85bd-3baa4eca2cc1', 'retry_attempts': 0}}
+ - +

@@ -390,5 +407,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.elasticache_snapshot_module.rst b/docs/community.aws.elasticache_snapshot_module.rst index 93841ae3b73..b6134273b09 100644 --- a/docs/community.aws.elasticache_snapshot_module.rst +++ b/docs/community.aws.elasticache_snapshot_module.rst @@ -38,256 +38,275 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bucket
string -
-
- -
The s3 bucket to which the snapshot is exported.
-
+ +
The s3 bucket to which the snapshot is exported.
+
+
cluster_id
string -
-
- -
The name of an existing cache cluster in the replication group to make the snapshot.
-
+ +
The name of an existing cache cluster in the replication group to make the snapshot.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name of the snapshot we want to create, copy, delete.
-
+ +
The name of the snapshot we want to create, copy, delete.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
replication_id
string -
-
- -
The name of the existing replication group to make the snapshot.
-
+ +
The name of the existing replication group to make the snapshot.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • copy
  • -
-
-
Actions that will create, destroy, or copy a snapshot.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • copy
  • +
+
+
Actions that will create, destroy, or copy a snapshot.
+
+
target
string -
-
- -
The name of a snapshot copy.
-
+ +
The name of a snapshot copy.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -295,7 +314,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -306,7 +325,6 @@ Examples .. code-block:: yaml+jinja - # Note: None of these examples set aws_access_key, aws_secret_key, or region. # It is assumed that their matching environment variables are set. @@ -319,7 +337,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -332,58 +349,58 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
if a snapshot has been created, deleted, or copied
-
-
Sample:
-
{'changed': True}
- +
if a snapshot has been created, deleted, or copied
+
+
Sample:
+
{'changed': True}
+ - - + +
response_metadata
dictionary -
- + + always -
response metadata about the snapshot
-
-
Sample:
-
{'http_headers': {'content-length': 1490, 'content-type': 'text/xml', 'date': 'Tue, 07 Feb 2017 16:43:04 GMT', 'x-amzn-requestid': '7f436dea-ed54-11e6-a04c-ab2372a1f14d'}, 'http_status_code': 200, 'request_id': '7f436dea-ed54-11e6-a04c-ab2372a1f14d', 'retry_attempts': 0}
- +
response metadata about the snapshot
+
+
Sample:
+
{'http_headers': {'content-length': 1490, 'content-type': 'text/xml', 'date': 'Tue, 07 Feb 2017 16:43:04 GMT', 'x-amzn-requestid': '7f436dea-ed54-11e6-a04c-ab2372a1f14d'}, 'http_status_code': 200, 'request_id': '7f436dea-ed54-11e6-a04c-ab2372a1f14d', 'retry_attempts': 0}
+ - - + +
snapshot
dictionary -
- + + always -
snapshot data
-
-
Sample:
-
{'auto_minor_version_upgrade': True, 'cache_cluster_create_time': '2017-02-01T17:43:58.261000+00:00', 'cache_cluster_id': 'test-please-delete', 'cache_node_type': 'cache.m1.small', 'cache_parameter_group_name': 'default.redis3.2', 'cache_subnet_group_name': 'default', 'engine': 'redis', 'engine_version': '3.2.4', 'node_snapshots': {'cache_node_create_time': '2017-02-01T17:43:58.261000+00:00', 'cache_node_id': 1, 'cache_size': None}, 'num_cache_nodes': 1, 'port': 11211, 'preferred_availability_zone': 'us-east-1d', 'preferred_maintenance_window': 'wed:03:00-wed:04:00', 'snapshot_name': 'deletesnapshot', 'snapshot_retention_limit': 0, 'snapshot_source': 'manual', 'snapshot_status': 'creating', 'snapshot_window': '10:00-11:00', 'vpc_id': 'vpc-c248fda4'}
- +
snapshot data
+
+
Sample:
+
{'auto_minor_version_upgrade': True, 'cache_cluster_create_time': '2017-02-01T17:43:58.261000+00:00', 'cache_cluster_id': 'test-please-delete', 'cache_node_type': 'cache.m1.small', 'cache_parameter_group_name': 'default.redis3.2', 'cache_subnet_group_name': 'default', 'engine': 'redis', 'engine_version': '3.2.4', 'node_snapshots': {'cache_node_create_time': '2017-02-01T17:43:58.261000+00:00', 'cache_node_id': 1, 'cache_size': None}, 'num_cache_nodes': 1, 'port': 11211, 'preferred_availability_zone': 'us-east-1d', 'preferred_maintenance_window': 'wed:03:00-wed:04:00', 'snapshot_name': 'deletesnapshot', 'snapshot_retention_limit': 0, 'snapshot_source': 'manual', 'snapshot_status': 'creating', 'snapshot_window': '10:00-11:00', 'vpc_id': 'vpc-c248fda4'}
+ - +

@@ -395,5 +412,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.elasticache_subnet_group_module.rst b/docs/community.aws.elasticache_subnet_group_module.rst index 9a788bdcaea..9fd7b01d723 100644 --- a/docs/community.aws.elasticache_subnet_group_module.rst +++ b/docs/community.aws.elasticache_subnet_group_module.rst @@ -35,225 +35,244 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
ElastiCache subnet group description. Only set when a new group is added.
-
+ +
ElastiCache subnet group description. Only set when a new group is added.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Database subnet group identifier.
-
+ +
Database subnet group identifier.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Specifies whether the subnet should be present or absent.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Specifies whether the subnet should be present or absent.
+
+
subnets
list - / elements=string
-
- -
List of subnet IDs that make up the ElastiCache subnet group.
-
+ +
List of subnet IDs that make up the ElastiCache subnet group.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -261,7 +280,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -272,7 +291,6 @@ Examples .. code-block:: yaml+jinja - - name: Add or change a subnet group community.aws.elasticache_subnet_group: state: present @@ -290,7 +308,6 @@ Examples - Status ------ @@ -299,5 +316,3 @@ Authors ~~~~~~~ - Tim Mahoney (@timmahoney) - - diff --git a/docs/community.aws.elb_application_lb_info_module.rst b/docs/community.aws.elb_application_lb_info_module.rst index 1efd5604f84..c08d485cf83 100644 --- a/docs/community.aws.elb_application_lb_info_module.rst +++ b/docs/community.aws.elb_application_lb_info_module.rst @@ -37,191 +37,210 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
load_balancer_arns
list -
-
- -
The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.
-
+ +
The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.
+
+
names
list -
-
- -
The names of the load balancers.
-
+ +
The names of the load balancers.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -229,7 +248,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -240,7 +259,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all target groups @@ -262,12 +280,11 @@ Examples names: "alb-name" region: "aws-region" register: alb_info - - debug: + - ansible.builtin.debug: var: alb_info - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -280,347 +297,347 @@ Common return values are documented `here Returned Description - - + +
load_balancers
complex -
- + + always -
a list of load balancers
-
- +
a list of load balancers
+
+ - -   - + +   +
access_logs_s3_bucket
string -
- + + when status is present -
The name of the S3 bucket for the access logs.
-
-
Sample:
-
mys3bucket
- +
The name of the S3 bucket for the access logs.
+
+
Sample:
+
mys3bucket
+ - -   - + +   +
access_logs_s3_enabled
string -
- + + when status is present -
Indicates whether access logs stored in Amazon S3 are enabled.
-
-
Sample:
-
True
- +
Indicates whether access logs stored in Amazon S3 are enabled.
+
+
Sample:
+
True
+ - -   - + +   +
access_logs_s3_prefix
string -
- + + when status is present -
The prefix for the location in the S3 bucket.
-
-
Sample:
-
/my/logs
- +
The prefix for the location in the S3 bucket.
+
+
Sample:
+
/my/logs
+ - -   - + +   +
availability_zones
list -
- + + when status is present -
The Availability Zones for the load balancer.
-
-
Sample:
-
[{'subnet_id': 'subnet-aabbccddff', 'zone_name': 'ap-southeast-2a'}]
- +
The Availability Zones for the load balancer.
+
+
Sample:
+
[{'subnet_id': 'subnet-aabbccddff', 'zone_name': 'ap-southeast-2a'}]
+ - -   - + +   +
canonical_hosted_zone_id
string -
- + + when status is present -
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
-
-
Sample:
-
ABCDEF12345678
- +
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
+
+
Sample:
+
ABCDEF12345678
+ - -   - + +   +
created_time
string -
- + + when status is present -
The date and time the load balancer was created.
-
-
Sample:
-
2015-02-12T02:14:02+00:00
- +
The date and time the load balancer was created.
+
+
Sample:
+
2015-02-12T02:14:02+00:00
+ - -   - + +   +
deletion_protection_enabled
string -
- + + when status is present -
Indicates whether deletion protection is enabled.
-
-
Sample:
-
True
- +
Indicates whether deletion protection is enabled.
+
+
Sample:
+
True
+ - -   - + +   +
dns_name
string -
- + + when status is present -
The public DNS name of the load balancer.
-
-
Sample:
-
internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
- +
The public DNS name of the load balancer.
+
+
Sample:
+
internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
+ - -   - + +   +
idle_timeout_timeout_seconds
string -
- + + when status is present -
The idle timeout value, in seconds.
-
-
Sample:
-
60
- +
The idle timeout value, in seconds.
+
+
Sample:
+
60
+ - -   - + +   +
ip_address_type
string -
- + + when status is present -
The type of IP addresses used by the subnets for the load balancer.
-
-
Sample:
-
ipv4
- +
The type of IP addresses used by the subnets for the load balancer.
+
+
Sample:
+
ipv4
+ - -   - + +   +
load_balancer_arn
string -
- + + when status is present -
The Amazon Resource Name (ARN) of the load balancer.
-
-
Sample:
-
arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
- +
The Amazon Resource Name (ARN) of the load balancer.
+
+
Sample:
+
arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
+ - -   - + +   +
load_balancer_name
string -
- + + when status is present -
The name of the load balancer.
-
-
Sample:
-
my-elb
- +
The name of the load balancer.
+
+
Sample:
+
my-elb
+ - -   - + +   +
scheme
string -
- + + when status is present -
Internet-facing or internal load balancer.
-
-
Sample:
-
internal
- +
Internet-facing or internal load balancer.
+
+
Sample:
+
internal
+ - -   - + +   +
security_groups
list -
- + + when status is present -
The IDs of the security groups for the load balancer.
-
-
Sample:
-
['sg-0011223344']
- +
The IDs of the security groups for the load balancer.
+
+
Sample:
+
['sg-0011223344']
+ - -   - + +   +
state
dictionary -
- + + when status is present -
The state of the load balancer.
-
-
Sample:
-
{'code': 'active'}
- +
The state of the load balancer.
+
+
Sample:
+
{'code': 'active'}
+ - -   - + +   +
tags
dictionary -
- + + when status is present -
The tags attached to the load balancer.
-
-
Sample:
-
{ 'Tag': 'Example' }
- +
The tags attached to the load balancer.
+
+
Sample:
+
{ 'Tag': 'Example' }
+ - -   - + +   +
type
string -
- + + when status is present -
The type of load balancer.
-
-
Sample:
-
application
- +
The type of load balancer.
+
+
Sample:
+
application
+ - -   - + +   +
vpc_id
string -
- + + when status is present -
The ID of the VPC for the load balancer.
-
-
Sample:
-
vpc-0011223344
- +
The ID of the VPC for the load balancer.
+
+
Sample:
+
vpc-0011223344
+ - - + +

@@ -632,5 +649,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.elb_application_lb_module.rst b/docs/community.aws.elb_application_lb_module.rst index b0bca5d3711..8f42d1241dd 100644 --- a/docs/community.aws.elb_application_lb_module.rst +++ b/docs/community.aws.elb_application_lb_module.rst @@ -36,680 +36,699 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - + / required + + + - - - + + - - + / required + + + - - - + + - - - - - - - + + + + + + + - - + + + + - - - - + + + - - + + + + - - - - + + + - - - - - - - + + + + + + + - - - - - - + + + + + + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
access_logs_enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not to enable access logs.
-
When set, access_logs_s3_bucket must also be set.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not to enable access logs.
+
When set, access_logs_s3_bucket must also be set.
+
+
access_logs_s3_bucket
string -
-
- -
The name of the S3 bucket for the access logs.
-
The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket.
-
Required if access logs in Amazon S3 are enabled.
-
When set, access_logs_enabled must also be set.
-
+ + + +
The name of the S3 bucket for the access logs.
+
The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket.
+
Required if access logs in Amazon S3 are enabled.
+
When set, access_logs_enabled must also be set.
+
access_logs_s3_prefix
string -
-
- -
The prefix for the log location in the S3 bucket.
-
If you don't specify a prefix, the access logs are stored in the root of the bucket.
-
Cannot begin or end with a slash.
-
+ +
The prefix for the log location in the S3 bucket.
+
If you don't specify a prefix, the access logs are stored in the root of the bucket.
+
Cannot begin or end with a slash.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
deletion_protection
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates whether deletion protection for the ELB is enabled.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates whether deletion protection for the ELB is enabled.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
http2
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates whether to enable HTTP2 routing.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates whether to enable HTTP2 routing.
+
+
idle_timeout
integer -
-
- -
The number of seconds to wait before an idle connection is closed.
-
+ +
The number of seconds to wait before an idle connection is closed.
+
+
listeners
list -
-
- -
A list of dicts containing listeners to attach to the ELB. See examples for detail of the dict required. Note that listener keys are CamelCased.
-
+ / elements=dictionary + + +
A list of dicts containing listeners to attach to the ELB. See examples for detail of the dict required. Note that listener keys are CamelCased.
+
Certificates
list -
-
- -
The SSL server certificate.
-
+ / elements=dictionary + + +
The SSL server certificate.
+
CertificateArn
string -
-
- -
The Amazon Resource Name (ARN) of the certificate.
-
+ + + +
The Amazon Resource Name (ARN) of the certificate.
+
DefaultActions
list - / required
-
- -
The default actions for the listener.
-
+ / elements=dictionary / required + + +
The default actions for the listener.
+
TargetGroupArn
string -
-
- -
The Amazon Resource Name (ARN) of the target group.
-
+ +
The Amazon Resource Name (ARN) of the target group.
+
+
Type
string -
-
- -
The type of action.
-
+ + + +
The type of action.
+
Port
integer - / required
-
- -
The port on which the load balancer is listening.
-
+ +
The port on which the load balancer is listening.
+
+
Protocol
string - / required
-
- -
The protocol for connections from clients to the load balancer.
-
+ +
The protocol for connections from clients to the load balancer.
+
+
Rules
list -
-
- -
A list of ALB Listener Rules.
-
For the complete documentation of possible Conditions and Actions please see the boto3 documentation:
-
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elbv2.html#ElasticLoadBalancingv2.Client.create_rule
-
+ / elements=dictionary + + +
A list of ALB Listener Rules.
+
For the complete documentation of possible Conditions and Actions please see the boto3 documentation:
+
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elbv2.html#ElasticLoadBalancingv2.Client.create_rule
+
Actions
list -
-
- -
Actions to apply if all of the rule's conditions are met.
-
+ +
Actions to apply if all of the rule's conditions are met.
+
+
Conditions
list -
-
- -
Conditions which must be met for the actions to be applied.
-
+ +
Conditions which must be met for the actions to be applied.
+
+
Priority
integer -
-
- -
The rule priority.
-
+ + + +
The rule priority.
+
SslPolicy
string -
-
- -
The security policy that defines which ciphers and protocols are supported.
-
+ + + +
The security policy that defines which ciphers and protocols are supported.
+
name
string - / required
-
- -
The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
-
+ +
The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_listeners
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If yes, existing listeners will be purged from the ELB to match exactly what is defined by listeners parameter. If the listeners parameter is not set then listeners will not be modified
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If yes, existing listeners will be purged from the ELB to match exactly what is defined by listeners parameter. If the listeners parameter is not set then listeners will not be modified
+
+
purge_rules
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to no, keep the existing load balancer rules in place. Will modify and add, but will not delete.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to no, keep the existing load balancer rules in place. Will modify and add, but will not delete.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tags parameter is not set then tags will not be modified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tags parameter is not set then tags will not be modified.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
scheme
string -
-
-
    Choices: -
  • internet-facing ←
  • -
  • internal
  • -
-
-
Internet-facing or internal load balancer. An ELB scheme can not be modified after creation.
-
+
    Choices: +
  • internet-facing ←
  • +
  • internal
  • +
+
+
Internet-facing or internal load balancer. An ELB scheme can not be modified after creation.
+
+
security_groups
list -
-
- Default:
[]
-
-
A list of the names or IDs of the security groups to assign to the load balancer.
-
Required if state=present.
-
+ Default:
[]
+
+
A list of the names or IDs of the security groups to assign to the load balancer.
+
Required if state=present.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or destroy the load balancer.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or destroy the load balancer.
+
+
subnets
list -
-
- -
A list of the IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
-
Required if state=present.
-
+ +
A list of the IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
+
Required if state=present.
+
+
tags
dictionary -
-
- -
A dictionary of one or more tags to assign to the load balancer.
-
+ +
A dictionary of one or more tags to assign to the load balancer.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Wait for the load balancer to have a state of 'active' before completing. A status check is performed every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Wait for the load balancer to have a state of 'active' before completing. A status check is performed every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
+
+
wait_timeout
integer -
-
- -
The time in seconds to use in conjunction with wait.
-
+ + + + + +
The time in seconds to use in conjunction with wait.
+ + +
@@ -719,7 +738,7 @@ Notes .. note:: - Listeners are matched based on port. If a listener's port is changed then a new listener will be created. - Listener rules are matched based on priority. If a rule's priority is changed then a new rule will be created. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -730,7 +749,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Create an ELB and attach a listener @@ -848,8 +866,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -862,515 +878,515 @@ Common return values are documented `here Returned Description - - + +
access_logs_s3_bucket
string -
- + + when state is present -
The name of the S3 bucket for the access logs.
-
-
Sample:
-
mys3bucket
- - - - +
The name of the S3 bucket for the access logs.
+
+
Sample:
+
mys3bucket
+ + + +
access_logs_s3_enabled
string -
- + + when state is present -
Indicates whether access logs stored in Amazon S3 are enabled.
-
-
Sample:
-
True
- - - - +
Indicates whether access logs stored in Amazon S3 are enabled.
+
+
Sample:
+
True
+ + + +
access_logs_s3_prefix
string -
- + + when state is present -
The prefix for the location in the S3 bucket.
-
-
Sample:
-
my/logs
- - - - +
The prefix for the location in the S3 bucket.
+
+
Sample:
+
my/logs
+ + + +
availability_zones
list -
- + + when state is present -
The Availability Zones for the load balancer.
-
-
Sample:
-
[{'subnet_id': 'subnet-aabbccddff', 'zone_name': 'ap-southeast-2a'}]
- - - - +
The Availability Zones for the load balancer.
+
+
Sample:
+
[{'subnet_id': 'subnet-aabbccddff', 'zone_name': 'ap-southeast-2a'}]
+ + + +
canonical_hosted_zone_id
string -
- + + when state is present -
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
-
-
Sample:
-
ABCDEF12345678
- - - - +
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
+
+
Sample:
+
ABCDEF12345678
+ + + +
created_time
string -
- + + when state is present -
The date and time the load balancer was created.
-
-
Sample:
-
2015-02-12T02:14:02+00:00
- - - - +
The date and time the load balancer was created.
+
+
Sample:
+
2015-02-12T02:14:02+00:00
+ + + +
deletion_protection_enabled
string -
- + + when state is present -
Indicates whether deletion protection is enabled.
-
-
Sample:
-
True
- - - - +
Indicates whether deletion protection is enabled.
+
+
Sample:
+
True
+ + + +
dns_name
string -
- + + when state is present -
The public DNS name of the load balancer.
-
-
Sample:
-
internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
- - - - +
The public DNS name of the load balancer.
+
+
Sample:
+
internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
+ + + +
idle_timeout_timeout_seconds
integer -
- + + when state is present -
The idle timeout value, in seconds.
-
-
Sample:
-
60
- - - - +
The idle timeout value, in seconds.
+
+
Sample:
+
60
+ + + +
ip_address_type
string -
- + + when state is present -
The type of IP addresses used by the subnets for the load balancer.
-
-
Sample:
-
ipv4
- - - - +
The type of IP addresses used by the subnets for the load balancer.
+
+
Sample:
+
ipv4
+ + + +
listeners
complex -
- + + when state is present -
Information about the listeners.
-
- +
Information about the listeners.
+
+ - -   - + +   +
certificates
complex -
- + + when state is present -
The SSL server certificate.
-
- +
The SSL server certificate.
+
+ - -   -   - + +   +   +
certificate_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the certificate.
-
- +
The Amazon Resource Name (ARN) of the certificate.
+
+ - - -   - + + +   +
default_actions
string -
- + + when state is present -
The default actions for the listener.
-
- +
The default actions for the listener.
+
+ - -   -   - + +   +   +
target_group_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the target group.
-
- - - -   -   - +
The Amazon Resource Name (ARN) of the target group.
+
+ + + +   +   +
type
string -
- + + when state is present -
The type of action.
-
- +
The type of action.
+
+ - - -   - + + +   +
listener_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the listener.
-
- +
The Amazon Resource Name (ARN) of the listener.
+
+ - -   - + +   +
load_balancer_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the load balancer.
-
- +
The Amazon Resource Name (ARN) of the load balancer.
+
+ - -   - + +   +
port
integer -
- + + when state is present -
The port on which the load balancer is listening.
-
-
Sample:
-
80
- - - -   - +
The port on which the load balancer is listening.
+
+
Sample:
+
80
+ + + +   +
protocol
string -
- + + when state is present -
The protocol for connections from clients to the load balancer.
-
-
Sample:
-
HTTPS
- - - -   - +
The protocol for connections from clients to the load balancer.
+
+
Sample:
+
HTTPS
+ + + +   +
ssl_policy
string -
- + + when state is present -
The security policy that defines which ciphers and protocols are supported.
-
- +
The security policy that defines which ciphers and protocols are supported.
+
+ - - - + + +
load_balancer_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the load balancer.
-
-
Sample:
-
arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
- - - - +
The Amazon Resource Name (ARN) of the load balancer.
+
+
Sample:
+
arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
+ + + +
load_balancer_name
string -
- + + when state is present -
The name of the load balancer.
-
-
Sample:
-
my-elb
- - - - +
The name of the load balancer.
+
+
Sample:
+
my-elb
+ + + +
routing_http2_enabled
string -
- + + when state is present -
Indicates whether HTTP/2 is enabled.
-
-
Sample:
-
True
- - - - +
Indicates whether HTTP/2 is enabled.
+
+
Sample:
+
True
+ + + +
scheme
string -
- + + when state is present -
Internet-facing or internal load balancer.
-
-
Sample:
-
internal
- - - - +
Internet-facing or internal load balancer.
+
+
Sample:
+
internal
+ + + +
security_groups
list -
- + + when state is present -
The IDs of the security groups for the load balancer.
-
-
Sample:
-
['sg-0011223344']
- - - - +
The IDs of the security groups for the load balancer.
+
+
Sample:
+
['sg-0011223344']
+ + + +
state
dictionary -
- + + when state is present -
The state of the load balancer.
-
-
Sample:
-
{'code': 'active'}
- - - - +
The state of the load balancer.
+
+
Sample:
+
{'code': 'active'}
+ + + +
tags
dictionary -
- + + when state is present -
The tags attached to the load balancer.
-
-
Sample:
-
{ 'Tag': 'Example' }
- - - - +
The tags attached to the load balancer.
+
+
Sample:
+
{ 'Tag': 'Example' }
+ + + +
type
string -
- + + when state is present -
The type of load balancer.
-
-
Sample:
-
application
- - - - +
The type of load balancer.
+
+
Sample:
+
application
+ + + +
vpc_id
string -
- + + when state is present -
The ID of the VPC for the load balancer.
-
-
Sample:
-
vpc-0011223344
- +
The ID of the VPC for the load balancer.
+
+
Sample:
+
vpc-0011223344
+ - +

@@ -1382,5 +1398,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.elb_classic_lb_info_module.rst b/docs/community.aws.elb_classic_lb_info_module.rst index 8985f283859..3a564897d1f 100644 --- a/docs/community.aws.elb_classic_lb_info_module.rst +++ b/docs/community.aws.elb_classic_lb_info_module.rst @@ -38,176 +38,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
names
list -
-
- -
List of ELB names to gather information about. Pass this option to gather information about a set of ELBs, otherwise, all ELBs are returned.
-
+ +
List of ELB names to gather information about. Pass this option to gather information about a set of ELBs, otherwise, all ELBs are returned.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -215,7 +234,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -226,7 +245,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Output format tries to match amazon.aws.ec2_elb_lb module input parameters @@ -234,7 +252,7 @@ Examples - community.aws.elb_classic_lb_info: register: elb_info - - debug: + - ansible.builtin.debug: msg: "{{ item.dns_name }}" loop: "{{ elb_info.elbs }}" @@ -243,7 +261,7 @@ Examples names: frontend-prod-elb register: elb_info - - debug: + - ansible.builtin.debug: msg: "{{ elb_info.elbs.0.dns_name }}" # Gather information about a set of ELBs @@ -253,14 +271,12 @@ Examples - backend-prod-elb register: elb_info - - debug: + - ansible.builtin.debug: msg: "{{ item.dns_name }}" loop: "{{ elb_info.elbs }}" - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -273,24 +289,24 @@ Common return values are documented `here Returned Description - - + +
elbs
list -
- + + always -
a list of load balancers
-
-
Sample:
-
{'elbs': [{'attributes': {'access_log': {'enabled': False}, 'connection_draining': {'enabled': True, 'timeout': 300}, 'connection_settings': {'idle_timeout': 60}, 'cross_zone_load_balancing': {'enabled': True}}, 'availability_zones': ['us-east-1a', 'us-east-1b', 'us-east-1c', 'us-east-1d', 'us-east-1e'], 'backend_server_description': [], 'canonical_hosted_zone_name': 'test-lb-XXXXXXXXXXXX.us-east-1.elb.amazonaws.com', 'canonical_hosted_zone_name_id': 'XXXXXXXXXXXXXX', 'created_time': '2017-08-23T18:25:03.280000+00:00', 'dns_name': 'test-lb-XXXXXXXXXXXX.us-east-1.elb.amazonaws.com', 'health_check': {'healthy_threshold': 10, 'interval': 30, 'target': 'HTTP:80/index.html', 'timeout': 5, 'unhealthy_threshold': 2}, 'instances': [], 'instances_inservice': [], 'instances_inservice_count': 0, 'instances_outofservice': [], 'instances_outofservice_count': 0, 'instances_unknownservice': [], 'instances_unknownservice_count': 0, 'listener_descriptions': [{'listener': {'instance_port': 80, 'instance_protocol': 'HTTP', 'load_balancer_port': 80, 'protocol': 'HTTP'}, 'policy_names': []}], 'load_balancer_name': 'test-lb', 'policies': {'app_cookie_stickiness_policies': [], 'lb_cookie_stickiness_policies': [], 'other_policies': []}, 'scheme': 'internet-facing', 'security_groups': ['sg-29d13055'], 'source_security_group': {'group_name': 'default', 'owner_alias': 'XXXXXXXXXXXX'}, 'subnets': ['subnet-XXXXXXXX', 'subnet-XXXXXXXX'], 'tags': {}, 'vpc_id': 'vpc-c248fda4'}]}
- +
a list of load balancers
+
+
Sample:
+
{'elbs': [{'attributes': {'access_log': {'enabled': False}, 'connection_draining': {'enabled': True, 'timeout': 300}, 'connection_settings': {'idle_timeout': 60}, 'cross_zone_load_balancing': {'enabled': True}}, 'availability_zones': ['us-east-1a', 'us-east-1b', 'us-east-1c', 'us-east-1d', 'us-east-1e'], 'backend_server_description': [], 'canonical_hosted_zone_name': 'test-lb-XXXXXXXXXXXX.us-east-1.elb.amazonaws.com', 'canonical_hosted_zone_name_id': 'XXXXXXXXXXXXXX', 'created_time': '2017-08-23T18:25:03.280000+00:00', 'dns_name': 'test-lb-XXXXXXXXXXXX.us-east-1.elb.amazonaws.com', 'health_check': {'healthy_threshold': 10, 'interval': 30, 'target': 'HTTP:80/index.html', 'timeout': 5, 'unhealthy_threshold': 2}, 'instances': [], 'instances_inservice': [], 'instances_inservice_count': 0, 'instances_outofservice': [], 'instances_outofservice_count': 0, 'instances_unknownservice': [], 'instances_unknownservice_count': 0, 'listener_descriptions': [{'listener': {'instance_port': 80, 'instance_protocol': 'HTTP', 'load_balancer_port': 80, 'protocol': 'HTTP'}, 'policy_names': []}], 'load_balancer_name': 'test-lb', 'policies': {'app_cookie_stickiness_policies': [], 'lb_cookie_stickiness_policies': [], 'other_policies': []}, 'scheme': 'internet-facing', 'security_groups': ['sg-29d13055'], 'source_security_group': {'group_name': 'default', 'owner_alias': 'XXXXXXXXXXXX'}, 'subnets': ['subnet-XXXXXXXX', 'subnet-XXXXXXXX'], 'tags': {}, 'vpc_id': 'vpc-c248fda4'}]}
+ - +

@@ -303,5 +319,3 @@ Authors - Michael Schultz (@mjschultz) - Fernando Jose Pando (@nand0p) - - diff --git a/docs/community.aws.elb_classic_lb_module.rst b/docs/community.aws.elb_classic_lb_module.rst index 5ff27670508..198d6383a71 100644 --- a/docs/community.aws.elb_classic_lb_module.rst +++ b/docs/community.aws.elb_classic_lb_module.rst @@ -36,524 +36,543 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / elements=dictionary + + + - - + - - + / required + + + - - + - - + + + + - - + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - + / elements=string + + + - - + - - + / elements=string + + + - - + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
access_logs
dictionary -
-
- -
An associative array of access logs configuration settings (see example)
-
+ +
An associative array of access logs configuration settings (see example)
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
connection_draining_timeout
integer -
-
- -
Wait a specified timeout allowing connections to drain before terminating an instance
-
+ +
Wait a specified timeout allowing connections to drain before terminating an instance
+
+
cross_az_load_balancing
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Distribute load across all configured Availability Zones
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Distribute load across all configured Availability Zones
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
health_check
dictionary -
-
- -
An associative array of health check configuration settings (see example)
-
+ +
An associative array of health check configuration settings (see example)
+
+
idle_timeout
integer -
-
- -
ELB connections from clients and to servers are timed out after this amount of time
-
+ +
ELB connections from clients and to servers are timed out after this amount of time
+
+
instance_ids
list -
-
- -
List of instance ids to attach to this ELB
-
+ +
List of instance ids to attach to this ELB
+
+
listeners
list -
-
- -
List of ports/protocols for this ELB to listen on (see example)
-
+ +
List of ports/protocols for this ELB to listen on (see example)
+
+
name
string - / required
-
- -
The name of the ELB
-
+ +
The name of the ELB
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_instance_ids
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Purge existing instance ids on ELB that are not found in instance_ids
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Purge existing instance ids on ELB that are not found in instance_ids
+
purge_listeners
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Purge existing listeners on ELB that are not found in listeners
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Purge existing listeners on ELB that are not found in listeners
+
purge_subnets
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Purge existing subnet on ELB that are not found in subnets
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Purge existing subnet on ELB that are not found in subnets
+
purge_zones
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Purge existing availability zones on ELB that are not found in zones
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Purge existing availability zones on ELB that are not found in zones
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
scheme
string -
-
-
    Choices: -
  • internal
  • -
  • internet-facing ←
  • -
-
-
The scheme to use when creating the ELB. For a private VPC-visible ELB use 'internal'. If you choose to update your scheme with a different value the ELB will be destroyed and recreated. To update scheme you must use the option wait.
-
+ + +
    Choices: +
  • internal
  • +
  • internet-facing ←
  • +
+
+
The scheme to use when creating the ELB. For a private VPC-visible ELB use 'internal'. If you choose to update your scheme with a different value the ELB will be destroyed and recreated. To update scheme you must use the option wait.
+
security_group_ids
list -
-
- -
A list of security groups to apply to the elb
-
+ +
A list of security groups to apply to the elb
+
+
security_group_names
list -
-
- -
A list of security group names to apply to the elb
-
+ +
A list of security group names to apply to the elb
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or destroy the ELB
-
+ / required + +
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or destroy the ELB
+
stickiness
dictionary -
-
- -
An associative array of stickiness policy settings. Policy will be applied to all listeners ( see example )
-
+ +
An associative array of stickiness policy settings. Policy will be applied to all listeners ( see example )
+
+
subnets
list -
-
- -
A list of VPC subnets to use when creating ELB. Zones should be empty if using this.
-
+ +
A list of VPC subnets to use when creating ELB. Zones should be empty if using this.
+
+
tags
dictionary -
-
- -
An associative array of tags. To delete all tags, supply an empty dict.
-
+ +
An associative array of tags. To delete all tags, supply an empty dict.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to no, SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to no, SSL certificates will not be validated for boto versions >= 2.6.0.
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.
+
wait_timeout
integer -
-
- Default:
60
-
-
Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.
-
+ + + Default:
60
+
+
Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.
+
zones
list -
-
- -
List of availability zones to enable on this ELB
-
+ / elements=string + + + + +
List of availability zones to enable on this ELB
+ + +
@@ -561,7 +580,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -572,7 +591,6 @@ Examples .. code-block:: yaml+jinja - # Note: None of these examples set aws_access_key, aws_secret_key, or region. # It is assumed that their matching environment variables are set. @@ -796,7 +814,6 @@ Examples - Status ------ @@ -805,5 +822,3 @@ Authors ~~~~~~~ - Jim Dalton (@jsdalton) - - diff --git a/docs/community.aws.elb_instance_module.rst b/docs/community.aws.elb_instance_module.rst index d0f1a853ba6..69e6c3436b2 100644 --- a/docs/community.aws.elb_instance_module.rst +++ b/docs/community.aws.elb_instance_module.rst @@ -37,264 +37,283 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_elbs
list -
-
- -
List of ELB names, required for registration. The ec2_elbs fact should be used if there was a previous de-register.
-
+ +
List of ELB names, required for registration. The ec2_elbs fact should be used if there was a previous de-register.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
enable_availability_zone
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to enable the availability zone of the instance on the target ELB if the availability zone has not already been enabled. If set to no, the task will fail if the availability zone is not enabled on the ELB.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to enable the availability zone of the instance on the target ELB if the availability zone has not already been enabled. If set to no, the task will fail if the availability zone is not enabled on the ELB.
+
+
instance_id
string - / required
-
- -
EC2 Instance ID
-
+ +
EC2 Instance ID
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
register or deregister the instance
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
register or deregister the instance
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Wait for instance registration or deregistration to complete successfully before returning.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Wait for instance registration or deregistration to complete successfully before returning.
+
+
wait_timeout
integer -
-
- Default:
0
-
-
Number of seconds to wait for an instance to change state. If 0 then this module may return an error if a transient error occurs. If non-zero then any transient errors are ignored until the timeout is reached. Ignored when wait=no.
-
+ Default:
0
+
+
Number of seconds to wait for an instance to change state. If 0 then this module may return an error if a transient error occurs. If non-zero then any transient errors are ignored until the timeout is reached. Ignored when wait=no.
+
+
@@ -302,7 +321,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -313,7 +332,6 @@ Examples .. code-block:: yaml+jinja - # basic pre_task and post_task example pre_tasks: - name: Instance De-register @@ -335,7 +353,6 @@ Examples - Status ------ @@ -344,5 +361,3 @@ Authors ~~~~~~~ - John Jarvis (@jarv) - - diff --git a/docs/community.aws.elb_network_lb_module.rst b/docs/community.aws.elb_network_lb_module.rst index 34b94598c2c..7c93c2fdff0 100644 --- a/docs/community.aws.elb_network_lb_module.rst +++ b/docs/community.aws.elb_network_lb_module.rst @@ -36,524 +36,543 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - - + + - - + / elements=dictionary + + + - - - - + + + - - + + + + - - - - + + - - + / elements=dictionary / required + + + - - - - + + + - - + + + + - - - - + + + - - + + + + - - - - + + - - + / required + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cross_zone_load_balancing
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates whether cross-zone load balancing is enabled.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates whether cross-zone load balancing is enabled.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
deletion_protection
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates whether deletion protection for the ELB is enabled.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates whether deletion protection for the ELB is enabled.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
listeners
list - / elements=dictionary
-
- -
A list of dicts containing listeners to attach to the ELB. See examples for detail of the dict required. Note that listener keys are CamelCased.
-
+ +
A list of dicts containing listeners to attach to the ELB. See examples for detail of the dict required. Note that listener keys are CamelCased.
+
+
Certificates
list - / elements=dictionary
-
- -
The SSL server certificate.
-
+ +
The SSL server certificate.
+
+
CertificateArn
string -
-
- -
The Amazon Resource Name (ARN) of the certificate.
-
+ +
The Amazon Resource Name (ARN) of the certificate.
+
+ +
DefaultActions
list - / elements=dictionary / required
-
- -
The default actions for the listener.
-
+ +
The default actions for the listener.
+
+
TargetGroupArn
string -
-
- -
The Amazon Resource Name (ARN) of the target group.
-
+ +
The Amazon Resource Name (ARN) of the target group.
+
+
Type
string -
-
- -
The type of action.
-
+ +
The type of action.
+
+ +
Port
integer - / required
-
- -
The port on which the load balancer is listening.
-
+ +
The port on which the load balancer is listening.
+
+
Protocol
string - / required
-
- -
The protocol for connections from clients to the load balancer.
-
+ +
The protocol for connections from clients to the load balancer.
+
+
SslPolicy
string -
-
- -
The security policy that defines which ciphers and protocols are supported.
-
+ +
The security policy that defines which ciphers and protocols are supported.
+
+ +
name
string - / required
-
- -
The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
-
+ +
The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_listeners
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If purge_listeners=true, existing listeners will be purged from the ELB to match exactly what is defined by listeners parameter.
-
If the listeners parameter is not set then listeners will not be modified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If purge_listeners=true, existing listeners will be purged from the ELB to match exactly what is defined by listeners parameter.
+
If the listeners parameter is not set then listeners will not be modified.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If purge_tags=true, existing tags will be purged from the resource to match exactly what is defined by tags parameter.
-
If the tags parameter is not set then tags will not be modified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If purge_tags=true, existing tags will be purged from the resource to match exactly what is defined by tags parameter.
+
If the tags parameter is not set then tags will not be modified.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
scheme
string -
-
-
    Choices: -
  • internet-facing ←
  • -
  • internal
  • -
-
-
Internet-facing or internal load balancer. An ELB scheme can not be modified after creation.
-
+
    Choices: +
  • internet-facing ←
  • +
  • internal
  • +
+
+
Internet-facing or internal load balancer. An ELB scheme can not be modified after creation.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or destroy the load balancer.
-
The current default is absent. However, this behavior is inconsistent with other modules and as such the default will change to present in 2.14. To maintain the existing behavior explicitly set state=absent.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or destroy the load balancer.
+
The current default is absent. However, this behavior is inconsistent with other modules and as such the default will change to present in 2.14. To maintain the existing behavior explicitly set state=absent.
+
+
subnet_mappings
list - / elements=dictionary
-
- -
A list of dicts containing the IDs of the subnets to attach to the load balancer. You can also specify the allocation ID of an Elastic IP to attach to the load balancer. You can specify one Elastic IP address per subnet.
-
This parameter is mutually exclusive with subnets.
-
+ +
A list of dicts containing the IDs of the subnets to attach to the load balancer. You can also specify the allocation ID of an Elastic IP to attach to the load balancer. You can specify one Elastic IP address per subnet.
+
This parameter is mutually exclusive with subnets.
+
+
subnets
list -
-
- -
A list of the IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
-
Required when state=present.
-
This parameter is mutually exclusive with subnet_mappings.
-
+ +
A list of the IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
+
Required when state=present.
+
This parameter is mutually exclusive with subnet_mappings.
+
+
tags
dictionary -
-
- -
A dictionary of one or more tags to assign to the load balancer.
-
+ +
A dictionary of one or more tags to assign to the load balancer.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not to wait for the network load balancer to reach the desired state.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not to wait for the network load balancer to reach the desired state.
+
+
wait_timeout
integer -
-
- -
The duration in seconds to wait, used in conjunction with wait.
-
+ +
The duration in seconds to wait, used in conjunction with wait.
+
+
@@ -563,7 +582,7 @@ Notes .. note:: - Listeners are matched based on port. If a listener's port is changed then a new listener will be created. - Listener rules are matched based on priority. If a rule's priority is changed then a new rule will be created. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -574,7 +593,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create an ELB and attach a listener @@ -612,8 +630,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -626,447 +642,447 @@ Common return values are documented `here Returned Description - - + +
availability_zones
list -
- + + when state is present -
The Availability Zones for the load balancer.
-
-
Sample:
-
[{'subnet_id': 'subnet-aabbccddff', 'zone_name': 'ap-southeast-2a', 'load_balancer_addresses': []}]
- +
The Availability Zones for the load balancer.
+
+
Sample:
+
[{'subnet_id': 'subnet-aabbccddff', 'zone_name': 'ap-southeast-2a', 'load_balancer_addresses': []}]
+ - - + +
canonical_hosted_zone_id
string -
- + + when state is present -
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
-
-
Sample:
-
ABCDEF12345678
- +
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
+
+
Sample:
+
ABCDEF12345678
+ - - + +
created_time
string -
- + + when state is present -
The date and time the load balancer was created.
-
-
Sample:
-
2015-02-12T02:14:02+00:00
- +
The date and time the load balancer was created.
+
+
Sample:
+
2015-02-12T02:14:02+00:00
+ - - + +
deletion_protection_enabled
string -
- + + when state is present -
Indicates whether deletion protection is enabled.
-
-
Sample:
-
True
- +
Indicates whether deletion protection is enabled.
+
+
Sample:
+
True
+ - - + +
dns_name
string -
- + + when state is present -
The public DNS name of the load balancer.
-
-
Sample:
-
internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
- +
The public DNS name of the load balancer.
+
+
Sample:
+
internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
+ - - + +
idle_timeout_timeout_seconds
string -
- + + when state is present -
The idle timeout value, in seconds.
-
-
Sample:
-
60
- +
The idle timeout value, in seconds.
+
+
Sample:
+
60
+ - - + +
ip_address_type
string -
- + + when state is present -
The type of IP addresses used by the subnets for the load balancer.
-
-
Sample:
-
ipv4
- +
The type of IP addresses used by the subnets for the load balancer.
+
+
Sample:
+
ipv4
+ - - + +
listeners
complex -
- + + when state is present -
Information about the listeners.
-
- +
Information about the listeners.
+
+ - -   - + +   +
certificates
complex -
- + + when state is present -
The SSL server certificate.
-
- +
The SSL server certificate.
+
+ - -   -   - + +   +   +
certificate_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the certificate.
-
- +
The Amazon Resource Name (ARN) of the certificate.
+
+ - - -   - + + +   +
default_actions
string -
- + + when state is present -
The default actions for the listener.
-
- +
The default actions for the listener.
+
+ - -   -   - + +   +   +
target_group_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the target group.
-
- +
The Amazon Resource Name (ARN) of the target group.
+
+ - -   -   - + +   +   +
type
string -
- + + when state is present -
The type of action.
-
- +
The type of action.
+
+ - - -   - + + +   +
listener_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the listener.
-
- +
The Amazon Resource Name (ARN) of the listener.
+
+ - -   - + +   +
load_balancer_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the load balancer.
-
- +
The Amazon Resource Name (ARN) of the load balancer.
+
+ - -   - + +   +
port
integer -
- + + when state is present -
The port on which the load balancer is listening.
-
-
Sample:
-
80
- +
The port on which the load balancer is listening.
+
+
Sample:
+
80
+ - -   - + +   +
protocol
string -
- + + when state is present -
The protocol for connections from clients to the load balancer.
-
-
Sample:
-
HTTPS
- +
The protocol for connections from clients to the load balancer.
+
+
Sample:
+
HTTPS
+ - -   - + +   +
ssl_policy
string -
- + + when state is present -
The security policy that defines which ciphers and protocols are supported.
-
- +
The security policy that defines which ciphers and protocols are supported.
+
+ - - - + + +
load_balancer_arn
string -
- + + when state is present -
The Amazon Resource Name (ARN) of the load balancer.
-
-
Sample:
-
arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
- +
The Amazon Resource Name (ARN) of the load balancer.
+
+
Sample:
+
arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
+ - - + +
load_balancer_name
string -
- + + when state is present -
The name of the load balancer.
-
-
Sample:
-
my-elb
- +
The name of the load balancer.
+
+
Sample:
+
my-elb
+ - - + +
load_balancing_cross_zone_enabled
string -
- + + when state is present -
Indicates whether cross-zone load balancing is enabled.
-
-
Sample:
-
True
- +
Indicates whether cross-zone load balancing is enabled.
+
+
Sample:
+
True
+ - - + +
scheme
string -
- + + when state is present -
Internet-facing or internal load balancer.
-
-
Sample:
-
internal
- +
Internet-facing or internal load balancer.
+
+
Sample:
+
internal
+ - - + +
state
dictionary -
- + + when state is present -
The state of the load balancer.
-
-
Sample:
-
{'code': 'active'}
- +
The state of the load balancer.
+
+
Sample:
+
{'code': 'active'}
+ - - + +
tags
dictionary -
- + + when state is present -
The tags attached to the load balancer.
-
-
Sample:
-
{ 'Tag': 'Example' }
- +
The tags attached to the load balancer.
+
+
Sample:
+
{ 'Tag': 'Example' }
+ - - + +
type
string -
- + + when state is present -
The type of load balancer.
-
-
Sample:
-
network
- +
The type of load balancer.
+
+
Sample:
+
network
+ - - + +
vpc_id
string -
- + + when state is present -
The ID of the VPC for the load balancer.
-
-
Sample:
-
vpc-0011223344
- +
The ID of the VPC for the load balancer.
+
+
Sample:
+
vpc-0011223344
+ - +

@@ -1078,5 +1094,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.elb_target_group_info_module.rst b/docs/community.aws.elb_target_group_info_module.rst index 3a05c418629..c7525a5fd49 100644 --- a/docs/community.aws.elb_target_group_info_module.rst +++ b/docs/community.aws.elb_target_group_info_module.rst @@ -37,225 +37,244 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
collect_targets_health
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When set to "yes", output contains targets health description
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When set to "yes", output contains targets health description
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
load_balancer_arn
string -
-
- -
The Amazon Resource Name (ARN) of the load balancer.
-
+ +
The Amazon Resource Name (ARN) of the load balancer.
+
+
names
list -
-
- -
The names of the target groups.
-
+ +
The names of the target groups.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
target_group_arns
list -
-
- -
The Amazon Resource Names (ARN) of the target groups.
-
+ +
The Amazon Resource Names (ARN) of the target groups.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -263,7 +282,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -274,7 +293,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Gather information about all target groups @@ -292,8 +310,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -306,495 +322,495 @@ Common return values are documented `here Returned Description - - + +
target_groups
complex -
- + + always -
a list of target groups
-
- +
a list of target groups
+
+ - -   - + +   +
deregistration_delay_timeout_seconds
integer -
- + + always -
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused.
-
-
Sample:
-
300
- - - -   - +
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused.
+
+
Sample:
+
300
+ + + +   +
health_check_interval_seconds
integer -
- + + always -
The approximate amount of time, in seconds, between health checks of an individual target.
-
-
Sample:
-
30
- - - -   - +
The approximate amount of time, in seconds, between health checks of an individual target.
+
+
Sample:
+
30
+ + + +   +
health_check_path
string -
- + + always -
The destination for the health check request.
-
-
Sample:
-
/index.html
- - - -   - +
The destination for the health check request.
+
+
Sample:
+
/index.html
+ + + +   +
health_check_port
string -
- + + always -
The port to use to connect with the target.
-
-
Sample:
-
traffic-port
- - - -   - +
The port to use to connect with the target.
+
+
Sample:
+
traffic-port
+ + + +   +
health_check_protocol
string -
- + + always -
The protocol to use to connect with the target.
-
-
Sample:
-
HTTP
- - - -   - +
The protocol to use to connect with the target.
+
+
Sample:
+
HTTP
+ + + +   +
health_check_timeout_seconds
integer -
- + + always -
The amount of time, in seconds, during which no response means a failed health check.
-
-
Sample:
-
5
- - - -   - +
The amount of time, in seconds, during which no response means a failed health check.
+
+
Sample:
+
5
+ + + +   +
healthy_threshold_count
integer -
- + + always -
The number of consecutive health checks successes required before considering an unhealthy target healthy.
-
-
Sample:
-
5
- - - -   - +
The number of consecutive health checks successes required before considering an unhealthy target healthy.
+
+
Sample:
+
5
+ + + +   +
load_balancer_arns
list -
- + + always -
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
-
- +
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
+
+ - -   - + +   +
matcher
dictionary -
- + + always -
The HTTP codes to use when checking for a successful response from a target.
-
-
Sample:
-
{'http_code': '200'}
- - - -   - +
The HTTP codes to use when checking for a successful response from a target.
+
+
Sample:
+
{'http_code': '200'}
+ + + +   +
port
integer -
- + + always -
The port on which the targets are listening.
-
-
Sample:
-
80
- - - -   - +
The port on which the targets are listening.
+
+
Sample:
+
80
+ + + +   +
protocol
string -
- + + always -
The protocol to use for routing traffic to the targets.
-
-
Sample:
-
HTTP
- - - -   - +
The protocol to use for routing traffic to the targets.
+
+
Sample:
+
HTTP
+ + + +   +
stickiness_enabled
boolean -
- + + always -
Indicates whether sticky sessions are enabled.
-
-
Sample:
-
True
- - - -   - +
Indicates whether sticky sessions are enabled.
+
+
Sample:
+
True
+ + + +   +
stickiness_lb_cookie_duration_seconds
integer -
- + + always -
Indicates whether sticky sessions are enabled.
-
-
Sample:
-
86400
- - - -   - +
Indicates whether sticky sessions are enabled.
+
+
Sample:
+
86400
+ + + +   +
stickiness_type
string -
- + + always -
The type of sticky sessions.
-
-
Sample:
-
lb_cookie
- - - -   - +
The type of sticky sessions.
+
+
Sample:
+
lb_cookie
+ + + +   +
tags
dictionary -
- + + always -
The tags attached to the target group.
-
-
Sample:
-
{ 'Tag': 'Example' }
- - - -   - +
The tags attached to the target group.
+
+
Sample:
+
{ 'Tag': 'Example' }
+ + + +   +
target_group_arn
string -
- + + always -
The Amazon Resource Name (ARN) of the target group.
-
-
Sample:
-
arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211
- - - -   - +
The Amazon Resource Name (ARN) of the target group.
+
+
Sample:
+
arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211
+ + + +   +
target_group_name
string -
- + + always -
The name of the target group.
-
-
Sample:
-
mytargetgroup
- - - -   - +
The name of the target group.
+
+
Sample:
+
mytargetgroup
+ + + +   +
targets_health_description
complex -
- + + when collect_targets_health is enabled -
Targets health description.
-
- +
Targets health description.
+
+ - -   -   - + +   +   +
health_check_port
string -
- + + always -
The port to check target health.
-
-
Sample:
-
80
- - - -   -   - +
The port to check target health.
+
+
Sample:
+
80
+ + + +   +   +
target
complex -
- + + always -
The target metadata.
-
- +
The target metadata.
+
+ - -   -   -   - + +   +   +   +
id
string -
- + + always -
The ID of the target.
-
-
Sample:
-
i-0123456789
- - - -   -   -   - +
The ID of the target.
+
+
Sample:
+
i-0123456789
+ + + +   +   +   +
port
integer -
- + + always -
The port to use to connect with the target.
-
-
Sample:
-
80
- - - - -   -   - +
The port to use to connect with the target.
+
+
Sample:
+
80
+ + + + +   +   +
target_health
complex -
- + + always -
The target health status.
-
- +
The target health status.
+
+ - -   -   -   - + +   +   +   +
state
string -
- + + always -
The state of the target health.
-
-
Sample:
-
healthy
- - - - - -   - +
The state of the target health.
+
+
Sample:
+
healthy
+ + + + + +   +
unhealthy_threshold_count
integer -
- + + always -
The number of consecutive health check failures required before considering the target unhealthy.
-
-
Sample:
-
2
- - - -   - +
The number of consecutive health check failures required before considering the target unhealthy.
+
+
Sample:
+
2
+ + + +   +
vpc_id
string -
- + + always -
The ID of the VPC for the targets.
-
-
Sample:
-
vpc-0123456
- +
The ID of the VPC for the targets.
+
+
Sample:
+
vpc-0123456
+ - - + +

@@ -806,5 +822,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.elb_target_group_module.rst b/docs/community.aws.elb_target_group_module.rst index 49fac29647d..13f0826806f 100644 --- a/docs/community.aws.elb_target_group_module.rst +++ b/docs/community.aws.elb_target_group_module.rst @@ -36,581 +36,600 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
deregistration_delay_timeout
integer -
-
- -
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds.
-
+ +
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
health_check_interval
integer -
-
- -
The approximate amount of time, in seconds, between health checks of an individual target.
-
+ +
The approximate amount of time, in seconds, between health checks of an individual target.
+
+
health_check_path
string -
-
- -
The ping path that is the destination on the targets for health checks. The path must be defined in order to set a health check.
-
Requires the health_check_protocol parameter to be set.
-
+ +
The ping path that is the destination on the targets for health checks. The path must be defined in order to set a health check.
+
Requires the health_check_protocol parameter to be set.
+
+
health_check_port
string -
-
- -
The port the load balancer uses when performing health checks on targets. Can be set to 'traffic-port' to match target port.
-
When not defined will default to the port on which each target receives traffic from the load balancer.
-
+ +
The port the load balancer uses when performing health checks on targets. Can be set to 'traffic-port' to match target port.
+
When not defined will default to the port on which each target receives traffic from the load balancer.
+
+
health_check_protocol
string -
-
-
    Choices: -
  • http
  • -
  • https
  • -
  • tcp
  • -
  • tls
  • -
  • udp
  • -
  • tcp_udp
  • -
  • HTTP
  • -
  • HTTPS
  • -
  • TCP
  • -
  • TLS
  • -
  • UDP
  • -
  • TCP_UDP
  • -
-
-
The protocol the load balancer uses when performing health checks on targets.
-
+
    Choices: +
  • http
  • +
  • https
  • +
  • tcp
  • +
  • tls
  • +
  • udp
  • +
  • tcp_udp
  • +
  • HTTP
  • +
  • HTTPS
  • +
  • TCP
  • +
  • TLS
  • +
  • UDP
  • +
  • TCP_UDP
  • +
+
+
The protocol the load balancer uses when performing health checks on targets.
+
+
health_check_timeout
integer -
-
- -
The amount of time, in seconds, during which no response from a target means a failed health check.
-
+ +
The amount of time, in seconds, during which no response from a target means a failed health check.
+
+
healthy_threshold_count
integer -
-
- -
The number of consecutive health checks successes required before considering an unhealthy target healthy.
-
+ +
The number of consecutive health checks successes required before considering an unhealthy target healthy.
+
+
modify_targets
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether or not to alter existing targets in the group to match what is passed with the module
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether or not to alter existing targets in the group to match what is passed with the module
+
+
name
string - / required
-
- -
The name of the target group.
-
+ +
The name of the target group.
+
+
port
integer -
-
- -
The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. Required if state is present.
-
+ +
The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. Required if state is present.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
protocol
string -
-
-
    Choices: -
  • http
  • -
  • https
  • -
  • tcp
  • -
  • tls
  • -
  • udp
  • -
  • tcp_udp
  • -
  • HTTP
  • -
  • HTTPS
  • -
  • TCP
  • -
  • TLS
  • -
  • UDP
  • -
  • TCP_UDP
  • -
-
-
The protocol to use for routing traffic to the targets. Required when state is present.
-
+
    Choices: +
  • http
  • +
  • https
  • +
  • tcp
  • +
  • tls
  • +
  • udp
  • +
  • tcp_udp
  • +
  • HTTP
  • +
  • HTTPS
  • +
  • TCP
  • +
  • TLS
  • +
  • UDP
  • +
  • TCP_UDP
  • +
+
+
The protocol to use for routing traffic to the targets. Required when state is present.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tag parameter is not set then tags will not be modified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
If yes, existing tags will be purged from the resource to match exactly what is defined by tags parameter. If the tag parameter is not set then tags will not be modified.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or destroy the target group.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or destroy the target group.
+
+
stickiness_enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Indicates whether sticky sessions are enabled.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Indicates whether sticky sessions are enabled.
+
+
stickiness_lb_cookie_duration
integer -
-
- -
The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds).
-
+ +
The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds).
+
+
stickiness_type
string -
-
- -
The type of sticky sessions.
-
If not set AWS will default to lb_cookie for Application Load Balancers or source_ip for Network Load Balancers.
-
+ +
The type of sticky sessions.
+
If not set AWS will default to lb_cookie for Application Load Balancers or source_ip for Network Load Balancers.
+
+
successful_response_codes
string -
-
- -
The HTTP codes to use when checking for a successful response from a target.
-
Accepts multiple values (for example, "200,202") or a range of values (for example, "200-299").
-
Requires the health_check_protocol parameter to be set.
-
+ +
The HTTP codes to use when checking for a successful response from a target.
+
Accepts multiple values (for example, "200,202") or a range of values (for example, "200-299").
+
Requires the health_check_protocol parameter to be set.
+
+
tags
dictionary -
-
- -
A dictionary of one or more tags to assign to the target group.
-
+ +
A dictionary of one or more tags to assign to the target group.
+
+
target_type
string -
-
-
    Choices: -
  • instance
  • -
  • ip
  • -
  • lambda
  • -
-
-
The type of target that you must specify when registering targets with this target group. The possible values are instance (targets are specified by instance ID), ip (targets are specified by IP address) or lambda (target is specified by ARN). Note that you can't specify targets for a target group using more than one type. Target type lambda only accept one target. When more than one target is specified, only the first one is used. All additional targets are ignored. If the target type is ip, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.
-
The default behavior is instance.
-
+
    Choices: +
  • instance
  • +
  • ip
  • +
  • lambda
  • +
+
+
The type of target that you must specify when registering targets with this target group. The possible values are instance (targets are specified by instance ID), ip (targets are specified by IP address) or lambda (target is specified by ARN). Note that you can't specify targets for a target group using more than one type. Target type lambda only accept one target. When more than one target is specified, only the first one is used. All additional targets are ignored. If the target type is ip, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.
+
The default behavior is instance.
+
+
targets
list -
-
- -
A list of targets to assign to the target group. This parameter defaults to an empty list. Unless you set the 'modify_targets' parameter then all existing targets will be removed from the group. The list should be an Id and a Port parameter. See the Examples for detail.
-
+ +
A list of targets to assign to the target group. This parameter defaults to an empty list. Unless you set the 'modify_targets' parameter then all existing targets will be removed from the group. The list should be an Id and a Port parameter. See the Examples for detail.
+
+
unhealthy_threshold_count
integer -
-
- -
The number of consecutive health check failures required before considering a target unhealthy.
-
+ +
The number of consecutive health check failures required before considering a target unhealthy.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string -
-
- -
The identifier of the virtual private cloud (VPC). Required when state is present.
-
+ +
The identifier of the virtual private cloud (VPC). Required when state is present.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to wait for the target group.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to wait for the target group.
+
+
wait_timeout
integer -
-
- Default:
200
-
-
The time to wait for the target group.
-
+ Default:
200
+
+
The time to wait for the target group.
+
+
@@ -619,7 +638,7 @@ Notes .. note:: - Once a target group has been created, only its health check can then be modified using subsequent calls - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -630,7 +649,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create a target group with a default health check @@ -733,8 +751,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -747,328 +763,328 @@ Common return values are documented `here Returned Description - - + +
deregistration_delay_timeout_seconds
integer -
- + + when state present -
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused.
-
-
Sample:
-
300
- +
The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused.
+
+
Sample:
+
300
+ - - + +
health_check_interval_seconds
integer -
- + + when state present -
The approximate amount of time, in seconds, between health checks of an individual target.
-
-
Sample:
-
30
- +
The approximate amount of time, in seconds, between health checks of an individual target.
+
+
Sample:
+
30
+ - - + +
health_check_path
string -
- + + when state present -
The destination for the health check request.
-
-
Sample:
-
/index.html
- +
The destination for the health check request.
+
+
Sample:
+
/index.html
+ - - + +
health_check_port
string -
- + + when state present -
The port to use to connect with the target.
-
-
Sample:
-
traffic-port
- +
The port to use to connect with the target.
+
+
Sample:
+
traffic-port
+ - - + +
health_check_protocol
string -
- + + when state present -
The protocol to use to connect with the target.
-
-
Sample:
-
HTTP
- +
The protocol to use to connect with the target.
+
+
Sample:
+
HTTP
+ - - + +
health_check_timeout_seconds
integer -
- + + when state present -
The amount of time, in seconds, during which no response means a failed health check.
-
-
Sample:
-
5
- +
The amount of time, in seconds, during which no response means a failed health check.
+
+
Sample:
+
5
+ - - + +
healthy_threshold_count
integer -
- + + when state present -
The number of consecutive health checks successes required before considering an unhealthy target healthy.
-
-
Sample:
-
5
- +
The number of consecutive health checks successes required before considering an unhealthy target healthy.
+
+
Sample:
+
5
+ - - + +
load_balancer_arns
list -
- + + when state present -
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
-
- +
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
+
+ - - + +
matcher
dictionary -
- + + when state present -
The HTTP codes to use when checking for a successful response from a target.
-
-
Sample:
-
{'http_code': '200'}
- +
The HTTP codes to use when checking for a successful response from a target.
+
+
Sample:
+
{'http_code': '200'}
+ - - + +
port
integer -
- + + when state present -
The port on which the targets are listening.
-
-
Sample:
-
80
- +
The port on which the targets are listening.
+
+
Sample:
+
80
+ - - + +
protocol
string -
- + + when state present -
The protocol to use for routing traffic to the targets.
-
-
Sample:
-
HTTP
- +
The protocol to use for routing traffic to the targets.
+
+
Sample:
+
HTTP
+ - - + +
stickiness_enabled
boolean -
- + + when state present -
Indicates whether sticky sessions are enabled.
-
-
Sample:
-
True
- +
Indicates whether sticky sessions are enabled.
+
+
Sample:
+
True
+ - - + +
stickiness_lb_cookie_duration_seconds
integer -
- + + when state present -
The time period, in seconds, during which requests from a client should be routed to the same target.
-
-
Sample:
-
86400
- +
The time period, in seconds, during which requests from a client should be routed to the same target.
+
+
Sample:
+
86400
+ - - + +
stickiness_type
string -
- + + when state present -
The type of sticky sessions.
-
-
Sample:
-
lb_cookie
- +
The type of sticky sessions.
+
+
Sample:
+
lb_cookie
+ - - + +
tags
dictionary -
- + + when state present -
The tags attached to the target group.
-
-
Sample:
-
{ 'Tag': 'Example' }
- +
The tags attached to the target group.
+
+
Sample:
+
{ 'Tag': 'Example' }
+ - - + +
target_group_arn
string -
- + + when state present -
The Amazon Resource Name (ARN) of the target group.
-
-
Sample:
-
arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211
- +
The Amazon Resource Name (ARN) of the target group.
+
+
Sample:
+
arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211
+ - - + +
target_group_name
string -
- + + when state present -
The name of the target group.
-
-
Sample:
-
mytargetgroup
- +
The name of the target group.
+
+
Sample:
+
mytargetgroup
+ - - + +
unhealthy_threshold_count
integer -
- + + when state present -
The number of consecutive health check failures required before considering the target unhealthy.
-
-
Sample:
-
2
- +
The number of consecutive health check failures required before considering the target unhealthy.
+
+
Sample:
+
2
+ - - + +
vpc_id
string -
- + + when state present -
The ID of the VPC for the targets.
-
-
Sample:
-
vpc-0123456
- +
The ID of the VPC for the targets.
+
+
Sample:
+
vpc-0123456
+ - +

@@ -1080,5 +1096,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.elb_target_info_module.rst b/docs/community.aws.elb_target_info_module.rst index c2cf10de75a..e96e19a5ad1 100644 --- a/docs/community.aws.elb_target_info_module.rst +++ b/docs/community.aws.elb_target_info_module.rst @@ -38,195 +38,214 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
get_unused_target_groups
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether or not to get target groups not used by any load balancers.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether or not to get target groups not used by any load balancers.
+
+
instance_id
string - / required
-
- -
What instance ID to get information for.
-
+ +
What instance ID to get information for.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -234,7 +253,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -245,7 +264,6 @@ Examples .. code-block:: yaml+jinja - # practical use case - dynamically de-registering and re-registering nodes - name: Get EC2 Metadata @@ -259,7 +277,7 @@ Examples register: target_info - name: save fact for later - set_fact: + ansible.builtin.set_fact: original_tgs: "{{ target_info.instance_target_groups }}" - name: Deregister instance from all target groups @@ -327,7 +345,7 @@ Examples # instance - useful in case the playbook fails mid-run and manual # rollback is required - name: "reregistration commands: ELBv2s" - debug: + ansible.builtin.debug: msg: > aws --region {{ansible_ec2_placement_region}} elbv2 register-targets --target-group-arn {{item.target_group_arn}} @@ -340,8 +358,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -354,212 +370,212 @@ Common return values are documented `here Returned Description - - + +
instance_target_groups
complex -
- + + always -
a list of target groups to which the instance is registered to
-
- +
a list of target groups to which the instance is registered to
+
+ - -   - + +   +
target_group_arn
string -
- + + always -
The ARN of the target group
-
-
Sample:
-
['arn:aws:elasticloadbalancing:eu-west-1:111111111111:targetgroup/target-group/deadbeefdeadbeef']
- +
The ARN of the target group
+
+
Sample:
+
['arn:aws:elasticloadbalancing:eu-west-1:111111111111:targetgroup/target-group/deadbeefdeadbeef']
+ - -   - + +   +
target_group_type
string -
- + + always -
Which target type is used for this group
-
-
Sample:
-
['ip', 'instance']
- +
Which target type is used for this group
+
+
Sample:
+
['ip', 'instance']
+ - -   - + +   +
targets
complex -
- + + always -
A list of targets that point to this instance ID
-
- +
A list of targets that point to this instance ID
+
+ - -   -   - + +   +   +
target_az
string -
- + + when an AZ is associated with this instance -
which availability zone is explicitly associated with this target
-
-
Sample:
-
['us-west-2a']
- +
which availability zone is explicitly associated with this target
+
+
Sample:
+
['us-west-2a']
+ - -   -   - + +   +   +
target_health
complex -
- + + always -
The target health description.
- -
- +
The target health description.
+ +
+ - -   -   -   - + +   +   +   +
description
string -
- + + if state!=present -
description of target health
-
-
Sample:
-
['Target desregistration is in progress']
- +
description of target health
+
+
Sample:
+
['Target desregistration is in progress']
+ - -   -   -   - + +   +   +   +
reason
string -
- + + if state!=healthy -
reason code for target health
-
-
Sample:
-
['Target.Deregistration in progress']
- +
reason code for target health
+
+
Sample:
+
['Target.Deregistration in progress']
+ - -   -   -   - + +   +   +   +
state
string -
- + + always -
health state
-
-
Sample:
-
['healthy', 'draining', 'initial', 'unhealthy', 'unused', 'unavailable']
- +
health state
+
+
Sample:
+
['healthy', 'draining', 'initial', 'unhealthy', 'unused', 'unavailable']
+ - - -   -   - + + +   +   +
target_id
string -
- + + always -
the target ID referring to this instance
-
-
Sample:
-
['i-deadbeef', '1.2.3.4']
- +
the target ID referring to this instance
+
+
Sample:
+
['i-deadbeef', '1.2.3.4']
+ - -   -   - + +   +   +
target_port
string -
- + + always -
which port this target is listening on
-
-
Sample:
-
[80]
- +
which port this target is listening on
+
+
Sample:
+
[80]
+ - - - + + +

@@ -571,5 +587,3 @@ Authors ~~~~~~~ - Yaakov Kuperman (@yaakov-github) - - diff --git a/docs/community.aws.elb_target_module.rst b/docs/community.aws.elb_target_module.rst index 3eb8c10c08b..11c9d8bfa21 100644 --- a/docs/community.aws.elb_target_module.rst +++ b/docs/community.aws.elb_target_module.rst @@ -35,314 +35,333 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
deregister_unused
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
The default behaviour for targets that are unused is to leave them registered. If instead you would like to remove them set deregister_unused to yes.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
The default behaviour for targets that are unused is to leave them registered. If instead you would like to remove them set deregister_unused to yes.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Register or deregister the target.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Register or deregister the target.
+
+
target_az
string -
-
- -
An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. This parameter is not supported if the target type of the target group is instance.
-
+ +
An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. This parameter is not supported if the target type of the target group is instance.
+
+
target_group_arn
string -
-
- -
The Amazon Resource Name (ARN) of the target group. Mutually exclusive of target_group_name.
-
+ +
The Amazon Resource Name (ARN) of the target group. Mutually exclusive of target_group_name.
+
+
target_group_name
string -
-
- -
The name of the target group. Mutually exclusive of target_group_arn.
-
+ +
The name of the target group. Mutually exclusive of target_group_arn.
+
+
target_id
string - / required
-
- -
The ID of the target.
-
+ +
The ID of the target.
+
+
target_port
integer -
-
- -
The port on which the target is listening. You can specify a port override. If a target is already registered, you can register it again using a different port.
-
The default port for a target is the port for the target group.
-
+ +
The port on which the target is listening. You can specify a port override. If a target is already registered, you can register it again using a different port.
+
The default port for a target is the port for the target group.
+
+
target_status
string -
-
-
    Choices: -
  • initial
  • -
  • healthy
  • -
  • unhealthy
  • -
  • unused
  • -
  • draining
  • -
  • unavailable
  • -
-
-
Blocks and waits for the target status to equal given value. For more detail on target status see https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html#target-health-states
-
+
    Choices: +
  • initial
  • +
  • healthy
  • +
  • unhealthy
  • +
  • unused
  • +
  • draining
  • +
  • unavailable
  • +
+
+
Blocks and waits for the target status to equal given value. For more detail on target status see https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html#target-health-states
+
+
target_status_timeout
integer -
-
- Default:
60
-
-
Maximum time in seconds to wait for target_status change
-
+ Default:
60
+
+
Maximum time in seconds to wait for target_status change
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -351,7 +370,7 @@ Notes .. note:: - If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -362,7 +381,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Register an IP address target to a target group @@ -394,8 +412,6 @@ Examples - - Status ------ @@ -404,5 +420,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.execute_lambda_module.rst b/docs/community.aws.execute_lambda_module.rst index acd00876d59..c1b395144de 100644 --- a/docs/community.aws.execute_lambda_module.rst +++ b/docs/community.aws.execute_lambda_module.rst @@ -36,279 +36,298 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
dry_run
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Do not *actually* invoke the function. A DryRun call will check that the caller has permissions to call the function, especially for checking cross-account permissions.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Do not *actually* invoke the function. A DryRun call will check that the caller has permissions to call the function, especially for checking cross-account permissions.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
function_arn
string -
-
- -
The name of the function to be invoked
-
+ +
The name of the function to be invoked
+
+
name
string -
-
- -
The name of the function to be invoked. This can only be used for invocations within the calling account. To invoke a function in another account, use function_arn to specify the full ARN.
-
+ +
The name of the function to be invoked. This can only be used for invocations within the calling account. To invoke a function in another account, use function_arn to specify the full ARN.
+
+
payload
dictionary -
-
- Default:
{}
-
-
A dictionary in any form to be provided as input to the Lambda function.
-
+ Default:
{}
+
+
A dictionary in any form to be provided as input to the Lambda function.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
tail_log
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If tail_log=yes, the result of the task will include the last 4 KB of the CloudWatch log for the function execution. Log tailing only works if you use synchronous invocation wait=yes. This is usually used for development or testing Lambdas.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If tail_log=yes, the result of the task will include the last 4 KB of the CloudWatch log for the function execution. Log tailing only works if you use synchronous invocation wait=yes. This is usually used for development or testing Lambdas.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
version_qualifier
string -
-
- -
Which version/alias of the function to run. This defaults to the LATEST revision, but can be set to any existing version or alias. See https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html for details.
-
+ +
Which version/alias of the function to run. This defaults to the LATEST revision, but can be set to any existing version or alias. See https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html for details.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to wait for the function results or not. If wait=no the task will not return any results. To wait for the Lambda function to complete, set wait=yes and the result will be available in the output key.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to wait for the function results or not. If wait=no the task will not return any results. To wait for the Lambda function to complete, set wait=yes and the result will be available in the output key.
+
+
@@ -318,7 +337,7 @@ Notes .. note:: - Async invocation will always return an empty ``output`` key. - Synchronous invocation may result in a function timeout, resulting in an empty ``output`` key. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -329,7 +348,6 @@ Examples .. code-block:: yaml+jinja - - community.aws.execute_lambda: name: test-function # the payload is automatically serialized and sent to the function @@ -366,7 +384,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -379,56 +396,56 @@ Common return values are documented `here Returned Description - - + +
logs
string -
- + + if tail_log == true -
The last 4KB of the function logs. Only provided if tail_log is true
-
- +
The last 4KB of the function logs. Only provided if tail_log is true
+
+ - - + +
output
dictionary -
- + + success -
Function output if wait=true and the function returns a value
-
-
Sample:
-
{ 'output': 'something' }
- +
Function output if wait=true and the function returns a value
+
+
Sample:
+
{ 'output': 'something' }
+ - - + +
status
integer -
- + + always -
StatusCode of API call exit (200 for synchronous invokes, 202 for async)
-
-
Sample:
-
200
- +
StatusCode of API call exit (200 for synchronous invokes, 202 for async)
+
+
Sample:
+
200
+ - +

@@ -440,5 +457,3 @@ Authors ~~~~~~~ - Ryan Scott Brown (@ryansb) - - diff --git a/docs/community.aws.iam_cert_module.rst b/docs/community.aws.iam_cert_module.rst index 8d0cf82ecc7..51e81660f00 100644 --- a/docs/community.aws.iam_cert_module.rst +++ b/docs/community.aws.iam_cert_module.rst @@ -35,309 +35,328 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cert
string -
-
- -
The path to, or content of the certificate body in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
-
+ +
The path to, or content of the certificate body in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
+
+
cert_chain
string -
-
- -
The path to, or content of, the CA certificate chain in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
-
+ +
The path to, or content of, the CA certificate chain in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
dup_ok
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
By default the module will not upload a certificate that is already uploaded into AWS.
-
If dup_ok=True, it will upload the certificate as long as the name is unique.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
By default the module will not upload a certificate that is already uploaded into AWS.
+
If dup_ok=True, it will upload the certificate as long as the name is unique.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
key
string -
-
- -
The path to, or content of the private key in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
-
+ +
The path to, or content of the private key in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.
+
+
name
string - / required
-
- -
Name of certificate to add, update or remove.
-
+ +
Name of certificate to add, update or remove.
+
+
new_name
string -
-
- -
When state is present, this will update the name of the cert.
-
The cert, key and cert_chain parameters will be ignored if this is defined.
-
+ +
When state is present, this will update the name of the cert.
+
The cert, key and cert_chain parameters will be ignored if this is defined.
+
+
new_path
string -
-
- -
When state is present, this will update the path of the cert.
-
The cert, key and cert_chain parameters will be ignored if this is defined.
-
+ +
When state is present, this will update the path of the cert.
+
The cert, key and cert_chain parameters will be ignored if this is defined.
+
+
path
string -
-
- Default:
"/"
-
-
When creating or updating, specify the desired path of the certificate.
-
+ Default:
"/"
+
+
When creating or updating, specify the desired path of the certificate.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Whether to create(or update) or delete the certificate.
-
If new_path or new_name is defined, specifying present will attempt to make an update these.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Whether to create(or update) or delete the certificate.
+
If new_path or new_name is defined, specifying present will attempt to make an update these.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -345,7 +364,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -356,7 +375,6 @@ Examples .. code-block:: yaml+jinja - - name: Basic server certificate upload from local file community.aws.iam_cert: name: very_ssl @@ -391,8 +409,6 @@ Examples - - Status ------ @@ -401,5 +417,3 @@ Authors ~~~~~~~ - Jonathan I. Davila (@defionscode) - - diff --git a/docs/community.aws.iam_group_module.rst b/docs/community.aws.iam_group_module.rst index 1ea0674ae6d..1683e54b0ad 100644 --- a/docs/community.aws.iam_group_module.rst +++ b/docs/community.aws.iam_group_module.rst @@ -37,266 +37,285 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
managed_policies
list - / elements=string
-
- -
A list of managed policy ARNs or friendly names to attach to the role.
-
To embed an inline policy, use community.aws.iam_policy.
-

aliases: managed_policy
-
+ +
A list of managed policy ARNs or friendly names to attach to the role.
+
To embed an inline policy, use community.aws.iam_policy.
+

aliases: managed_policy
+
+
name
string - / required
-
- -
The name of the group to create.
-
+ +
The name of the group to create.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_policies
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When purge_policies=true any managed policies not listed in managed_policies will be detatched.
-

aliases: purge_policy, purge_managed_policies
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When purge_policies=true any managed policies not listed in managed_policies will be detatched.
+

aliases: purge_policy, purge_managed_policies
+
+
purge_users
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When purge_users=true users which are not included in users will be detached.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When purge_users=true users which are not included in users will be detached.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or remove the IAM group.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or remove the IAM group.
+
+
users
list - / elements=string
-
- -
A list of existing users to add as members of the group.
-
+ +
A list of existing users to add as members of the group.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -304,7 +323,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -315,7 +334,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create a group @@ -361,8 +379,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -375,247 +391,247 @@ Common return values are documented `here Returned Description - - + +
iam_group
complex -
- + + success -
dictionary containing all the group information including group membership
-
- +
dictionary containing all the group information including group membership
+
+ - -   - + +   +
group
complex -
- + + success -
dictionary containing all the group information
-
- +
dictionary containing all the group information
+
+ - -   -   - + +   +   +
arn
string -
- + + -
the Amazon Resource Name (ARN) specifying the group
-
-
Sample:
-
arn:aws:iam::1234567890:group/testgroup1
- +
the Amazon Resource Name (ARN) specifying the group
+
+
Sample:
+
arn:aws:iam::1234567890:group/testgroup1
+ - -   -   - + +   +   +
create_date
string -
- + + -
the date and time, in ISO 8601 date-time format, when the group was created
-
-
Sample:
-
2017-02-08T04:36:28+00:00
- +
the date and time, in ISO 8601 date-time format, when the group was created
+
+
Sample:
+
2017-02-08T04:36:28+00:00
+ - -   -   - + +   +   +
group_id
string -
- + + -
the stable and unique string identifying the group
-
-
Sample:
-
AGPAIDBWE12NSFINE55TM
- +
the stable and unique string identifying the group
+
+
Sample:
+
AGPAIDBWE12NSFINE55TM
+ - -   -   - + +   +   +
group_name
string -
- + + -
the friendly name that identifies the group
-
-
Sample:
-
testgroup1
- +
the friendly name that identifies the group
+
+
Sample:
+
testgroup1
+ - -   -   - + +   +   +
path
string -
- + + -
the path to the group
-
-
Sample:
-
/
- +
the path to the group
+
+
Sample:
+
/
+ - - -   - + + +   +
users
complex -
- + + success -
list containing all the group members
-
- +
list containing all the group members
+
+ - -   -   - + +   +   +
arn
string -
- + + -
the Amazon Resource Name (ARN) specifying the user
-
-
Sample:
-
arn:aws:iam::1234567890:user/test_user1
- +
the Amazon Resource Name (ARN) specifying the user
+
+
Sample:
+
arn:aws:iam::1234567890:user/test_user1
+ - -   -   - + +   +   +
create_date
string -
- + + -
the date and time, in ISO 8601 date-time format, when the user was created
-
-
Sample:
-
2017-02-08T04:36:28+00:00
- +
the date and time, in ISO 8601 date-time format, when the user was created
+
+
Sample:
+
2017-02-08T04:36:28+00:00
+ - -   -   - + +   +   +
path
string -
- + + -
the path to the user
-
-
Sample:
-
/
- +
the path to the user
+
+
Sample:
+
/
+ - -   -   - + +   +   +
user_id
string -
- + + -
the stable and unique string identifying the user
-
-
Sample:
-
AIDAIZTPY123YQRS22YU2
- +
the stable and unique string identifying the user
+
+
Sample:
+
AIDAIZTPY123YQRS22YU2
+ - -   -   - + +   +   +
user_name
string -
- + + -
the friendly name that identifies the user
-
-
Sample:
-
testgroup1
- +
the friendly name that identifies the user
+
+
Sample:
+
testgroup1
+ - - - + + +

@@ -628,5 +644,3 @@ Authors - Nick Aslanidis (@naslanidis) - Maksym Postument (@infectsoldier) - - diff --git a/docs/community.aws.iam_managed_policy_module.rst b/docs/community.aws.iam_managed_policy_module.rst index f1c1541cf54..5eefe87b023 100644 --- a/docs/community.aws.iam_managed_policy_module.rst +++ b/docs/community.aws.iam_managed_policy_module.rst @@ -37,283 +37,302 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
fail_on_delete
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
The fail_on_delete option does nothing and will be removed after 2022-06-01
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
The fail_on_delete option does nothing and will be removed after 2022-06-01
+
+
make_default
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Make this revision the default revision.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Make this revision the default revision.
+
+
only_version
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Remove all other non default revisions, if this is used with make_default it will result in all other versions of this policy being deleted.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Remove all other non default revisions, if this is used with make_default it will result in all other versions of this policy being deleted.
+
+
policy
json -
-
- -
A properly json formatted policy
-
+ +
A properly json formatted policy
+
+
policy_description
string -
-
- Default:
""
-
-
A helpful description of this policy, this value is immutable and only set when creating a new policy.
-
+ Default:
""
+
+
A helpful description of this policy, this value is immutable and only set when creating a new policy.
+
+
policy_name
string - / required
-
- -
The name of the managed policy.
-
+ +
The name of the managed policy.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Should this managed policy be present or absent. Set to absent to detach all entities from this policy and remove it if found.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Should this managed policy be present or absent. Set to absent to detach all entities from this policy and remove it if found.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -321,7 +340,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -332,7 +351,6 @@ Examples .. code-block:: yaml+jinja - # Create Policy ex nihilo - name: Create IAM Managed Policy community.aws.iam_managed_policy: @@ -352,7 +370,12 @@ Examples - name: Create IAM Managed Policy community.aws.iam_managed_policy: policy_name: "ManagedPolicy" - policy: "{{ lookup('file', 'managed_policy_update.json') }}" + policy: + Version: "2012-10-17" + Statement: + - Effect: "Allow" + Action: "logs:CreateLogGroup" + Resource: "*" make_default: false state: present @@ -360,7 +383,15 @@ Examples - name: Create IAM Managed Policy community.aws.iam_managed_policy: policy_name: "ManagedPolicy" - policy: "{ 'Version': '2012-10-17', 'Statement':[{'Effect': 'Allow','Action': '*','Resource': '*'}]}" + policy: | + { + "Version": "2012-10-17", + "Statement":[{ + "Effect": "Allow", + "Action": "logs:PutRetentionPolicy", + "Resource": "*" + }] + } only_version: true state: present @@ -372,7 +403,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -385,24 +415,24 @@ Common return values are documented `here Returned Description - - + +
policy
string -
- + + success -
Returns the policy json structure, when state == absent this will return the value of the removed policy.
-
-
Sample:
-
{ "arn": "arn:aws:iam::aws:policy/AdministratorAccess " "attachment_count": 0, "create_date": "2017-03-01T15:42:55.981000+00:00", "default_version_id": "v1", "is_attachable": true, "path": "/", "policy_id": "ANPALM4KLDMTFXGOOJIHL", "policy_name": "AdministratorAccess", "update_date": "2017-03-01T15:42:55.981000+00:00" }
- +
Returns the policy json structure, when state == absent this will return the value of the removed policy.
+
+
Sample:
+
{ "arn": "arn:aws:iam::aws:policy/AdministratorAccess " "attachment_count": 0, "create_date": "2017-03-01T15:42:55.981000+00:00", "default_version_id": "v1", "is_attachable": true, "path": "/", "policy_id": "ANPALM4KLDMTFXGOOJIHL", "policy_name": "AdministratorAccess", "update_date": "2017-03-01T15:42:55.981000+00:00" }
+ - +

@@ -414,5 +444,3 @@ Authors ~~~~~~~ - Dan Kozlowski (@dkhenry) - - diff --git a/docs/community.aws.iam_mfa_device_info_module.rst b/docs/community.aws.iam_mfa_device_info_module.rst index d60035243fa..05c0a39e602 100644 --- a/docs/community.aws.iam_mfa_device_info_module.rst +++ b/docs/community.aws.iam_mfa_device_info_module.rst @@ -38,176 +38,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
user_name
string -
-
- -
The name of the user whose MFA devices will be listed
-
+ +
The name of the user whose MFA devices will be listed
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -215,7 +234,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -226,7 +245,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # more details: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html @@ -244,7 +262,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -257,24 +274,24 @@ Common return values are documented `here Returned Description - - + +
mfa_devices
list -
- + + always -
The MFA devices registered for the given user
-
-
Sample:
-
[{'enable_date': '2016-03-11T23:25:36+00:00', 'serial_number': 'arn:aws:iam::085120003701:mfa/pwnall', 'user_name': 'pwnall'}, {'enable_date': '2016-03-11T23:25:37+00:00', 'serial_number': 'arn:aws:iam::085120003702:mfa/pwnall', 'user_name': 'pwnall'}]
- +
The MFA devices registered for the given user
+
+
Sample:
+
[{'enable_date': '2016-03-11T23:25:36+00:00', 'serial_number': 'arn:aws:iam::085120003701:mfa/pwnall', 'user_name': 'pwnall'}, {'enable_date': '2016-03-11T23:25:37+00:00', 'serial_number': 'arn:aws:iam::085120003702:mfa/pwnall', 'user_name': 'pwnall'}]
+ - +

@@ -286,5 +303,3 @@ Authors ~~~~~~~ - Victor Costan (@pwnall) - - diff --git a/docs/community.aws.iam_module.rst b/docs/community.aws.iam_module.rst index b5802e50289..1f5f78fa016 100644 --- a/docs/community.aws.iam_module.rst +++ b/docs/community.aws.iam_module.rst @@ -35,403 +35,422 @@ Parameters .. raw:: html - + - + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
access_key_ids
list -
-
- -
A list of the keys that you want affected by the access_key_state parameter.
-
+ +
A list of the keys that you want affected by the access_key_state parameter.
+
+
access_key_state
string -
-
-
    Choices: -
  • create
  • -
  • remove
  • -
  • active
  • -
  • inactive
  • -
  • Create
  • -
  • Remove
  • -
  • Active
  • -
  • Inactive
  • -
-
-
When type is user, it creates, removes, deactivates or activates a user's access key(s). Note that actions apply only to keys specified.
-
+
    Choices: +
  • create
  • +
  • remove
  • +
  • active
  • +
  • inactive
  • +
  • Create
  • +
  • Remove
  • +
  • Active
  • +
  • Inactive
  • +
+
+
When type is user, it creates, removes, deactivates or activates a user's access key(s). Note that actions apply only to keys specified.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
groups
list -
-
- -
A list of groups the user should belong to. When state=update, will gracefully remove groups not listed.
-
+ +
A list of groups the user should belong to. When state=update, will gracefully remove groups not listed.
+
+
iam_type
string - / required
-
-
    Choices: -
  • user
  • -
  • group
  • -
  • role
  • -
-
-
Type of IAM resource.
-
+
    Choices: +
  • user
  • +
  • group
  • +
  • role
  • +
+
+
Type of IAM resource.
+
+
key_count
integer -
-
- Default:
1
-
-
When access_key_state=create it will ensure this quantity of keys are present.
-
+ Default:
1
+
+
When access_key_state=create it will ensure this quantity of keys are present.
+
+
name
string - / required
-
- -
Name of IAM resource to create or identify.
-
+ +
Name of IAM resource to create or identify.
+
+
new_name
string -
-
- -
When state=update, will replace name with new_name on IAM resource.
-
+ +
When state=update, will replace name with new_name on IAM resource.
+
+
new_path
string -
-
- -
When state=update, will replace the path with new_path on the IAM resource.
-
+ +
When state=update, will replace the path with new_path on the IAM resource.
+
+
password
string -
-
- -
When type=user and either state=present or state=update, define the users login password.
-
Note that this will always return 'changed'.
-
+ +
When type=user and either state=present or state=update, define the users login password.
+
Note that this will always return 'changed'.
+
+
path
string -
-
- Default:
"/"
-
-
When creating or updating, specify the desired path of the resource.
-
If state=present, it will replace the current path to match what is passed in when they do not match.
-
+ Default:
"/"
+
+
When creating or updating, specify the desired path of the resource.
+
If state=present, it will replace the current path to match what is passed in when they do not match.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • update
  • -
-
-
Whether to create, delete or update the IAM resource. Note, roles cannot be updated.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • update
  • +
+
+
Whether to create, delete or update the IAM resource. Note, roles cannot be updated.
+
+
trust_policy
dictionary -
-
- -
The inline (JSON or YAML) trust policy document that grants an entity permission to assume the role.
-
Mutually exclusive with trust_policy_filepath.
-
+ +
The inline (JSON or YAML) trust policy document that grants an entity permission to assume the role.
+
Mutually exclusive with trust_policy_filepath.
+
+
trust_policy_filepath
string -
-
- -
The path to the trust policy document that grants an entity permission to assume the role.
-
Mutually exclusive with trust_policy.
-
+ +
The path to the trust policy document that grants an entity permission to assume the role.
+
Mutually exclusive with trust_policy.
+
+
update_password
string -
-
-
    Choices: -
  • always ←
  • -
  • on_create
  • -
-
-
When to update user passwords.
-
update_password=always will ensure the password is set to password.
-
update_password=on_create will only set the password for newly created users.
-
+
    Choices: +
  • always ←
  • +
  • on_create
  • +
+
+
When to update user passwords.
+
update_password=always will ensure the password is set to password.
+
update_password=on_create will only set the password for newly created users.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -440,7 +459,7 @@ Notes .. note:: - Currently boto does not support the removal of Managed Policies, the module will error out if your user/group/role has managed policies when you try to do state=absent. They will need to be removed manually. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -451,7 +470,6 @@ Examples .. code-block:: yaml+jinja - # Basic user creation example - name: Create two new IAM users with API keys community.aws.iam: @@ -500,8 +518,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -514,41 +530,41 @@ Common return values are documented `here Returned Description - - + +
role_result
string -
- + + if iam_type=role and state=present -
the IAM.role dict returned by Boto
-
-
Sample:
-
{'arn': 'arn:aws:iam::A1B2C3D4E5F6:role/my-new-role', 'assume_role_policy_document': '...truncated...', 'create_date': '2017-09-02T14:32:23Z', 'path': '/', 'role_id': 'AROAA1B2C3D4E5F6G7H8I', 'role_name': 'my-new-role'}
- +
the IAM.role dict returned by Boto
+
+
Sample:
+
{'arn': 'arn:aws:iam::A1B2C3D4E5F6:role/my-new-role', 'assume_role_policy_document': '...truncated...', 'create_date': '2017-09-02T14:32:23Z', 'path': '/', 'role_id': 'AROAA1B2C3D4E5F6G7H8I', 'role_name': 'my-new-role'}
+ - - + +
roles
list -
- + + if iam_type=role and state=present -
a list containing the name of the currently defined roles
-
-
Sample:
-
['my-new-role', 'my-existing-role-1', 'my-existing-role-2', 'my-existing-role-3', 'my-existing-role-...']
- +
a list containing the name of the currently defined roles
+
+
Sample:
+
['my-new-role', 'my-existing-role-1', 'my-existing-role-2', 'my-existing-role-3', 'my-existing-role-...']
+ - +

@@ -561,5 +577,3 @@ Authors - Jonathan I. Davila (@defionscode) - Paul Seiffert (@seiffert) - - diff --git a/docs/community.aws.iam_password_policy_module.rst b/docs/community.aws.iam_password_policy_module.rst index 7ee644fd3fe..472e6987eba 100644 --- a/docs/community.aws.iam_password_policy_module.rst +++ b/docs/community.aws.iam_password_policy_module.rst @@ -37,347 +37,366 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
allow_pw_change
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Allow users to change their password.
-

aliases: allow_password_change
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Allow users to change their password.
+

aliases: allow_password_change
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
min_pw_length
integer -
-
- Default:
6
-
-
Minimum password length.
-

aliases: minimum_password_length
-
+ Default:
6
+
+
Minimum password length.
+

aliases: minimum_password_length
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
pw_expire
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Prevents users from change an expired password.
-

aliases: password_expire, expire
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Prevents users from change an expired password.
+

aliases: password_expire, expire
+
+
pw_max_age
integer -
-
- Default:
0
-
-
Maximum age for a password in days. When this option is 0 then passwords do not expire automatically.
-

aliases: password_max_age
-
+ Default:
0
+
+
Maximum age for a password in days. When this option is 0 then passwords do not expire automatically.
+

aliases: password_max_age
+
+
pw_reuse_prevent
integer -
-
- Default:
0
-
-
Prevent re-use of passwords.
-

aliases: password_reuse_prevent, prevent_reuse
-
+ Default:
0
+
+
Prevent re-use of passwords.
+

aliases: password_reuse_prevent, prevent_reuse
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
require_lowercase
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Require lowercase letters in password.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Require lowercase letters in password.
+
+
require_numbers
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Require numbers in password.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Require numbers in password.
+
+
require_symbols
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Require symbols in password.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Require symbols in password.
+
+
require_uppercase
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Require uppercase letters in password.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Require uppercase letters in password.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Specifies the overall state of the password policy.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Specifies the overall state of the password policy.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -385,7 +404,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -396,7 +415,6 @@ Examples .. code-block:: yaml+jinja - - name: Password policy for AWS account community.aws.iam_password_policy: state: present @@ -413,7 +431,6 @@ Examples - Status ------ @@ -422,5 +439,3 @@ Authors ~~~~~~~ - Aaron Smith (@slapula) - - diff --git a/docs/community.aws.iam_policy_info_module.rst b/docs/community.aws.iam_policy_info_module.rst index de27cd26404..ac6d53e14a8 100644 --- a/docs/community.aws.iam_policy_info_module.rst +++ b/docs/community.aws.iam_policy_info_module.rst @@ -35,211 +35,230 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
iam_name
string - / required
-
- -
Name of IAM resource you wish to retrieve inline policies for. In other words, the user name, group name or role name.
-
+ +
Name of IAM resource you wish to retrieve inline policies for. In other words, the user name, group name or role name.
+
+
iam_type
string - / required
-
-
    Choices: -
  • user
  • -
  • group
  • -
  • role
  • -
-
-
Type of IAM resource you wish to retrieve inline policies for.
-
+
    Choices: +
  • user
  • +
  • group
  • +
  • role
  • +
+
+
Type of IAM resource you wish to retrieve inline policies for.
+
+
policy_name
string -
-
- -
Name of a specific IAM inline policy you with to retrieve.
-
+ +
Name of a specific IAM inline policy you with to retrieve.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -247,7 +266,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -258,7 +277,6 @@ Examples .. code-block:: yaml+jinja - - name: Describe all inline IAM policies on an IAM User community.aws.iam_policy_info: iam_type: user @@ -272,8 +290,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -286,85 +302,85 @@ Common return values are documented `here Returned Description - - + +
all_policy_names
list -
- + + success -
A list of names of all of the IAM inline policies on the queried object
-
- +
A list of names of all of the IAM inline policies on the queried object
+
+ - - + +
policies
complex -
- + + success -
A list containing the matching IAM inline policy names and their data
-
- +
A list containing the matching IAM inline policy names and their data
+
+ - -   - + +   +
policy_document
list -
- + + success -
The JSON document representing the inline IAM policy
-
- +
The JSON document representing the inline IAM policy
+
+ - -   - + +   +
policy_name
string -
- + + success -
The Name of the inline policy
-
- +
The Name of the inline policy
+
+ - - - + + +
policy_names
list -
- + + success -
A list of matching names of the IAM inline policies on the queried object
-
- +
A list of matching names of the IAM inline policies on the queried object
+
+ - +

@@ -376,5 +392,3 @@ Authors ~~~~~~~ - Mark Chappell (@tremble) - - diff --git a/docs/community.aws.iam_policy_module.rst b/docs/community.aws.iam_policy_module.rst index b11694f041e..bd9c47e5974 100644 --- a/docs/community.aws.iam_policy_module.rst +++ b/docs/community.aws.iam_policy_module.rst @@ -36,284 +36,303 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
iam_name
string - / required
-
- -
Name of IAM resource you wish to target for policy actions. In other words, the user name, group name or role name.
-
+ +
Name of IAM resource you wish to target for policy actions. In other words, the user name, group name or role name.
+
+
iam_type
string - / required
-
-
    Choices: -
  • user
  • -
  • group
  • -
  • role
  • -
-
-
Type of IAM resource.
-
+
    Choices: +
  • user
  • +
  • group
  • +
  • role
  • +
+
+
Type of IAM resource.
+
+
policy_document
string -
-
- -
The path to the properly json formatted policy file.
-
Mutually exclusive with policy_json.
-
This option has been deprecated and will be removed in 2.14. The existing behavior can be reproduced by using the policy_json option and reading the file using the lookup plugin.
-
+ +
The path to the properly json formatted policy file.
+
Mutually exclusive with policy_json.
+
This option has been deprecated and will be removed in 2.14. The existing behavior can be reproduced by using the policy_json option and reading the file using the lookup plugin.
+
+
policy_json
json -
-
- -
A properly json formatted policy as string.
-
Mutually exclusive with policy_document.
- -
+ +
A properly json formatted policy as string.
+
Mutually exclusive with policy_document.
+ +
+
policy_name
string - / required
-
- -
The name label for the policy to create or remove.
-
+ +
The name label for the policy to create or remove.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
skip_duplicates
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
When skip_duplicates=true the module looks for any policies that match the document you pass in. If there is a match it will not make a new policy object with the same rules.
-
The current default is true. However, this behavior can be confusing and as such the default will change to false in 2.14. To maintain the existing behavior explicitly set skip_duplicates=true.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
When skip_duplicates=true the module looks for any policies that match the document you pass in. If there is a match it will not make a new policy object with the same rules.
+
The current default is true. However, this behavior can be confusing and as such the default will change to false in 2.14. To maintain the existing behavior explicitly set skip_duplicates=true.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether to create or delete the IAM policy.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether to create or delete the IAM policy.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -321,7 +340,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -332,7 +351,6 @@ Examples .. code-block:: yaml+jinja - # Create a policy with the name of 'Admin' to the group 'administrators' - name: Assign a policy called Admin to the administrators group community.aws.iam_policy: @@ -378,8 +396,6 @@ Examples - - Status ------ @@ -389,5 +405,3 @@ Authors - Jonathan I. Davila (@defionscode) - Dennis Podkovyrin (@sbj-ss) - - diff --git a/docs/community.aws.iam_role_info_module.rst b/docs/community.aws.iam_role_info_module.rst index e0ba73016f9..b0735befda9 100644 --- a/docs/community.aws.iam_role_info_module.rst +++ b/docs/community.aws.iam_role_info_module.rst @@ -37,194 +37,213 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string -
-
- -
Name of a role to search for.
-
Mutually exclusive with path_prefix.
-

aliases: role_name
-
+ +
Name of a role to search for.
+
Mutually exclusive with path_prefix.
+

aliases: role_name
+
+
path_prefix
string -
-
- -
Prefix of role to restrict IAM role search for.
-
Mutually exclusive with name.
-
+ +
Prefix of role to restrict IAM role search for.
+
Mutually exclusive with name.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -232,7 +251,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -243,7 +262,6 @@ Examples .. code-block:: yaml+jinja - - name: find all existing IAM roles community.aws.iam_role_info: register: result @@ -258,7 +276,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -271,347 +288,347 @@ Common return values are documented `here Returned Description - - + +
iam_roles
complex -
- + + always -
List of IAM roles
-
- +
List of IAM roles
+
+ - -   - + +   +
arn
string -
- + + always -
Amazon Resource Name for IAM role.
-
-
Sample:
-
arn:aws:iam::123456789012:role/AnsibleTestRole
- +
Amazon Resource Name for IAM role.
+
+
Sample:
+
arn:aws:iam::123456789012:role/AnsibleTestRole
+ - -   - + +   +
assume_role_policy_document
string -
- + + always -
Policy Document describing what can assume the role.
-
- +
Policy Document describing what can assume the role.
+
+ - -   - + +   +
create_date
string -
- + + always -
Date IAM role was created.
-
-
Sample:
-
2017-10-23T00:05:08+00:00
- +
Date IAM role was created.
+
+
Sample:
+
2017-10-23T00:05:08+00:00
+ - -   - + +   +
inline_policies
list -
- + + always -
List of names of inline policies.
-
- +
List of names of inline policies.
+
+ - -   - + +   +
instance_profiles
complex -
- + + always -
List of attached instance profiles.
-
- +
List of attached instance profiles.
+
+ - -   -   - + +   +   +
arn
string -
- + + always -
Amazon Resource Name for the instance profile.
-
-
Sample:
-
arn:aws:iam::123456789012:instance-profile/AnsibleTestEC2Policy
- +
Amazon Resource Name for the instance profile.
+
+
Sample:
+
arn:aws:iam::123456789012:instance-profile/AnsibleTestEC2Policy
+ - -   -   - + +   +   +
create_date
string -
- + + always -
Date instance profile was created.
-
-
Sample:
-
2017-10-23T00:05:08+00:00
- +
Date instance profile was created.
+
+
Sample:
+
2017-10-23T00:05:08+00:00
+ - -   -   - + +   +   +
instance_profile_id
string -
- + + always -
Amazon Identifier for the instance profile.
-
-
Sample:
-
AROAII7ABCD123456EFGH
- +
Amazon Identifier for the instance profile.
+
+
Sample:
+
AROAII7ABCD123456EFGH
+ - -   -   - + +   +   +
instance_profile_name
string -
- + + always -
Name of instance profile.
-
-
Sample:
-
AnsibleTestEC2Policy
- +
Name of instance profile.
+
+
Sample:
+
AnsibleTestEC2Policy
+ - -   -   - + +   +   +
path
string -
- + + always -
Path of instance profile.
-
-
Sample:
-
/
- +
Path of instance profile.
+
+
Sample:
+
/
+ - -   -   - + +   +   +
roles
list -
- + + always -
List of roles associated with this instance profile.
-
- +
List of roles associated with this instance profile.
+
+ - - -   - + + +   +
managed_policies
complex -
- + + always -
List of attached managed policies.
-
- +
List of attached managed policies.
+
+ - -   -   - + +   +   +
policy_arn
string -
- + + always -
Amazon Resource Name for the policy.
-
-
Sample:
-
arn:aws:iam::123456789012:policy/AnsibleTestEC2Policy
- +
Amazon Resource Name for the policy.
+
+
Sample:
+
arn:aws:iam::123456789012:policy/AnsibleTestEC2Policy
+ - -   -   - + +   +   +
policy_name
string -
- + + always -
Name of managed policy.
-
-
Sample:
-
AnsibleTestEC2Policy
- +
Name of managed policy.
+
+
Sample:
+
AnsibleTestEC2Policy
+ - - -   - + + +   +
path
string -
- + + always -
Path of role.
-
-
Sample:
-
/
- +
Path of role.
+
+
Sample:
+
/
+ - -   - + +   +
role_id
string -
- + + always -
Amazon Identifier for the role.
-
-
Sample:
-
AROAII7ABCD123456EFGH
- +
Amazon Identifier for the role.
+
+
Sample:
+
AROAII7ABCD123456EFGH
+ - -   - + +   +
role_name
string -
- + + always -
Name of the role.
-
-
Sample:
-
AnsibleTestRole
- +
Name of the role.
+
+
Sample:
+
AnsibleTestRole
+ - -   - + +   +
tags
dictionary -
- + + always -
Role tags.
-
-
Sample:
-
{"Env": "Prod"}
- +
Role tags.
+
+
Sample:
+
{"Env": "Prod"}
+ - - + +

@@ -623,5 +640,3 @@ Authors ~~~~~~~ - Will Thames (@willthames) - - diff --git a/docs/community.aws.iam_role_module.rst b/docs/community.aws.iam_role_module.rst index 7f8a2d60458..82dfe70f8a6 100644 --- a/docs/community.aws.iam_role_module.rst +++ b/docs/community.aws.iam_role_module.rst @@ -37,391 +37,410 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
assume_role_policy_document
json -
-
- -
The trust relationship policy document that grants an entity permission to assume the role.
-
This parameter is required when state=present.
-
+ +
The trust relationship policy document that grants an entity permission to assume the role.
+
This parameter is required when state=present.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
boundary
string -
-
- -
The ARN of an IAM managed policy to use to restrict the permissions this role can pass on to IAM roles/users that it creates.
-
Boundaries cannot be set on Instance Profiles, as such if this option is specified then create_instance_profile must be false.
-
This is intended for roles/users that have permissions to create new IAM objects.
- -
Requires botocore 1.10.57 or above.
-

aliases: boundary_policy_arn
-
+ +
The ARN of an IAM managed policy to use to restrict the permissions this role can pass on to IAM roles/users that it creates.
+
Boundaries cannot be set on Instance Profiles, as such if this option is specified then create_instance_profile must be false.
+
This is intended for roles/users that have permissions to create new IAM objects.
+ +
Requires botocore 1.10.57 or above.
+

aliases: boundary_policy_arn
+
+
create_instance_profile
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Creates an IAM instance profile along with the role.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Creates an IAM instance profile along with the role.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delete_instance_profile
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When delete_instance_profile=true and state=absent deleting a role will also delete the instance profile created with the same name as the role.
-
Only applies when state=absent.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When delete_instance_profile=true and state=absent deleting a role will also delete the instance profile created with the same name as the role.
+
Only applies when state=absent.
+
+
description
string -
-
- -
Provides a description of the role.
-
+ +
Provides a description of the role.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
managed_policies
list -
-
- -
A list of managed policy ARNs or, since Ansible 2.4, a list of either managed policy ARNs or friendly names.
-
To remove all policies set purge_polices=true and managed_policies=[None].
-
To embed an inline policy, use community.aws.iam_policy.
-

aliases: managed_policy
-
+ +
A list of managed policy ARNs or, since Ansible 2.4, a list of either managed policy ARNs or friendly names.
+
To remove all policies set purge_polices=true and managed_policies=[None].
+
To embed an inline policy, use community.aws.iam_policy.
+

aliases: managed_policy
+
+
max_session_duration
integer -
-
- -
The maximum duration (in seconds) of a session when assuming the role.
-
Valid values are between 1 and 12 hours (3600 and 43200 seconds).
-
+ +
The maximum duration (in seconds) of a session when assuming the role.
+
Valid values are between 1 and 12 hours (3600 and 43200 seconds).
+
+
name
string - / required
-
- -
The name of the role to create.
-
+ +
The name of the role to create.
+
+
path
string -
-
- Default:
"/"
-
-
The path to the role. For more information about paths, see https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html.
-
+ Default:
"/"
+
+
The path to the role. For more information about paths, see https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_policies
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
When purge_policies=true any managed policies not listed in managed_policies will be detatched.
-
By default purge_policies=true. In Ansible 2.14 this will be changed to purge_policies=false.
-

aliases: purge_policy, purge_managed_policies
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
When purge_policies=true any managed policies not listed in managed_policies will be detatched.
+
By default purge_policies=true. In Ansible 2.14 this will be changed to purge_policies=false.
+

aliases: purge_policy, purge_managed_policies
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Remove tags not listed in tags when tags is specified.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Remove tags not listed in tags when tags is specified.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or remove the IAM role.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or remove the IAM role.
+
+
tags
dictionary -
-
- -
Tag dict to apply to the queue.
-
Requires botocore 1.12.46 or above.
-
+ +
Tag dict to apply to the queue.
+
Requires botocore 1.12.46 or above.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -429,7 +448,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -440,7 +459,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Create a role with description and tags @@ -472,8 +490,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -486,167 +502,167 @@ Common return values are documented `here Returned Description - - + +
iam_role
complex -
- + + success -
dictionary containing the IAM Role data
-
- +
dictionary containing the IAM Role data
+
+ - -   - + +   +
arn
string -
- + + always -
the Amazon Resource Name (ARN) specifying the role
-
-
Sample:
-
arn:aws:iam::1234567890:role/mynewrole
- +
the Amazon Resource Name (ARN) specifying the role
+
+
Sample:
+
arn:aws:iam::1234567890:role/mynewrole
+ - -   - + +   +
assume_role_policy_document
string -
- + + always -
the policy that grants an entity permission to assume the role
-
-
Sample:
-
{'statement': [{'action': 'sts:AssumeRole', 'effect': 'Allow', 'principal': {'service': 'ec2.amazonaws.com'}, 'sid': ''}], 'version': '2012-10-17'}
- +
the policy that grants an entity permission to assume the role
+
+
Sample:
+
{'statement': [{'action': 'sts:AssumeRole', 'effect': 'Allow', 'principal': {'service': 'ec2.amazonaws.com'}, 'sid': ''}], 'version': '2012-10-17'}
+ - -   - + +   +
attached_policies
list -
- + + always -
a list of dicts containing the name and ARN of the managed IAM policies attached to the role
-
-
Sample:
-
[{'policy_arn': 'arn:aws:iam::aws:policy/PowerUserAccess', 'policy_name': 'PowerUserAccess'}]
- +
a list of dicts containing the name and ARN of the managed IAM policies attached to the role
+
+
Sample:
+
[{'policy_arn': 'arn:aws:iam::aws:policy/PowerUserAccess', 'policy_name': 'PowerUserAccess'}]
+ - -   - + +   +
create_date
string -
- + + always -
the date and time, in ISO 8601 date-time format, when the role was created
-
-
Sample:
-
2016-08-14T04:36:28+00:00
- +
the date and time, in ISO 8601 date-time format, when the role was created
+
+
Sample:
+
2016-08-14T04:36:28+00:00
+ - -   - + +   +
path
string -
- + + always -
the path to the role
-
-
Sample:
-
/
- +
the path to the role
+
+
Sample:
+
/
+ - -   - + +   +
role_id
string -
- + + always -
the stable and unique string identifying the role
-
-
Sample:
-
ABCDEFF4EZ4ABCDEFV4ZC
- +
the stable and unique string identifying the role
+
+
Sample:
+
ABCDEFF4EZ4ABCDEFV4ZC
+ - -   - + +   +
role_name
string -
- + + always -
the friendly name that identifies the role
-
-
Sample:
-
myrole
- +
the friendly name that identifies the role
+
+
Sample:
+
myrole
+ - -   - + +   +
tags
dictionary -
- + + always -
role tags
-
-
Sample:
-
{"Env": "Prod"}
- +
role tags
+
+
Sample:
+
{"Env": "Prod"}
+ - - + +

@@ -658,5 +674,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.iam_saml_federation_module.rst b/docs/community.aws.iam_saml_federation_module.rst index da4e8adb396..814dc3c4ec0 100644 --- a/docs/community.aws.iam_saml_federation_module.rst +++ b/docs/community.aws.iam_saml_federation_module.rst @@ -36,210 +36,229 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name of the provider to create.
-
+ +
The name of the provider to create.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
saml_metadata_document
string -
-
- -
The XML document generated by an identity provider (IdP) that supports SAML 2.0.
-
+ +
The XML document generated by an identity provider (IdP) that supports SAML 2.0.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether to create or delete identity provider. If 'present' is specified it will attempt to update the identity provider matching the name field.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether to create or delete identity provider. If 'present' is specified it will attempt to update the identity provider matching the name field.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -247,7 +266,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -258,7 +277,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # It is assumed that their matching environment variables are set. # Creates a new iam saml identity provider if not present @@ -283,7 +301,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -296,93 +313,93 @@ Common return values are documented `here Returned Description - - + +
saml_provider
complex -
- + + present -
Details of the SAML Identity Provider that was created/modified.
-
- +
Details of the SAML Identity Provider that was created/modified.
+
+ - -   - + +   +
arn
string -
- + + present -
The ARN of the identity provider.
-
-
Sample:
-
arn:aws:iam::123456789012:saml-provider/my_saml_provider
- +
The ARN of the identity provider.
+
+
Sample:
+
arn:aws:iam::123456789012:saml-provider/my_saml_provider
+ - -   - + +   +
create_date
string -
- + + present -
The date and time when the SAML provider was created in ISO 8601 date-time format.
-
-
Sample:
-
2017-02-08T04:36:28+00:00
- +
The date and time when the SAML provider was created in ISO 8601 date-time format.
+
+
Sample:
+
2017-02-08T04:36:28+00:00
+ - -   - + +   +
expire_date
string -
- + + present -
The expiration date and time for the SAML provider in ISO 8601 date-time format.
-
-
Sample:
-
2017-02-08T04:36:28+00:00
- +
The expiration date and time for the SAML provider in ISO 8601 date-time format.
+
+
Sample:
+
2017-02-08T04:36:28+00:00
+ - -   - + +   +
metadata_document
string -
- + + present -
The XML metadata document that includes information about an identity provider.
-
- +
The XML metadata document that includes information about an identity provider.
+
+ - - + +

@@ -395,5 +412,3 @@ Authors - Tony (@axc450) - Aidan Rowe (@aidan-) - - diff --git a/docs/community.aws.iam_server_certificate_info_module.rst b/docs/community.aws.iam_server_certificate_info_module.rst index 7dcc4995460..a4d72a5199d 100644 --- a/docs/community.aws.iam_server_certificate_info_module.rst +++ b/docs/community.aws.iam_server_certificate_info_module.rst @@ -38,176 +38,195 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string -
-
- -
The name of the server certificate you are retrieving attributes for.
-
+ +
The name of the server certificate you are retrieving attributes for.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -215,7 +234,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -226,7 +245,6 @@ Examples .. code-block:: yaml+jinja - - name: Retrieve server certificate community.aws.iam_server_certificate_info: name: production-cert @@ -240,7 +258,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -253,126 +270,126 @@ Common return values are documented `here Returned Description - - + +
arn
string -
- + + success -
The Amazon resource name of the server certificate
-
-
Sample:
-
arn:aws:iam::911277865346:server-certificate/server-cert-name
- +
The Amazon resource name of the server certificate
+
+
Sample:
+
arn:aws:iam::911277865346:server-certificate/server-cert-name
+ - - + +
certificate_body
string -
- + + success -
The asn1der encoded PEM string
-
-
Sample:
-
-----BEGIN CERTIFICATE----- bunch of random data -----END CERTIFICATE-----
- +
The asn1der encoded PEM string
+
+
Sample:
+
-----BEGIN CERTIFICATE----- bunch of random data -----END CERTIFICATE-----
+ - - + +
expiration
string -
- + + success -
The date and time this server certificate will expire, in ISO 8601 format.
-
-
Sample:
-
2017-06-15T12:00:00+00:00
- +
The date and time this server certificate will expire, in ISO 8601 format.
+
+
Sample:
+
2017-06-15T12:00:00+00:00
+ - - + +
path
string -
- + + success -
The path of the server certificate
-
-
Sample:
-
/
- +
The path of the server certificate
+
+
Sample:
+
/
+ - - + +
server_certificate_id
string -
- + + success -
The 21 character certificate id
-
-
Sample:
-
ADWAJXWTZAXIPIMQHMJPO
- +
The 21 character certificate id
+
+
Sample:
+
ADWAJXWTZAXIPIMQHMJPO
+ - - + +
server_certificate_name
string -
- + + success -
The name of the server certificate
-
-
Sample:
-
server-cert-name
- +
The name of the server certificate
+
+
Sample:
+
server-cert-name
+ - - + +
upload_date
string -
- + + success -
The date and time this server certificate was uploaded, in ISO 8601 format.
-
-
Sample:
-
2015-04-25T00:36:40+00:00
- +
The date and time this server certificate was uploaded, in ISO 8601 format.
+
+
Sample:
+
2015-04-25T00:36:40+00:00
+ - +

@@ -384,5 +401,3 @@ Authors ~~~~~~~ - Allen Sanabria (@linuxdynasty) - - diff --git a/docs/community.aws.iam_user_info_module.rst b/docs/community.aws.iam_user_info_module.rst index 8236d83bf83..561eecfc007 100644 --- a/docs/community.aws.iam_user_info_module.rst +++ b/docs/community.aws.iam_user_info_module.rst @@ -37,208 +37,227 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
group
string -
-
- -
The group name name of the IAM user to look for. Mutually exclusive with path.
-
+ +
The group name name of the IAM user to look for. Mutually exclusive with path.
+
+
name
string -
-
- -
The name of the IAM user to look for.
-
+ +
The name of the IAM user to look for.
+
+
path
string -
-
- Default:
"/"
-
-
The path to the IAM user. Mutually exclusive with group.
-
If specified, then would get all user names whose path starts with user provided value.
-
+ Default:
"/"
+
+
The path to the IAM user. Mutually exclusive with group.
+
If specified, then would get all user names whose path starts with user provided value.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -246,7 +265,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -257,7 +276,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Gather facts about "test" user. - name: Get IAM user facts @@ -276,7 +294,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -289,131 +306,131 @@ Common return values are documented `here Returned Description - - + +
iam_users
complex -
- + + success -
list of maching iam users
-
- +
list of maching iam users
+
+ - -   - + +   +
arn
string -
- + + if user exists -
the ARN of the user
-
-
Sample:
-
arn:aws:iam::156360693172:user/dev/test_user
- +
the ARN of the user
+
+
Sample:
+
arn:aws:iam::156360693172:user/dev/test_user
+ - -   - + +   +
create_date
string -
- + + if user exists -
the datetime user was created
-
-
Sample:
-
2016-05-24T12:24:59+00:00
- +
the datetime user was created
+
+
Sample:
+
2016-05-24T12:24:59+00:00
+ - -   - + +   +
password_last_used
string -
- + + if password was used at least once -
the last datetime the password was used by user
-
-
Sample:
-
2016-05-25T13:39:11+00:00
- +
the last datetime the password was used by user
+
+
Sample:
+
2016-05-25T13:39:11+00:00
+ - -   - + +   +
path
string -
- + + if user exists -
the path to user
-
-
Sample:
-
/dev/
- +
the path to user
+
+
Sample:
+
/dev/
+ - -   - + +   +
user_id
string -
- + + if user exists -
the unique user id
-
-
Sample:
-
AIDUIOOCQKTUGI6QJLGH2
- +
the unique user id
+
+
Sample:
+
AIDUIOOCQKTUGI6QJLGH2
+ - -   - + +   +
user_name
string -
- + + if user exists -
the user name
-
-
Sample:
-
test_user
- +
the user name
+
+
Sample:
+
test_user
+ - - + +

@@ -426,5 +443,3 @@ Authors - Constantin Bugneac (@Constantin07) - Abhijeet Kasurde (@Akasurde) - - diff --git a/docs/community.aws.iam_user_module.rst b/docs/community.aws.iam_user_module.rst index 6cdf3bf9d6c..95a84bb2f1f 100644 --- a/docs/community.aws.iam_user_module.rst +++ b/docs/community.aws.iam_user_module.rst @@ -37,232 +37,251 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
managed_policies
list -
-
- -
A list of managed policy ARNs or friendly names to attach to the user.
-
To embed an inline policy, use community.aws.iam_policy.
-

aliases: managed_policy
-
+ +
A list of managed policy ARNs or friendly names to attach to the user.
+
To embed an inline policy, use community.aws.iam_policy.
+

aliases: managed_policy
+
+
name
string - / required
-
- -
The name of the user to create.
-
+ +
The name of the user to create.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_policies
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When purge_policies=true any managed policies not listed in managed_policies will be detatched.
-

aliases: purge_policy, purge_managed_policies
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When purge_policies=true any managed policies not listed in managed_policies will be detatched.
+

aliases: purge_policy, purge_managed_policies
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Create or remove the IAM user.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Create or remove the IAM user.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -270,7 +289,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -281,7 +300,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Note: This module does not allow management of groups that users belong to. # Groups should manage their membership directly using `iam_group`, @@ -312,8 +330,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -326,113 +342,113 @@ Common return values are documented `here Returned Description - - + +
user
complex -
- + + success -
dictionary containing all the user information
-
- +
dictionary containing all the user information
+
+ - -   - + +   +
arn
string -
- + + -
the Amazon Resource Name (ARN) specifying the user
-
-
Sample:
-
arn:aws:iam::1234567890:user/testuser1
- +
the Amazon Resource Name (ARN) specifying the user
+
+
Sample:
+
arn:aws:iam::1234567890:user/testuser1
+ - -   - + +   +
create_date
string -
- + + -
the date and time, in ISO 8601 date-time format, when the user was created
-
-
Sample:
-
2017-02-08T04:36:28+00:00
- +
the date and time, in ISO 8601 date-time format, when the user was created
+
+
Sample:
+
2017-02-08T04:36:28+00:00
+ - -   - + +   +
path
string -
- + + -
the path to the user
-
-
Sample:
-
/
- +
the path to the user
+
+
Sample:
+
/
+ - -   - + +   +
user_id
string -
- + + -
the stable and unique string identifying the user
-
-
Sample:
-
AGPAIDBWE12NSFINE55TM
- +
the stable and unique string identifying the user
+
+
Sample:
+
AGPAIDBWE12NSFINE55TM
+ - -   - + +   +
user_name
string -
- + + -
the friendly name that identifies the user
-
-
Sample:
-
testuser1
- +
the friendly name that identifies the user
+
+
Sample:
+
testuser1
+ - - + +

@@ -444,5 +460,3 @@ Authors ~~~~~~~ - Josh Souza (@joshsouza) - - diff --git a/docs/community.aws.kinesis_stream_module.rst b/docs/community.aws.kinesis_stream_module.rst index 1193e820132..2ee9ef5c92d 100644 --- a/docs/community.aws.kinesis_stream_module.rst +++ b/docs/community.aws.kinesis_stream_module.rst @@ -39,334 +39,353 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
encryption_state
string -
-
-
    Choices: -
  • enabled
  • -
  • disabled
  • -
-
-
Enable or Disable encryption on the Kinesis Stream.
-
+
    Choices: +
  • enabled
  • +
  • disabled
  • +
+
+
Enable or Disable encryption on the Kinesis Stream.
+
+
encryption_type
string -
-
-
    Choices: -
  • KMS
  • -
  • NONE
  • -
-
-
The type of encryption.
-
Defaults to KMS
-
+
    Choices: +
  • KMS
  • +
  • NONE
  • +
+
+
The type of encryption.
+
Defaults to KMS
+
+
key_id
string -
-
- -
The GUID or alias for the KMS key.
-
+ +
The GUID or alias for the KMS key.
+
+
name
string - / required
-
- -
The name of the Kinesis Stream you are managing.
-
+ +
The name of the Kinesis Stream you are managing.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
retention_period
integer -
-
- -
The length of time (in hours) data records are accessible after they are added to the stream.
-
The default retention period is 24 hours and can not be less than 24 hours.
-
The maximum retention period is 168 hours.
-
The retention period can be modified during any point in time.
-
+ +
The length of time (in hours) data records are accessible after they are added to the stream.
+
The default retention period is 24 hours and can not be less than 24 hours.
+
The maximum retention period is 168 hours.
+
The retention period can be modified during any point in time.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
shards
integer -
-
- -
The number of shards you want to have with this stream.
-
This is required when state=present
-
+ +
The number of shards you want to have with this stream.
+
This is required when state=present
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or Delete the Kinesis Stream.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or Delete the Kinesis Stream.
+
+
tags
dictionary -
-
- -
A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }.
-

aliases: resource_tags
-
+ +
A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }.
+

aliases: resource_tags
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Wait for operation to complete before returning.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Wait for operation to complete before returning.
+
+
wait_timeout
integer -
-
- Default:
300
-
-
How many seconds to wait for an operation to complete before timing out.
-
+ Default:
300
+
+
How many seconds to wait for an operation to complete before timing out.
+
+
@@ -374,7 +393,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -385,7 +404,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Basic creation example: @@ -455,7 +473,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -468,92 +485,92 @@ Common return values are documented `here Returned Description - - + +
retention_period_hours
integer -
- + + when state == present. -
Number of hours messages will be kept for a Kinesis Stream.
-
-
Sample:
-
24
- +
Number of hours messages will be kept for a Kinesis Stream.
+
+
Sample:
+
24
+ - - + +
stream_arn
string -
- + + when state == present. -
The amazon resource identifier
-
-
Sample:
-
arn:aws:kinesis:east-side:123456789:stream/test-stream
- +
The amazon resource identifier
+
+
Sample:
+
arn:aws:kinesis:east-side:123456789:stream/test-stream
+ - - + +
stream_name
string -
- + + when state == present. -
The name of the Kinesis Stream.
-
-
Sample:
-
test-stream
- +
The name of the Kinesis Stream.
+
+
Sample:
+
test-stream
+ - - + +
stream_status
string -
- + + when state == present. -
The current state of the Kinesis Stream.
-
-
Sample:
-
ACTIVE
- +
The current state of the Kinesis Stream.
+
+
Sample:
+
ACTIVE
+ - - + +
tags
dictionary -
- + + when state == present. -
Dictionary containing all the tags associated with the Kinesis stream.
-
-
Sample:
-
{'Name': 'Splunk', 'Env': 'development'}
- +
Dictionary containing all the tags associated with the Kinesis stream.
+
+
Sample:
+
{'Name': 'Splunk', 'Env': 'development'}
+ - +

@@ -565,5 +582,3 @@ Authors ~~~~~~~ - Allen Sanabria (@linuxdynasty) - - diff --git a/docs/community.aws.lambda_alias_module.rst b/docs/community.aws.lambda_alias_module.rst index d7d677458a6..6afb9788adb 100644 --- a/docs/community.aws.lambda_alias_module.rst +++ b/docs/community.aws.lambda_alias_module.rst @@ -36,242 +36,261 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A short, user-defined function alias description.
-
+ +
A short, user-defined function alias description.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
function_name
string - / required
-
- -
The name of the function alias.
-
+ +
The name of the function alias.
+
+
function_version
integer -
-
- -
Version associated with the Lambda function alias. A value of 0 (or omitted parameter) sets the alias to the $LATEST version.
-

aliases: version
-
+ +
Version associated with the Lambda function alias. A value of 0 (or omitted parameter) sets the alias to the $LATEST version.
+

aliases: version
+
+
name
string - / required
-
- -
Name of the function alias.
-

aliases: alias_name
-
+ +
Name of the function alias.
+

aliases: alias_name
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -279,7 +298,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -290,7 +309,6 @@ Examples .. code-block:: yaml+jinja - --- # Simple example to create a lambda function and publish a version - hosts: localhost @@ -322,7 +340,7 @@ Examples name: myLambdaFunction register: lambda_info - name: show results - debug: + ansible.builtin.debug: msg: "{{ lambda_info['lambda_facts'] }}" # The following will set the Dev alias to the latest version ($LATEST) since version is omitted (or = 0) @@ -354,7 +372,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -367,75 +384,75 @@ Common return values are documented `here Returned Description - - + +
alias_arn
string -
- + + success -
Full ARN of the function, including the alias
-
-
Sample:
-
arn:aws:lambda:us-west-2:123456789012:function:myFunction:dev
- +
Full ARN of the function, including the alias
+
+
Sample:
+
arn:aws:lambda:us-west-2:123456789012:function:myFunction:dev
+ - - + +
description
string -
- + + success -
A short description of the alias
-
-
Sample:
-
The development stage for my hot new app
- +
A short description of the alias
+
+
Sample:
+
The development stage for my hot new app
+ - - + +
function_version
string -
- + + success -
The qualifier that the alias refers to
-
-
Sample:
-
$LATEST
- +
The qualifier that the alias refers to
+
+
Sample:
+
$LATEST
+ - - + +
name
string -
- + + success -
The name of the alias assigned
-
-
Sample:
-
dev
- +
The name of the alias assigned
+
+
Sample:
+
dev
+ - +

@@ -447,5 +464,3 @@ Authors ~~~~~~~ - Pierre Jodouin (@pjodouin), Ryan Scott Brown (@ryansb) - - diff --git a/docs/community.aws.lambda_event_module.rst b/docs/community.aws.lambda_event_module.rst index 4649d985667..fee94cd64ba 100644 --- a/docs/community.aws.lambda_event_module.rst +++ b/docs/community.aws.lambda_event_module.rst @@ -36,340 +36,359 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - - + + - - + + + + - - - + + - - + + + + - - - + + - - + / required + + + - - - + + - - + + + + - - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
alias
string -
-
- -
Name of the function alias.
-
Mutually exclusive with version.
-
+ +
Name of the function alias.
+
Mutually exclusive with version.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
event_source
string -
-
-
    Choices: -
  • stream ←
  • -
  • sqs
  • -
-
-
Source of the event that triggers the lambda function.
-
For DynamoDB and Kinesis events, select stream
-
For SQS queues, select sqs
-
+
    Choices: +
  • stream ←
  • +
  • sqs
  • +
+
+
Source of the event that triggers the lambda function.
+
For DynamoDB and Kinesis events, select stream
+
For SQS queues, select sqs
+
+
lambda_function_arn
string - / required
-
- -
The name or ARN of the lambda function.
-

aliases: function_name, function_arn
-
+ +
The name or ARN of the lambda function.
+

aliases: function_name, function_arn
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
source_params
dictionary - / required
-
- -
Sub-parameters required for event source.
-
+ +
Sub-parameters required for event source.
+
+
batch_size
integer -
-
- Default:
100
-
-
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
-
+ Default:
100
+
+
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
+
+
enabled
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
- Default:
"true."
-
-
Indicates whether AWS Lambda should begin polling or readin from the event source.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+ Default:
"true."
+
+
Indicates whether AWS Lambda should begin polling or readin from the event source.
+
+
source_arn
string - / required
-
- -
The Amazon Resource Name (ARN) of the SQS queue, Kinesis stream or DynamoDB stream that is the event source.
-
+ +
The Amazon Resource Name (ARN) of the SQS queue, Kinesis stream or DynamoDB stream that is the event source.
+
+
starting_position
string -
-
-
    Choices: -
  • TRIM_HORIZON
  • -
  • LATEST
  • -
-
-
The position in the stream where AWS Lambda should start reading.
-
Required when event_source=stream.
-
+
    Choices: +
  • TRIM_HORIZON
  • +
  • LATEST
  • +
+
+
The position in the stream where AWS Lambda should start reading.
+
Required when event_source=stream.
+
+ +
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
version
integer -
-
- -
Version of the Lambda function.
-
Mutually exclusive with alias.
-
+ +
Version of the Lambda function.
+
Mutually exclusive with alias.
+
+
@@ -377,7 +396,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -388,7 +407,6 @@ Examples .. code-block:: yaml+jinja - # Example that creates a lambda event notification for a DynamoDB stream - name: DynamoDB stream event mapping community.aws.lambda_event: @@ -404,12 +422,11 @@ Examples register: event - name: Show source event - debug: + ansible.builtin.debug: var: event.lambda_stream_events - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -422,22 +439,22 @@ Common return values are documented `here Returned Description - - + +
lambda_stream_events
list -
- + + success -
list of dictionaries returned by the API describing stream event mappings
-
- +
list of dictionaries returned by the API describing stream event mappings
+
+ - +

@@ -449,5 +466,3 @@ Authors ~~~~~~~ - Pierre Jodouin (@pjodouin), Ryan Brown (@ryansb) - - diff --git a/docs/community.aws.lambda_facts_module.rst b/docs/community.aws.lambda_facts_module.rst index d2f95f4a830..7396a687ec7 100644 --- a/docs/community.aws.lambda_facts_module.rst +++ b/docs/community.aws.lambda_facts_module.rst @@ -43,215 +43,234 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
event_source_arn
string -
-
- -
For query type 'mappings', this is the Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream.
-
+ +
For query type 'mappings', this is the Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream.
+
+
function_name
string -
-
- -
The name of the lambda function for which facts are requested.
-

aliases: function, name
-
+ +
The name of the lambda function for which facts are requested.
+

aliases: function, name
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
query
string -
-
-
    Choices: -
  • aliases
  • -
  • all ←
  • -
  • config
  • -
  • mappings
  • -
  • policy
  • -
  • versions
  • -
-
-
Specifies the resource type for which to gather facts. Leave blank to retrieve all facts.
-
+
    Choices: +
  • aliases
  • +
  • all ←
  • +
  • config
  • +
  • mappings
  • +
  • policy
  • +
  • versions
  • +
+
+
Specifies the resource type for which to gather facts. Leave blank to retrieve all facts.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -259,7 +278,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -270,7 +289,6 @@ Examples .. code-block:: yaml+jinja - --- # Simple example of listing all info for a function - name: List all for a specific function @@ -292,12 +310,11 @@ Examples query: all max_items: 20 - name: show Lambda facts - debug: + ansible.builtin.debug: var: lambda_facts - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -310,52 +327,52 @@ Common return values are documented `here Returned Description - - + +
lambda_facts
dictionary -
- + + success -
lambda facts
-
- +
lambda facts
+
+ - - + +
lambda_facts.function
dictionary -
- + + success -
lambda function list
-
- +
lambda function list
+
+ - - + +
lambda_facts.function.TheName
dictionary -
- + + success -
lambda function information, including event, mapping, and version information
-
- +
lambda function information, including event, mapping, and version information
+
+ - +

@@ -371,5 +388,3 @@ Authors ~~~~~~~ - Pierre Jodouin (@pjodouin) - - diff --git a/docs/community.aws.lambda_info_module.rst b/docs/community.aws.lambda_info_module.rst index f269b0c7986..80987bc814f 100644 --- a/docs/community.aws.lambda_info_module.rst +++ b/docs/community.aws.lambda_info_module.rst @@ -37,215 +37,234 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
event_source_arn
string -
-
- -
When query=mappings, this is the Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream.
-
+ +
When query=mappings, this is the Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream.
+
+
function_name
string -
-
- -
The name of the lambda function for which information is requested.
-

aliases: function, name
-
+ +
The name of the lambda function for which information is requested.
+

aliases: function, name
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
query
string -
-
-
    Choices: -
  • aliases
  • -
  • all ←
  • -
  • config
  • -
  • mappings
  • -
  • policy
  • -
  • versions
  • -
-
-
Specifies the resource type for which to gather information. Leave blank to retrieve all information.
-
+
    Choices: +
  • aliases
  • +
  • all ←
  • +
  • config
  • +
  • mappings
  • +
  • policy
  • +
  • versions
  • +
+
+
Specifies the resource type for which to gather information. Leave blank to retrieve all information.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -253,7 +272,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -264,7 +283,6 @@ Examples .. code-block:: yaml+jinja - --- # Simple example of listing all info for a function - name: List all for a specific function @@ -285,12 +303,11 @@ Examples max_items: 20 register: output - name: show Lambda information - debug: + ansible.builtin.debug: msg: "{{ output['function'] }}" - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -303,37 +320,37 @@ Common return values are documented `here Returned Description - - + +
function
dictionary -
- + + success -
lambda function list
-
- +
lambda function list
+
+ - - + +
function.TheName
dictionary -
- + + success -
lambda function information, including event, mapping, and version information
-
- +
lambda function information, including event, mapping, and version information
+
+ - +

@@ -345,5 +362,3 @@ Authors ~~~~~~~ - Pierre Jodouin (@pjodouin) - - diff --git a/docs/community.aws.lambda_module.rst b/docs/community.aws.lambda_module.rst index 84ecb936cec..3fdfd9dbfa9 100644 --- a/docs/community.aws.lambda_module.rst +++ b/docs/community.aws.lambda_module.rst @@ -36,453 +36,472 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
dead_letter_arn
string -
-
- -
The parent object that contains the target Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
-
+ +
The parent object that contains the target Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
-
+ +
A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
environment_variables
dictionary -
-
- -
A dictionary of environment variables the Lambda function is given.
-
+ +
A dictionary of environment variables the Lambda function is given.
+
+
handler
string -
-
- -
The function within your code that Lambda calls to begin execution.
-
+ +
The function within your code that Lambda calls to begin execution.
+
+
memory_size
integer -
-
- Default:
128
-
-
The amount of memory, in MB, your Lambda function is given.
-
+ Default:
128
+
+
The amount of memory, in MB, your Lambda function is given.
+
+
name
string - / required
-
- -
The name you want to assign to the function you are uploading. Cannot be changed.
-
+ +
The name you want to assign to the function you are uploading. Cannot be changed.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role
string -
-
- -
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. You may use the bare ARN if the role belongs to the same AWS account.
-
Required when state=present.
-
+ +
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. You may use the bare ARN if the role belongs to the same AWS account.
+
Required when state=present.
+
+
runtime
string -
-
- -
The runtime environment for the Lambda function you are uploading.
-
Required when creating a function. Uses parameters as described in boto3 docs.
-
Required when state=present.
- -
+ +
The runtime environment for the Lambda function you are uploading.
+
Required when creating a function. Uses parameters as described in boto3 docs.
+
Required when state=present.
+ +
+
s3_bucket
string -
-
- -
Amazon S3 bucket name where the .zip file containing your deployment package is stored.
-
If state=present then either zip_file or s3_bucket must be present.
-
s3_bucket and s3_key are required together.
-
+ +
Amazon S3 bucket name where the .zip file containing your deployment package is stored.
+
If state=present then either zip_file or s3_bucket must be present.
+
s3_bucket and s3_key are required together.
+
+
s3_key
string -
-
- -
The Amazon S3 object (the deployment package) key name you want to upload.
-
s3_bucket and s3_key are required together.
-
+ +
The Amazon S3 object (the deployment package) key name you want to upload.
+
s3_bucket and s3_key are required together.
+
+
s3_object_version
string -
-
- -
The Amazon S3 object (the deployment package) version you want to upload.
-
+ +
The Amazon S3 object (the deployment package) version you want to upload.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete Lambda function.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete Lambda function.
+
+
tags
dictionary -
-
- -
tag dict to apply to the function (requires botocore 1.5.40 or above).
-
+ +
tag dict to apply to the function (requires botocore 1.5.40 or above).
+
+
timeout
integer -
-
- Default:
3
-
-
The function maximum execution time in seconds after which Lambda should terminate the function.
-
+ Default:
3
+
+
The function maximum execution time in seconds after which Lambda should terminate the function.
+
+
tracing_mode
string -
-
-
    Choices: -
  • Active
  • -
  • PassThrough
  • -
-
-
Set mode to 'Active' to sample and trace incoming requests with AWS X-Ray. Turned off (set to 'PassThrough') by default.
-
+
    Choices: +
  • Active
  • +
  • PassThrough
  • +
+
+
Set mode to 'Active' to sample and trace incoming requests with AWS X-Ray. Turned off (set to 'PassThrough') by default.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_security_group_ids
list - / elements=string
-
- -
List of VPC security group IDs to associate with the Lambda function.
-
Required when vpc_subnet_ids is used.
-
+ +
List of VPC security group IDs to associate with the Lambda function.
+
Required when vpc_subnet_ids is used.
+
+
vpc_subnet_ids
list - / elements=string
-
- -
List of subnet IDs to run Lambda function in.
-
Use this option if you need to access resources in your VPC. Leave empty if you don't want to run the function in a VPC.
-
If set, vpc_security_group_ids must also be set.
-
+ +
List of subnet IDs to run Lambda function in.
+
Use this option if you need to access resources in your VPC. Leave empty if you don't want to run the function in a VPC.
+
If set, vpc_security_group_ids must also be set.
+
+
zip_file
string -
-
- -
A .zip file containing your deployment package
-
If state=present then either zip_file or s3_bucket must be present.
-

aliases: src
-
+ +
A .zip file containing your deployment package
+
If state=present then either zip_file or s3_bucket must be present.
+

aliases: src
+
+
@@ -490,7 +509,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -501,7 +520,6 @@ Examples .. code-block:: yaml+jinja - # Create Lambda functions - name: looped creation community.aws.lambda: @@ -554,7 +572,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -567,41 +584,41 @@ Common return values are documented `here Returned Description - - + +
code
dictionary -
- + + success -
the lambda function location returned by get_function in boto3
-
-
Sample:
-
{'location': 'a presigned S3 URL', 'repository_type': 'S3'}
- +
the lambda function location returned by get_function in boto3
+
+
Sample:
+
{'location': 'a presigned S3 URL', 'repository_type': 'S3'}
+ - - + +
configuration
dictionary -
- + + success -
the lambda function metadata returned by get_function in boto3
-
-
Sample:
-
{'code_sha256': 'zOAGfF5JLFuzZoSNirUtOrQp+S341IOA3BcoXXoaIaU=', 'code_size': 123, 'description': 'My function', 'environment': {'variables': {'key': 'value'}}, 'function_arn': 'arn:aws:lambda:us-east-1:123456789012:function:myFunction:1', 'function_name': 'myFunction', 'handler': 'index.handler', 'last_modified': '2017-08-01T00:00:00.000+0000', 'memory_size': 128, 'revision_id': 'a2x9886d-d48a-4a0c-ab64-82abc005x80c', 'role': 'arn:aws:iam::123456789012:role/lambda_basic_execution', 'runtime': 'nodejs6.10', 'tracing_config': {'mode': 'Active'}, 'timeout': 3, 'version': '1', 'vpc_config': {'security_group_ids': [], 'subnet_ids': [], 'vpc_id': '123'}}
- +
the lambda function metadata returned by get_function in boto3
+
+
Sample:
+
{'code_sha256': 'zOAGfF5JLFuzZoSNirUtOrQp+S341IOA3BcoXXoaIaU=', 'code_size': 123, 'description': 'My function', 'environment': {'variables': {'key': 'value'}}, 'function_arn': 'arn:aws:lambda:us-east-1:123456789012:function:myFunction:1', 'function_name': 'myFunction', 'handler': 'index.handler', 'last_modified': '2017-08-01T00:00:00.000+0000', 'memory_size': 128, 'revision_id': 'a2x9886d-d48a-4a0c-ab64-82abc005x80c', 'role': 'arn:aws:iam::123456789012:role/lambda_basic_execution', 'runtime': 'nodejs6.10', 'tracing_config': {'mode': 'Active'}, 'timeout': 3, 'version': '1', 'vpc_config': {'security_group_ids': [], 'subnet_ids': [], 'vpc_id': '123'}}
+ - +

@@ -613,5 +630,3 @@ Authors ~~~~~~~ - Steyn Huizinga (@steynovich) - - diff --git a/docs/community.aws.lambda_policy_module.rst b/docs/community.aws.lambda_policy_module.rst index e9864920a4c..70af795a55b 100644 --- a/docs/community.aws.lambda_policy_module.rst +++ b/docs/community.aws.lambda_policy_module.rst @@ -38,321 +38,340 @@ Parameters .. raw:: html - + - + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
action
string - / required
-
- -
The AWS Lambda action you want to allow in this statement. Each Lambda action is a string starting with lambda: followed by the API name (see Operations ). For example, lambda:CreateFunction . You can use wildcard (lambda:*) to grant permission for all AWS Lambda actions.
-
+ +
The AWS Lambda action you want to allow in this statement. Each Lambda action is a string starting with lambda: followed by the API name (see Operations ). For example, lambda:CreateFunction . You can use wildcard (lambda:*) to grant permission for all AWS Lambda actions.
+
+
alias
string -
-
- -
Name of the function alias. Mutually exclusive with version.
-
+ +
Name of the function alias. Mutually exclusive with version.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
event_source_token
string -
-
- -
Token string representing source ARN or account. Mutually exclusive with source_arn or source_account.
-
+ +
Token string representing source ARN or account. Mutually exclusive with source_arn or source_account.
+
+
function_name
string - / required
-
- -
Name of the Lambda function whose resource policy you are updating by adding a new permission.
-
You can specify a function name (for example, Thumbnail ) or you can specify Amazon Resource Name (ARN) of the
-
function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail ). AWS Lambda also allows you to
-
specify partial ARN (for example, account-id:Thumbnail ). Note that the length constraint applies only to the
-
ARN. If you specify only the function name, it is limited to 64 character in length.
-

aliases: lambda_function_arn, function_arn
-
+ +
Name of the Lambda function whose resource policy you are updating by adding a new permission.
+
You can specify a function name (for example, Thumbnail ) or you can specify Amazon Resource Name (ARN) of the
+
function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail ). AWS Lambda also allows you to
+
specify partial ARN (for example, account-id:Thumbnail ). Note that the length constraint applies only to the
+
ARN. If you specify only the function name, it is limited to 64 character in length.
+

aliases: lambda_function_arn, function_arn
+
+
principal
string - / required
-
- -
The principal who is getting this permission. It can be Amazon S3 service Principal (s3.amazonaws.com ) if you want Amazon S3 to invoke the function, an AWS account ID if you are granting cross-account permission, or any valid AWS service principal such as sns.amazonaws.com . For example, you might want to allow a custom application in another AWS account to push events to AWS Lambda by invoking your function.
-
+ +
The principal who is getting this permission. It can be Amazon S3 service Principal (s3.amazonaws.com ) if you want Amazon S3 to invoke the function, an AWS account ID if you are granting cross-account permission, or any valid AWS service principal such as sns.amazonaws.com . For example, you might want to allow a custom application in another AWS account to push events to AWS Lambda by invoking your function.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
source_account
string -
-
- -
The AWS account ID (without a hyphen) of the source owner. For example, if source_arn identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the source_arn ) owned by a specific account.
-
+ +
The AWS account ID (without a hyphen) of the source owner. For example, if source_arn identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the source_arn ) owned by a specific account.
+
+
source_arn
string -
-
- -
This is optional; however, when granting Amazon S3 permission to invoke your function, you should specify this field with the bucket Amazon Resource Name (ARN) as its value. This ensures that only events generated from the specified bucket can invoke the function.
-
+ +
This is optional; however, when granting Amazon S3 permission to invoke your function, you should specify this field with the bucket Amazon Resource Name (ARN) as its value. This ensures that only events generated from the specified bucket can invoke the function.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
statement_id
string - / required
-
- -
A unique statement identifier.
-

aliases: sid
-
+ +
A unique statement identifier.
+

aliases: sid
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
version
integer -
-
- -
Version of the Lambda function. Mutually exclusive with alias.
-
+ +
Version of the Lambda function. Mutually exclusive with alias.
+
+
@@ -360,7 +379,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -371,8 +390,6 @@ Examples .. code-block:: yaml+jinja - - - name: Lambda S3 event notification community.aws.lambda_policy: state: present @@ -386,12 +403,11 @@ Examples register: lambda_policy_action - name: show results - debug: + ansible.builtin.debug: var: lambda_policy_action - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -404,22 +420,22 @@ Common return values are documented `here Returned Description - - + +
lambda_policy_action
string -
- + + success -
describes what action was taken
-
- +
describes what action was taken
+
+ - +

@@ -432,5 +448,3 @@ Authors - Pierre Jodouin (@pjodouin) - Michael De La Rue (@mikedlr) - - diff --git a/docs/community.aws.lightsail_module.rst b/docs/community.aws.lightsail_module.rst index e97535cdff1..c5adc12834d 100644 --- a/docs/community.aws.lightsail_module.rst +++ b/docs/community.aws.lightsail_module.rst @@ -37,316 +37,335 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
blueprint_id
string -
-
- -
ID of the instance blueprint image.
-
Required when state=present
-
+ +
ID of the instance blueprint image.
+
Required when state=present
+
+
bundle_id
string -
-
- -
Bundle of specification info for the instance.
-
Required when state=present.
-
+ +
Bundle of specification info for the instance.
+
Required when state=present.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
key_pair_name
string -
-
- -
Name of the key pair to use with the instance.
-
If state=present and a key_pair_name is not provided, the default keypair from the region will be used.
-
+ +
Name of the key pair to use with the instance.
+
If state=present and a key_pair_name is not provided, the default keypair from the region will be used.
+
+
name
string - / required
-
- -
Name of the instance.
-
+ +
Name of the instance.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
  • running
  • -
  • restarted
  • -
  • rebooted
  • -
  • stopped
  • -
-
-
Indicate desired state of the target.
-
rebooted and restarted are aliases.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
  • running
  • +
  • restarted
  • +
  • rebooted
  • +
  • stopped
  • +
+
+
Indicate desired state of the target.
+
rebooted and restarted are aliases.
+
+
user_data
string -
-
- -
Launch script that can configure the instance with additional data.
-
+ +
Launch script that can configure the instance with additional data.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Wait for the instance to be in state 'running' before returning.
-
If wait=false an ip_address may not be returned.
-
Has no effect when state=rebooted or state=absent.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Wait for the instance to be in state 'running' before returning.
+
If wait=false an ip_address may not be returned.
+
Has no effect when state=rebooted or state=absent.
+
+
wait_timeout
integer -
-
- Default:
300
-
-
How long before wait gives up, in seconds.
-
+ Default:
300
+
+
How long before wait gives up, in seconds.
+
+
zone
string -
-
- -
AWS availability zone in which to launch the instance.
-
Required when state=present
-
+ +
AWS availability zone in which to launch the instance.
+
Required when state=present
+
+
@@ -354,7 +373,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -365,7 +384,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a new Lightsail instance community.aws.lightsail: state: present @@ -386,8 +404,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -400,41 +416,41 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
if a snapshot has been modified/created
-
-
Sample:
-
{'changed': True}
- +
if a snapshot has been modified/created
+
+
Sample:
+
{'changed': True}
+ - - + +
instance
dictionary -
- + + always -
instance data
-
-
Sample:
-
{'arn': 'arn:aws:lightsail:us-east-1:448830907657:Instance/1fef0175-d6c8-480e-84fa-214f969cda87', 'blueprint_id': 'ubuntu_16_04', 'blueprint_name': 'Ubuntu', 'bundle_id': 'nano_1_0', 'created_at': '2017-03-27T08:38:59.714000-04:00', 'hardware': {'cpu_count': 1, 'ram_size_in_gb': 0.5}, 'is_static_ip': False, 'location': {'availability_zone': 'us-east-1a', 'region_name': 'us-east-1'}, 'name': 'my_instance', 'networking': {'monthly_transfer': {'gb_per_month_allocated': 1024}, 'ports': [{'access_direction': 'inbound', 'access_from': 'Anywhere (0.0.0.0/0)', 'access_type': 'public', 'common_name': '', 'from_port': 80, 'protocol': 'tcp', 'to_port': 80}, {'access_direction': 'inbound', 'access_from': 'Anywhere (0.0.0.0/0)', 'access_type': 'public', 'common_name': '', 'from_port': 22, 'protocol': 'tcp', 'to_port': 22}]}, 'private_ip_address': '172.26.8.14', 'public_ip_address': '34.207.152.202', 'resource_type': 'Instance', 'ssh_key_name': 'keypair', 'state': {'code': 16, 'name': 'running'}, 'support_code': '588307843083/i-0997c97831ee21e33', 'username': 'ubuntu'}
- +
instance data
+
+
Sample:
+
{'arn': 'arn:aws:lightsail:us-east-1:448830907657:Instance/1fef0175-d6c8-480e-84fa-214f969cda87', 'blueprint_id': 'ubuntu_16_04', 'blueprint_name': 'Ubuntu', 'bundle_id': 'nano_1_0', 'created_at': '2017-03-27T08:38:59.714000-04:00', 'hardware': {'cpu_count': 1, 'ram_size_in_gb': 0.5}, 'is_static_ip': False, 'location': {'availability_zone': 'us-east-1a', 'region_name': 'us-east-1'}, 'name': 'my_instance', 'networking': {'monthly_transfer': {'gb_per_month_allocated': 1024}, 'ports': [{'access_direction': 'inbound', 'access_from': 'Anywhere (0.0.0.0/0)', 'access_type': 'public', 'common_name': '', 'from_port': 80, 'protocol': 'tcp', 'to_port': 80}, {'access_direction': 'inbound', 'access_from': 'Anywhere (0.0.0.0/0)', 'access_type': 'public', 'common_name': '', 'from_port': 22, 'protocol': 'tcp', 'to_port': 22}]}, 'private_ip_address': '172.26.8.14', 'public_ip_address': '34.207.152.202', 'resource_type': 'Instance', 'ssh_key_name': 'keypair', 'state': {'code': 16, 'name': 'running'}, 'support_code': '588307843083/i-0997c97831ee21e33', 'username': 'ubuntu'}
+ - +

@@ -447,5 +463,3 @@ Authors - Nick Ball (@nickball) - Prasad Katti (@prasadkatti) - - diff --git a/docs/community.aws.rds_instance_info_module.rst b/docs/community.aws.rds_instance_info_module.rst index ebf08809687..1bdc6675e63 100644 --- a/docs/community.aws.rds_instance_info_module.rst +++ b/docs/community.aws.rds_instance_info_module.rst @@ -38,192 +38,211 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
db_instance_identifier
string -
-
- -
The RDS instance's unique identifier.
-

aliases: id
-
+ +
The RDS instance's unique identifier.
+

aliases: id
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
filters
dictionary -
-
- -
A filter that specifies one or more DB instances to describe. See https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html
-
+ +
A filter that specifies one or more DB instances to describe. See https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -231,7 +250,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -242,7 +261,6 @@ Examples .. code-block:: yaml+jinja - - name: Get information about an instance community.aws.rds_instance_info: db_instance_identifier: new-database @@ -253,7 +271,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -266,1041 +283,1041 @@ Common return values are documented `here Returned Description - - + +
instances
complex -
- + + always -
List of RDS instances
-
- +
List of RDS instances
+
+ - -   - + +   +
allocated_storage
integer -
- + + always -
Gigabytes of storage allocated to the database
-
-
Sample:
-
10
- - - -   - +
Gigabytes of storage allocated to the database
+
+
Sample:
+
10
+ + + +   +
auto_minor_version_upgrade
boolean -
- + + always -
Whether minor version upgrades happen automatically
-
-
Sample:
-
True
- - - -   - +
Whether minor version upgrades happen automatically
+
+
Sample:
+
True
+ + + +   +
availability_zone
string -
- + + always -
Availability Zone in which the database resides
-
-
Sample:
-
us-west-2b
- - - -   - +
Availability Zone in which the database resides
+
+
Sample:
+
us-west-2b
+ + + +   +
backup_retention_period
integer -
- + + always -
Days for which backups are retained
-
-
Sample:
-
7
- - - -   - +
Days for which backups are retained
+
+
Sample:
+
7
+ + + +   +
ca_certificate_identifier
string -
- + + always -
ID for the CA certificate
-
-
Sample:
-
rds-ca-2015
- - - -   - +
ID for the CA certificate
+
+
Sample:
+
rds-ca-2015
+ + + +   +
copy_tags_to_snapshot
boolean -
- + + always -
Whether DB tags should be copied to the snapshot
-
- +
Whether DB tags should be copied to the snapshot
+
+ - -   - + +   +
db_instance_arn
string -
- + + always -
ARN of the database instance
-
-
Sample:
-
arn:aws:rds:us-west-2:111111111111:db:helloworld-rds
- - - -   - +
ARN of the database instance
+
+
Sample:
+
arn:aws:rds:us-west-2:111111111111:db:helloworld-rds
+ + + +   +
db_instance_class
string -
- + + always -
Instance class of the database instance
-
-
Sample:
-
db.t2.small
- - - -   - +
Instance class of the database instance
+
+
Sample:
+
db.t2.small
+ + + +   +
db_instance_identifier
string -
- + + always -
Database instance identifier
-
-
Sample:
-
helloworld-rds
- - - -   - +
Database instance identifier
+
+
Sample:
+
helloworld-rds
+ + + +   +
db_instance_port
integer -
- + + always -
Port used by the database instance
-
- +
Port used by the database instance
+
+ - -   - + +   +
db_instance_status
string -
- + + always -
Status of the database instance
-
-
Sample:
-
available
- - - -   - +
Status of the database instance
+
+
Sample:
+
available
+ + + +   +
db_name
string -
- + + always -
Name of the database
-
-
Sample:
-
management
- - - -   - +
Name of the database
+
+
Sample:
+
management
+ + + +   +
db_parameter_groups
complex -
- + + always -
List of database parameter groups
-
- +
List of database parameter groups
+
+ - -   -   - + +   +   +
db_parameter_group_name
string -
- + + always -
Name of the database parameter group
-
-
Sample:
-
psql-pg-helloworld
- - - -   -   - +
Name of the database parameter group
+
+
Sample:
+
psql-pg-helloworld
+ + + +   +   +
parameter_apply_status
string -
- + + always -
Whether the parameter group has been applied
-
-
Sample:
-
in-sync
- +
Whether the parameter group has been applied
+
+
Sample:
+
in-sync
+ - - -   - + + +   +
db_security_groups
list -
- + + always -
List of security groups used by the database instance
-
- +
List of security groups used by the database instance
+
+ - -   - + +   +
db_subnet_group
complex -
- + + always -
list of subnet groups
-
- +
list of subnet groups
+
+ - -   -   - + +   +   +
db_subnet_group_description
string -
- + + always -
Description of the DB subnet group
-
-
Sample:
-
My database subnet group
- - - -   -   - +
Description of the DB subnet group
+
+
Sample:
+
My database subnet group
+ + + +   +   +
db_subnet_group_name
string -
- + + always -
Name of the database subnet group
-
-
Sample:
-
my-subnet-group
- - - -   -   - +
Name of the database subnet group
+
+
Sample:
+
my-subnet-group
+ + + +   +   +
subnet_group_status
string -
- + + always -
Subnet group status
-
-
Sample:
-
Complete
- - - -   -   - +
Subnet group status
+
+
Sample:
+
Complete
+ + + +   +   +
subnets
complex -
- + + always -
List of subnets in the subnet group
-
- +
List of subnets in the subnet group
+
+ - -   -   -   - + +   +   +   +
subnet_availability_zone
complex -
- + + always -
Availability zone of the subnet
-
- +
Availability zone of the subnet
+
+ - -   -   -   -   - + +   +   +   +   +
name
string -
- + + always -
Name of the availability zone
-
-
Sample:
-
us-west-2c
- - - - -   -   -   - +
Name of the availability zone
+
+
Sample:
+
us-west-2c
+ + + + +   +   +   +
subnet_identifier
string -
- + + always -
Subnet ID
-
-
Sample:
-
subnet-abcd1234
- - - -   -   -   - +
Subnet ID
+
+
Sample:
+
subnet-abcd1234
+ + + +   +   +   +
subnet_status
string -
- + + always -
Subnet status
-
-
Sample:
-
Active
- - - - -   -   - +
Subnet status
+
+
Sample:
+
Active
+ + + + +   +   +
vpc_id
string -
- + + always -
VPC id of the subnet group
-
-
Sample:
-
vpc-abcd1234
- +
VPC id of the subnet group
+
+
Sample:
+
vpc-abcd1234
+ - - -   - + + +   +
dbi_resource_id
string -
- + + always -
AWS Region-unique, immutable identifier for the DB instance
-
-
Sample:
-
db-AAAAAAAAAAAAAAAAAAAAAAAAAA
- - - -   - +
AWS Region-unique, immutable identifier for the DB instance
+
+
Sample:
+
db-AAAAAAAAAAAAAAAAAAAAAAAAAA
+ + + +   +
domain_memberships
list -
- + + always -
List of domain memberships
-
- +
List of domain memberships
+
+ - -   - + +   +
endpoint
complex -
- + + always -
Database endpoint
-
- +
Database endpoint
+
+ - -   -   - + +   +   +
address
string -
- + + always -
Database endpoint address
-
-
Sample:
-
helloworld-rds.ctrqpe3so1sf.us-west-2.rds.amazonaws.com
- - - -   -   - +
Database endpoint address
+
+
Sample:
+
helloworld-rds.ctrqpe3so1sf.us-west-2.rds.amazonaws.com
+ + + +   +   +
hosted_zone_id
string -
- + + always -
Route53 hosted zone ID
-
-
Sample:
-
Z1PABCD0000000
- - - -   -   - +
Route53 hosted zone ID
+
+
Sample:
+
Z1PABCD0000000
+ + + +   +   +
port
integer -
- + + always -
Database endpoint port
-
-
Sample:
-
5432
- +
Database endpoint port
+
+
Sample:
+
5432
+ - - -   - + + +   +
engine
string -
- + + always -
Database engine
-
-
Sample:
-
postgres
- - - -   - +
Database engine
+
+
Sample:
+
postgres
+ + + +   +
engine_version
string -
- + + always -
Database engine version
-
-
Sample:
-
9.5.10
- - - -   - +
Database engine version
+
+
Sample:
+
9.5.10
+ + + +   +
iam_database_authentication_enabled
boolean -
- + + always -
Whether database authentication through IAM is enabled
-
- +
Whether database authentication through IAM is enabled
+
+ - -   - + +   +
instance_create_time
string -
- + + always -
Date and time the instance was created
-
-
Sample:
-
2017-10-10T04:00:07.434000+00:00
- - - -   - +
Date and time the instance was created
+
+
Sample:
+
2017-10-10T04:00:07.434000+00:00
+ + + +   +
kms_key_id
string -
- + + always -
KMS Key ID
-
-
Sample:
-
arn:aws:kms:us-west-2:111111111111:key/abcd1234-0000-abcd-1111-0123456789ab
- - - -   - +
KMS Key ID
+
+
Sample:
+
arn:aws:kms:us-west-2:111111111111:key/abcd1234-0000-abcd-1111-0123456789ab
+ + + +   +
latest_restorable_time
string -
- + + always -
Latest time to which a database can be restored with point-in-time restore
-
-
Sample:
-
2018-05-17T00:03:56+00:00
- - - -   - +
Latest time to which a database can be restored with point-in-time restore
+
+
Sample:
+
2018-05-17T00:03:56+00:00
+ + + +   +
license_model
string -
- + + always -
License model
-
-
Sample:
-
postgresql-license
- - - -   - +
License model
+
+
Sample:
+
postgresql-license
+ + + +   +
master_username
string -
- + + always -
Database master username
-
-
Sample:
-
dbadmin
- - - -   - +
Database master username
+
+
Sample:
+
dbadmin
+ + + +   +
monitoring_interval
integer -
- + + always -
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance
-
- +
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance
+
+ - -   - + +   +
multi_az
boolean -
- + + always -
Whether Multi-AZ is on
-
- +
Whether Multi-AZ is on
+
+ - -   - + +   +
option_group_memberships
complex -
- + + always -
List of option groups
-
- +
List of option groups
+
+ - -   -   - + +   +   +
option_group_name
string -
- + + always -
Option group name
-
-
Sample:
-
default:postgres-9-5
- - - -   -   - +
Option group name
+
+
Sample:
+
default:postgres-9-5
+ + + +   +   +
status
string -
- + + always -
Status of option group
-
-
Sample:
-
in-sync
- +
Status of option group
+
+
Sample:
+
in-sync
+ - - -   - + + +   +
pending_modified_values
complex -
- + + always -
Modified values pending application
-
- +
Modified values pending application
+
+ - -   - + +   +
performance_insights_enabled
boolean -
- + + always -
Whether performance insights are enabled
-
- +
Whether performance insights are enabled
+
+ - -   - + +   +
preferred_backup_window
string -
- + + always -
Preferred backup window
-
-
Sample:
-
04:00-05:00
- - - -   - +
Preferred backup window
+
+
Sample:
+
04:00-05:00
+ + + +   +
preferred_maintenance_window
string -
- + + always -
Preferred maintenance window
-
-
Sample:
-
mon:05:00-mon:05:30
- - - -   - +
Preferred maintenance window
+
+
Sample:
+
mon:05:00-mon:05:30
+ + + +   +
publicly_accessible
boolean -
- + + always -
Whether the DB is publicly accessible
-
- +
Whether the DB is publicly accessible
+
+ - -   - + +   +
read_replica_db_instance_identifiers
list -
- + + always -
List of database instance read replicas
-
- +
List of database instance read replicas
+
+ - -   - + +   +
storage_encrypted
boolean -
- + + always -
Whether the storage is encrypted
-
-
Sample:
-
True
- - - -   - +
Whether the storage is encrypted
+
+
Sample:
+
True
+ + + +   +
storage_type
string -
- + + always -
Storage type of the Database instance
-
-
Sample:
-
gp2
- - - -   - +
Storage type of the Database instance
+
+
Sample:
+
gp2
+ + + +   +
tags
complex -
- + + always -
Tags used by the database instance
-
- +
Tags used by the database instance
+
+ - -   - + +   +
vpc_security_groups
complex -
- + + always -
List of VPC security groups
-
- +
List of VPC security groups
+
+ - -   -   - + +   +   +
status
string -
- + + always -
Status of the VPC security group
-
-
Sample:
-
active
- - - -   -   - +
Status of the VPC security group
+
+
Sample:
+
active
+ + + +   +   +
vpc_security_group_id
string -
- + + always -
VPC Security Group ID
-
-
Sample:
-
sg-abcd1234
- +
VPC Security Group ID
+
+
Sample:
+
sg-abcd1234
+ - - - + + +

@@ -1313,5 +1330,3 @@ Authors - Will Thames (@willthames) - Michael De La Rue (@mikedlr) - - diff --git a/docs/community.aws.rds_instance_module.rst b/docs/community.aws.rds_instance_module.rst index 78ef27aa24e..231f76a2335 100644 --- a/docs/community.aws.rds_instance_module.rst +++ b/docs/community.aws.rds_instance_module.rst @@ -37,1359 +37,1378 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + + + + - - - + + - - - - - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
allocated_storage
integer -
-
- -
The amount of storage (in gibibytes) to allocate for the DB instance.
-
+ +
The amount of storage (in gibibytes) to allocate for the DB instance.
+
+
allow_major_version_upgrade
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to allow major version upgrades.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to allow major version upgrades.
+
+
apply_immediately
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
A value that specifies whether modifying a cluster with new_db_instance_identifier and master_user_password should be applied as soon as possible, regardless of the preferred_maintenance_window setting. If false, changes are applied during the next maintenance window.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
A value that specifies whether modifying a cluster with new_db_instance_identifier and master_user_password should be applied as soon as possible, regardless of the preferred_maintenance_window setting. If false, changes are applied during the next maintenance window.
+
+
auto_minor_version_upgrade
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether minor version upgrades are applied automatically to the DB instance during the maintenance window.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether minor version upgrades are applied automatically to the DB instance during the maintenance window.
+
+
availability_zone
string -
-
- -
A list of EC2 Availability Zones that instances in the DB cluster can be created in. May be used when creating a cluster or when restoring from S3 or a snapshot. Mutually exclusive with multi_az.
-

aliases: az, zone
-
+ +
A list of EC2 Availability Zones that instances in the DB cluster can be created in. May be used when creating a cluster or when restoring from S3 or a snapshot. Mutually exclusive with multi_az.
+

aliases: az, zone
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
backup_retention_period
integer -
-
- -
The number of days for which automated backups are retained.
-
When set to 0, automated backups will be disabled. (Not applicable if the DB instance is a source to read replicas)
-
May be used when creating a new cluster, when restoring from S3, or when modifying a cluster.
-
+ +
The number of days for which automated backups are retained.
+
When set to 0, automated backups will be disabled. (Not applicable if the DB instance is a source to read replicas)
+
May be used when creating a new cluster, when restoring from S3, or when modifying a cluster.
+
+
ca_certificate_identifier
string -
-
- -
The identifier of the CA certificate for the DB instance.
-
+ +
The identifier of the CA certificate for the DB instance.
+
+
character_set_name
string -
-
- -
The character set to associate with the DB cluster.
-
+ +
The character set to associate with the DB cluster.
+
+
copy_tags_to_snapshot
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether or not to copy all tags from the DB instance to snapshots of the instance. When initially creating a DB instance the RDS API defaults this to false if unspecified.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether or not to copy all tags from the DB instance to snapshots of the instance. When initially creating a DB instance the RDS API defaults this to false if unspecified.
+
+
creation_source
string -
-
-
    Choices: -
  • snapshot
  • -
  • s3
  • -
  • instance
  • -
-
-
Which source to use if restoring from a template (an existing instance, S3 bucket, or snapshot).
-
+
    Choices: +
  • snapshot
  • +
  • s3
  • +
  • instance
  • +
+
+
Which source to use if restoring from a template (an existing instance, S3 bucket, or snapshot).
+
+
db_cluster_identifier
string -
-
- -
The DB cluster (lowercase) identifier to add the aurora DB instance to. The identifier must contain from 1 to 63 letters, numbers, or hyphens and the first character must be a letter and may not end in a hyphen or contain consecutive hyphens.
-

aliases: cluster_id
-
+ +
The DB cluster (lowercase) identifier to add the aurora DB instance to. The identifier must contain from 1 to 63 letters, numbers, or hyphens and the first character must be a letter and may not end in a hyphen or contain consecutive hyphens.
+

aliases: cluster_id
+
+
db_instance_class
string -
-
- -
The compute and memory capacity of the DB instance, for example db.t2.micro.
-

aliases: class, instance_type
-
+ +
The compute and memory capacity of the DB instance, for example db.t2.micro.
+

aliases: class, instance_type
+
+
db_instance_identifier
string - / required
-
- -
The DB instance (lowercase) identifier. The identifier must contain from 1 to 63 letters, numbers, or hyphens and the first character must be a letter and may not end in a hyphen or contain consecutive hyphens.
-

aliases: instance_id, id
-
+ +
The DB instance (lowercase) identifier. The identifier must contain from 1 to 63 letters, numbers, or hyphens and the first character must be a letter and may not end in a hyphen or contain consecutive hyphens.
+

aliases: instance_id, id
+
+
db_name
string -
-
- -
The name for your database. If a name is not provided Amazon RDS will not create a database.
-
+ +
The name for your database. If a name is not provided Amazon RDS will not create a database.
+
+
db_parameter_group_name
string -
-
- -
The name of the DB parameter group to associate with this DB instance. When creating the DB instance if this argument is omitted the default DBParameterGroup for the specified engine is used.
-
+ +
The name of the DB parameter group to associate with this DB instance. When creating the DB instance if this argument is omitted the default DBParameterGroup for the specified engine is used.
+
+
db_security_groups
list -
-
- -
(EC2-Classic platform) A list of DB security groups to associate with this DB instance.
-
+ +
(EC2-Classic platform) A list of DB security groups to associate with this DB instance.
+
+
db_snapshot_identifier
string -
-
- -
The identifier for the DB snapshot to restore from if using creation_source=snapshot.
-
+ +
The identifier for the DB snapshot to restore from if using creation_source=snapshot.
+
+
db_subnet_group_name
string -
-
- -
The DB subnet group name to use for the DB instance.
-

aliases: subnet_group
-
+ +
The DB subnet group name to use for the DB instance.
+

aliases: subnet_group
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
domain
string -
-
- -
The Active Directory Domain to restore the instance in.
-
+ +
The Active Directory Domain to restore the instance in.
+
+
domain_iam_role_name
string -
-
- -
The name of the IAM role to be used when making API calls to the Directory Service.
-
+ +
The name of the IAM role to be used when making API calls to the Directory Service.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
enable_cloudwatch_logs_exports
list -
-
- -
A list of log types that need to be enabled for exporting to CloudWatch Logs.
-

aliases: cloudwatch_log_exports
-
+ +
A list of log types that need to be enabled for exporting to CloudWatch Logs.
+

aliases: cloudwatch_log_exports
+
+
enable_iam_database_authentication
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. If this option is omitted when creating the cluster, Amazon RDS sets this to False.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. If this option is omitted when creating the cluster, Amazon RDS sets this to False.
+
+
enable_performance_insights
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to enable Performance Insights for the DB instance.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to enable Performance Insights for the DB instance.
+
+
engine
string -
-
- -
The name of the database engine to be used for this DB instance. This is required to create an instance. Valid choices are aurora | aurora-mysql | aurora-postgresql | mariadb | mysql | oracle-ee | oracle-se | oracle-se1 | oracle-se2 | postgres | sqlserver-ee | sqlserver-ex | sqlserver-se | sqlserver-web
-
+ +
The name of the database engine to be used for this DB instance. This is required to create an instance. Valid choices are aurora | aurora-mysql | aurora-postgresql | mariadb | mysql | oracle-ee | oracle-se | oracle-se1 | oracle-se2 | postgres | sqlserver-ee | sqlserver-ex | sqlserver-se | sqlserver-web
+
+
engine_version
string -
-
- -
The version number of the database engine to use. For Aurora MySQL that could be 5.6.10a , 5.7.12. Aurora PostgreSQL example, 9.6.3
-
+ +
The version number of the database engine to use. For Aurora MySQL that could be 5.6.10a , 5.7.12. Aurora PostgreSQL example, 9.6.3
+
+
final_db_snapshot_identifier
string -
-
- -
The DB instance snapshot identifier of the new DB instance snapshot created when skip_final_snapshot is false.
-

aliases: final_snapshot_identifier
-
+ +
The DB instance snapshot identifier of the new DB instance snapshot created when skip_final_snapshot is false.
+

aliases: final_snapshot_identifier
+
+
force_failover
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Set to true to conduct the reboot through a MultiAZ failover.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Set to true to conduct the reboot through a MultiAZ failover.
+
+
force_update_password
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Set to True to update your cluster password with master_user_password. Since comparing passwords to determine if it needs to be updated is not possible this is set to False by default to allow idempotence.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Set to True to update your cluster password with master_user_password. Since comparing passwords to determine if it needs to be updated is not possible this is set to False by default to allow idempotence.
+
+
iops
integer -
-
- -
The Provisioned IOPS (I/O operations per second) value. Is only set when using storage_type is set to io1.
-
+ +
The Provisioned IOPS (I/O operations per second) value. Is only set when using storage_type is set to io1.
+
+
kms_key_id
string -
-
- -
The ARN of the AWS KMS key identifier for an encrypted DB instance. If you are creating a DB instance with the same AWS account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key.
-
If storage_encrypted is true and and this option is not provided, the default encryption key is used.
-
+ +
The ARN of the AWS KMS key identifier for an encrypted DB instance. If you are creating a DB instance with the same AWS account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key.
+
If storage_encrypted is true and and this option is not provided, the default encryption key is used.
+
+
license_model
string -
-
- -
The license model for the DB instance.
-
Several options are license-included, bring-your-own-license, and general-public-license.
-
This option can also be omitted to default to an accepted value.
-
+ +
The license model for the DB instance.
+
Several options are license-included, bring-your-own-license, and general-public-license.
+
This option can also be omitted to default to an accepted value.
+
+
master_user_password
string -
-
- -
An 8-41 character password for the master database user. The password can contain any printable ASCII character except "/", """, or "@". To modify the password use force_password_update. Use apply immediately to change the password immediately, otherwise it is updated during the next maintenance window.
-

aliases: password
-
+ +
An 8-41 character password for the master database user. The password can contain any printable ASCII character except "/", """, or "@". To modify the password use force_password_update. Use apply immediately to change the password immediately, otherwise it is updated during the next maintenance window.
+

aliases: password
+
+
master_username
string -
-
- -
The name of the master user for the DB cluster. Must be 1-16 letters or numbers and begin with a letter.
-

aliases: username
-
+ +
The name of the master user for the DB cluster. Must be 1-16 letters or numbers and begin with a letter.
+

aliases: username
+
+
max_allocated_storage
integer -
-
- -
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
-
+ +
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
+
+
monitoring_interval
integer -
-
- -
The interval, in seconds, when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting metrics, specify 0. Amazon RDS defaults this to 0 if omitted when initially creating a DB instance.
-
+ +
The interval, in seconds, when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting metrics, specify 0. Amazon RDS defaults this to 0 if omitted when initially creating a DB instance.
+
+
monitoring_role_arn
string -
-
- -
The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs.
-
+ +
The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs.
+
+
multi_az
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Specifies if the DB instance is a Multi-AZ deployment. Mutually exclusive with availability_zone.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Specifies if the DB instance is a Multi-AZ deployment. Mutually exclusive with availability_zone.
+
+
new_db_instance_identifier
string -
-
- -
The new DB cluster (lowercase) identifier for the DB cluster when renaming a DB instance. The identifier must contain from 1 to 63 letters, numbers, or hyphens and the first character must be a letter and may not end in a hyphen or contain consecutive hyphens. Use apply_immediately to rename immediately, otherwise it is updated during the next maintenance window.
-

aliases: new_instance_id, new_id
-
+ +
The new DB cluster (lowercase) identifier for the DB cluster when renaming a DB instance. The identifier must contain from 1 to 63 letters, numbers, or hyphens and the first character must be a letter and may not end in a hyphen or contain consecutive hyphens. Use apply_immediately to rename immediately, otherwise it is updated during the next maintenance window.
+

aliases: new_instance_id, new_id
+
+
option_group_name
string -
-
- -
The option group to associate with the DB instance.
-
+ +
The option group to associate with the DB instance.
+
+
performance_insights_kms_key_id
string -
-
- -
The AWS KMS key identifier (ARN, name, or alias) for encryption of Performance Insights data.
-
+ +
The AWS KMS key identifier (ARN, name, or alias) for encryption of Performance Insights data.
+
+
performance_insights_retention_period
integer -
-
- -
The amount of time, in days, to retain Performance Insights data. Valid values are 7 or 731.
-
+ +
The amount of time, in days, to retain Performance Insights data. Valid values are 7 or 731.
+
+
port
integer -
-
- -
The port number on which the instances accept connections.
-
+ +
The port number on which the instances accept connections.
+
+
preferred_backup_window
string -
-
- -
The daily time range (in UTC) of at least 30 minutes, during which automated backups are created if automated backups are enabled using backup_retention_period. The option must be in the format of "hh24:mi-hh24:mi" and not conflict with preferred_maintenance_window.
-

aliases: backup_window
-
+ +
The daily time range (in UTC) of at least 30 minutes, during which automated backups are created if automated backups are enabled using backup_retention_period. The option must be in the format of "hh24:mi-hh24:mi" and not conflict with preferred_maintenance_window.
+

aliases: backup_window
+
+
preferred_maintenance_window
string -
-
- -
The weekly time range (in UTC) of at least 30 minutes, during which system maintenance can occur. The option must be in the format "ddd:hh24:mi-ddd:hh24:mi" where ddd is one of Mon, Tue, Wed, Thu, Fri, Sat, Sun.
-

aliases: maintenance_window
-
+ +
The weekly time range (in UTC) of at least 30 minutes, during which system maintenance can occur. The option must be in the format "ddd:hh24:mi-ddd:hh24:mi" where ddd is one of Mon, Tue, Wed, Thu, Fri, Sat, Sun.
+

aliases: maintenance_window
+
+
processor_features
dictionary -
-
- -
A dictionary of Name, Value pairs to indicate the number of CPU cores and the number of threads per core for the DB instance class of the DB instance. Names are threadsPerCore and coreCount. Set this option to an empty dictionary to use the default processor features.
-
+ + + +
A dictionary of Name, Value pairs to indicate the number of CPU cores and the number of threads per core for the DB instance class of the DB instance. Names are threadsPerCore and coreCount. Set this option to an empty dictionary to use the default processor features.
+
coreCount
- -
-
- -
The number of CPU cores
-
+ +
The number of CPU cores
+
+
threadsPerCore
- -
-
- -
The number of threads per core
-
+ + + +
The number of threads per core
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
promotion_tier
string -
-
- -
An integer that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance.
-
+ +
An integer that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance.
+
+
publicly_accessible
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
+
+
purge_cloudwatch_logs_exports
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Set to False to retain any enabled cloudwatch logs that aren't specified in the task and are associated with the instance.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Set to False to retain any enabled cloudwatch logs that aren't specified in the task and are associated with the instance.
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Set to False to retain any tags that aren't specified in task and are associated with the instance.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Set to False to retain any tags that aren't specified in task and are associated with the instance.
+
+
read_replica
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Set to False to promote a read replica cluster or true to create one. When creating a read replica creation_source should be set to 'instance' or not provided. source_db_instance_identifier must be provided with this option.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Set to False to promote a read replica cluster or true to create one. When creating a read replica creation_source should be set to 'instance' or not provided. source_db_instance_identifier must be provided with this option.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
restore_time
string -
-
- -
If using creation_source=instance this indicates the UTC date and time to restore from the source instance. For example, "2009-09-07T23:45:00Z".
-
May alternatively set use_latest_restore_time=True.
-
Only one of use_latest_restorable_time and restore_time may be provided.
-
+ +
If using creation_source=instance this indicates the UTC date and time to restore from the source instance. For example, "2009-09-07T23:45:00Z".
+
May alternatively set use_latest_restore_time=True.
+
Only one of use_latest_restorable_time and restore_time may be provided.
+
+
s3_bucket_name
string -
-
- -
The name of the Amazon S3 bucket that contains the data used to create the Amazon DB instance.
-
+ +
The name of the Amazon S3 bucket that contains the data used to create the Amazon DB instance.
+
+
s3_ingestion_role_arn
string -
-
- -
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your behalf.
-
+ +
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your behalf.
+
+
s3_prefix
string -
-
- -
The prefix for all of the file names that contain the data used to create the Amazon DB instance. If you do not specify a SourceS3Prefix value, then the Amazon DB instance is created by using all of the files in the Amazon S3 bucket.
-
+ +
The prefix for all of the file names that contain the data used to create the Amazon DB instance. If you do not specify a SourceS3Prefix value, then the Amazon DB instance is created by using all of the files in the Amazon S3 bucket.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
skip_final_snapshot
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether a final DB cluster snapshot is created before the DB cluster is deleted. If this is false final_db_snapshot_identifier must be provided.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether a final DB cluster snapshot is created before the DB cluster is deleted. If this is false final_db_snapshot_identifier must be provided.
+
+
snapshot_identifier
string -
-
- -
The ARN of the DB snapshot to restore from when using creation_source=snapshot.
-
+ +
The ARN of the DB snapshot to restore from when using creation_source=snapshot.
+
+
source_db_instance_identifier
string -
-
- -
The identifier or ARN of the source DB instance from which to restore when creating a read replica or spinning up a point-in-time DB instance using creation_source=instance. If the source DB is not in the same region this should be an ARN.
-
+ +
The identifier or ARN of the source DB instance from which to restore when creating a read replica or spinning up a point-in-time DB instance using creation_source=instance. If the source DB is not in the same region this should be an ARN.
+
+
source_engine
string -
-
-
    Choices: -
  • mysql
  • -
-
-
The identifier for the database engine that was backed up to create the files stored in the Amazon S3 bucket.
-
+
    Choices: +
  • mysql
  • +
+
+
The identifier for the database engine that was backed up to create the files stored in the Amazon S3 bucket.
+
+
source_engine_version
string -
-
- -
The version of the database that the backup files were created from.
-
+ +
The version of the database that the backup files were created from.
+
+
source_region
string -
-
- -
The region of the DB instance from which the replica is created.
-
+ +
The region of the DB instance from which the replica is created.
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
  • terminated
  • -
  • running
  • -
  • started
  • -
  • stopped
  • -
  • rebooted
  • -
  • restarted
  • -
-
-
Whether the snapshot should exist or not. rebooted is not idempotent and will leave the DB instance in a running state and start it prior to rebooting if it was stopped. present will leave the DB instance in the current running/stopped state, (running if creating the DB instance).
-
state=running and state=started are synonyms, as are state=rebooted and state=restarted. Note - rebooting the instance is not idempotent.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
  • terminated
  • +
  • running
  • +
  • started
  • +
  • stopped
  • +
  • rebooted
  • +
  • restarted
  • +
+
+
Whether the snapshot should exist or not. rebooted is not idempotent and will leave the DB instance in a running state and start it prior to rebooting if it was stopped. present will leave the DB instance in the current running/stopped state, (running if creating the DB instance).
+
state=running and state=started are synonyms, as are state=rebooted and state=restarted. Note - rebooting the instance is not idempotent.
+
+
storage_encrypted
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether the DB instance is encrypted.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether the DB instance is encrypted.
+
+
storage_type
string -
-
-
    Choices: -
  • standard
  • -
  • gp2
  • -
  • io1
  • -
-
-
The storage type to be associated with the DB instance. storage_type does not apply to Aurora DB instances.
-
+
    Choices: +
  • standard
  • +
  • gp2
  • +
  • io1
  • +
+
+
The storage type to be associated with the DB instance. storage_type does not apply to Aurora DB instances.
+
+
tags
dictionary -
-
- -
A dictionary of key value pairs to assign the DB cluster.
-
+ +
A dictionary of key value pairs to assign the DB cluster.
+
+
tde_credential_arn
string -
-
- -
The ARN from the key store with which to associate the instance for Transparent Data Encryption. This is supported by Oracle or SQL Server DB instances and may be used in conjunction with storage_encrypted though it might slightly affect the performance of your database.
-

aliases: transparent_data_encryption_arn
-
+ +
The ARN from the key store with which to associate the instance for Transparent Data Encryption. This is supported by Oracle or SQL Server DB instances and may be used in conjunction with storage_encrypted though it might slightly affect the performance of your database.
+

aliases: transparent_data_encryption_arn
+
+
tde_credential_password
string -
-
- -
The password for the given ARN from the key store in order to access the device.
-

aliases: transparent_data_encryption_password
-
+ +
The password for the given ARN from the key store in order to access the device.
+

aliases: transparent_data_encryption_password
+
+
timezone
string -
-
- -
The time zone of the DB instance.
-
+ +
The time zone of the DB instance.
+
+
use_latest_restorable_time
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to restore the DB instance to the latest restorable backup time.
-
Only one of use_latest_restorable_time and restore_time may be provided.
-

aliases: restore_from_latest
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to restore the DB instance to the latest restorable backup time.
+
Only one of use_latest_restorable_time and restore_time may be provided.
+

aliases: restore_from_latest
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_security_group_ids
list -
-
- -
A list of EC2 VPC security groups to associate with the DB cluster.
-
+ +
A list of EC2 VPC security groups to associate with the DB cluster.
+
+
wait
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to wait for the cluster to be available, stopped, or deleted. At a later time a wait_timeout option may be added. Following each API call to create/modify/delete the instance a waiter is used with a 60 second delay 30 times until the instance reaches the expected state (available/stopped/deleted). The total task time may also be influenced by AWSRetry which helps stabilize if the instance is in an invalid state to operate on to begin with (such as if you try to stop it when it is in the process of rebooting). If setting this to False task retries and delays may make your playbook execution better handle timeouts for major modifications.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
Whether to wait for the cluster to be available, stopped, or deleted. At a later time a wait_timeout option may be added. Following each API call to create/modify/delete the instance a waiter is used with a 60 second delay 30 times until the instance reaches the expected state (available/stopped/deleted). The total task time may also be influenced by AWSRetry which helps stabilize if the instance is in an invalid state to operate on to begin with (such as if you try to stop it when it is in the process of rebooting). If setting this to False task retries and delays may make your playbook execution better handle timeouts for major modifications.
+ + +
@@ -1397,7 +1416,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -1408,7 +1427,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: create minimal aurora instance in default VPC and default subnet group community.aws.rds_instance: @@ -1444,7 +1462,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -1457,968 +1474,968 @@ Common return values are documented `here Returned Description - - + +
allocated_storage
integer -
- + + always -
The allocated storage size in gibibytes. This is always 1 for aurora database engines.
-
-
Sample:
-
20
- - - - +
The allocated storage size in gibibytes. This is always 1 for aurora database engines.
+
+
Sample:
+
20
+ + + +
auto_minor_version_upgrade
boolean -
- + + always -
Whether minor engine upgrades are applied automatically to the DB instance during the maintenance window.
-
-
Sample:
-
True
- - - - +
Whether minor engine upgrades are applied automatically to the DB instance during the maintenance window.
+
+
Sample:
+
True
+ + + +
availability_zone
string -
- + + always -
The availability zone for the DB instance.
-
-
Sample:
-
us-east-1f
- - - - +
The availability zone for the DB instance.
+
+
Sample:
+
us-east-1f
+ + + +
backup_retention_period
integer -
- + + always -
The number of days for which automated backups are retained.
-
-
Sample:
-
1
- - - - +
The number of days for which automated backups are retained.
+
+
Sample:
+
1
+ + + +
ca_certificate_identifier
string -
- + + always -
The identifier of the CA certificate for the DB instance.
-
-
Sample:
-
rds-ca-2015
- - - - +
The identifier of the CA certificate for the DB instance.
+
+
Sample:
+
rds-ca-2015
+ + + +
copy_tags_to_snapshot
boolean -
- + + always -
Whether tags are copied from the DB instance to snapshots of the DB instance.
-
- +
Whether tags are copied from the DB instance to snapshots of the DB instance.
+
+ - - + +
db_instance_arn
string -
- + + always -
The Amazon Resource Name (ARN) for the DB instance.
-
-
Sample:
-
arn:aws:rds:us-east-1:123456789012:db:ansible-test
- - - - +
The Amazon Resource Name (ARN) for the DB instance.
+
+
Sample:
+
arn:aws:rds:us-east-1:123456789012:db:ansible-test
+ + + +
db_instance_class
string -
- + + always -
The name of the compute and memory capacity class of the DB instance.
-
-
Sample:
-
db.m4.large
- - - - +
The name of the compute and memory capacity class of the DB instance.
+
+
Sample:
+
db.m4.large
+ + + +
db_instance_identifier
string -
- + + always -
The identifier of the DB instance
-
-
Sample:
-
ansible-test
- - - - +
The identifier of the DB instance
+
+
Sample:
+
ansible-test
+ + + +
db_instance_port
integer -
- + + always -
The port that the DB instance listens on.
-
- +
The port that the DB instance listens on.
+
+ - - + +
db_instance_status
string -
- + + always -
The current state of this database.
-
-
Sample:
-
stopped
- - - - +
The current state of this database.
+
+
Sample:
+
stopped
+ + + +
db_parameter_groups
complex -
- + + always -
The list of DB parameter groups applied to this DB instance.
-
- +
The list of DB parameter groups applied to this DB instance.
+
+ - -   - + +   +
db_parameter_group_name
string -
- + + always -
The name of the DP parameter group.
-
-
Sample:
-
default.mariadb10.0
- - - -   - +
The name of the DP parameter group.
+
+
Sample:
+
default.mariadb10.0
+ + + +   +
parameter_apply_status
string -
- + + always -
The status of parameter updates.
-
-
Sample:
-
in-sync
- +
The status of parameter updates.
+
+
Sample:
+
in-sync
+ - - - + + +
db_security_groups
list -
- + + always -
A list of DB security groups associated with this DB instance.
-
- +
A list of DB security groups associated with this DB instance.
+
+ - - + +
db_subnet_group
complex -
- + + always -
The subnet group associated with the DB instance.
-
- +
The subnet group associated with the DB instance.
+
+ - -   - + +   +
db_subnet_group_description
string -
- + + always -
The description of the DB subnet group.
-
-
Sample:
-
default
- - - -   - +
The description of the DB subnet group.
+
+
Sample:
+
default
+ + + +   +
db_subnet_group_name
string -
- + + always -
The name of the DB subnet group.
-
-
Sample:
-
default
- - - -   - +
The name of the DB subnet group.
+
+
Sample:
+
default
+ + + +   +
subnet_group_status
string -
- + + always -
The status of the DB subnet group.
-
-
Sample:
-
Complete
- - - -   - +
The status of the DB subnet group.
+
+
Sample:
+
Complete
+ + + +   +
subnets
complex -
- + + always -
A list of Subnet elements.
-
- +
A list of Subnet elements.
+
+ - -   -   - + +   +   +
subnet_availability_zone
complex -
- + + always -
The availability zone of the subnet.
-
- +
The availability zone of the subnet.
+
+ - -   -   -   - + +   +   +   +
name
string -
- + + always -
The name of the Availability Zone.
-
-
Sample:
-
us-east-1c
- - - - -   -   - +
The name of the Availability Zone.
+
+
Sample:
+
us-east-1c
+ + + + +   +   +
subnet_identifier
string -
- + + always -
The ID of the subnet.
-
-
Sample:
-
subnet-12345678
- - - -   -   - +
The ID of the subnet.
+
+
Sample:
+
subnet-12345678
+ + + +   +   +
subnet_status
string -
- + + always -
The status of the subnet.
-
-
Sample:
-
Active
- +
The status of the subnet.
+
+
Sample:
+
Active
+ - - -   - + + +   +
vpc_id
string -
- + + always -
The VpcId of the DB subnet group.
-
-
Sample:
-
vpc-12345678
- +
The VpcId of the DB subnet group.
+
+
Sample:
+
vpc-12345678
+ - - - + + +
dbi_resource_id
string -
- + + always -
The AWS Region-unique, immutable identifier for the DB instance.
-
-
Sample:
-
db-UHV3QRNWX4KB6GALCIGRML6QFA
- - - - +
The AWS Region-unique, immutable identifier for the DB instance.
+
+
Sample:
+
db-UHV3QRNWX4KB6GALCIGRML6QFA
+ + + +
domain_memberships
list -
- + + always -
The Active Directory Domain membership records associated with the DB instance.
-
- +
The Active Directory Domain membership records associated with the DB instance.
+
+ - - + +
endpoint
complex -
- + + always -
The connection endpoint.
-
- +
The connection endpoint.
+
+ - -   - + +   +
address
string -
- + + always -
The DNS address of the DB instance.
-
-
Sample:
-
ansible-test.cvlrtwiennww.us-east-1.rds.amazonaws.com
- - - -   - +
The DNS address of the DB instance.
+
+
Sample:
+
ansible-test.cvlrtwiennww.us-east-1.rds.amazonaws.com
+ + + +   +
hosted_zone_id
string -
- + + always -
The ID that Amazon Route 53 assigns when you create a hosted zone.
-
-
Sample:
-
ZTR2ITUGPA61AM
- - - -   - +
The ID that Amazon Route 53 assigns when you create a hosted zone.
+
+
Sample:
+
ZTR2ITUGPA61AM
+ + + +   +
port
integer -
- + + always -
The port that the database engine is listening on.
-
-
Sample:
-
3306
- +
The port that the database engine is listening on.
+
+
Sample:
+
3306
+ - - - + + +
engine
string -
- + + always -
The database engine version.
-
-
Sample:
-
mariadb
- - - - +
The database engine version.
+
+
Sample:
+
mariadb
+ + + +
engine_version
string -
- + + always -
The database engine version.
-
-
Sample:
-
10.0.35
- - - - +
The database engine version.
+
+
Sample:
+
10.0.35
+ + + +
iam_database_authentication_enabled
boolean -
- + + always -
Whether mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.
-
- +
Whether mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.
+
+ - - + +
instance_create_time
string -
- + + always -
The date and time the DB instance was created.
-
-
Sample:
-
2018-07-04T16:48:35.332000+00:00
- - - - +
The date and time the DB instance was created.
+
+
Sample:
+
2018-07-04T16:48:35.332000+00:00
+ + + +
kms_key_id
string -
- + + When storage_encrypted is true -
The AWS KMS key identifier for the encrypted DB instance when storage_encrypted is true.
-
-
Sample:
-
arn:aws:kms:us-east-1:123456789012:key/70c45553-ad2e-4a85-9f14-cfeb47555c33
- - - - +
The AWS KMS key identifier for the encrypted DB instance when storage_encrypted is true.
+
+
Sample:
+
arn:aws:kms:us-east-1:123456789012:key/70c45553-ad2e-4a85-9f14-cfeb47555c33
+ + + +
latest_restorable_time
string -
- + + always -
The latest time to which a database can be restored with point-in-time restore.
-
-
Sample:
-
2018-07-04T16:50:50.642000+00:00
- - - - +
The latest time to which a database can be restored with point-in-time restore.
+
+
Sample:
+
2018-07-04T16:50:50.642000+00:00
+ + + +
license_model
string -
- + + always -
The License model information for this DB instance.
-
-
Sample:
-
general-public-license
- - - - +
The License model information for this DB instance.
+
+
Sample:
+
general-public-license
+ + + +
master_username
string -
- + + always -
The master username for the DB instance.
-
-
Sample:
-
test
- - - - +
The master username for the DB instance.
+
+
Sample:
+
test
+ + + +
max_allocated_storage
integer -
- + + When max allocated storage is present. -
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
-
-
Sample:
-
100
- - - - +
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
+
+
Sample:
+
100
+ + + +
monitoring_interval
integer -
- + + always -
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. 0 means collecting Enhanced Monitoring metrics is disabled.
-
- +
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. 0 means collecting Enhanced Monitoring metrics is disabled.
+
+ - - + +
multi_az
boolean -
- + + always -
Whether the DB instance is a Multi-AZ deployment.
-
- +
Whether the DB instance is a Multi-AZ deployment.
+
+ - - + +
option_group_memberships
complex -
- + + always -
The list of option group memberships for this DB instance.
-
- +
The list of option group memberships for this DB instance.
+
+ - -   - + +   +
option_group_name
string -
- + + always -
The name of the option group that the instance belongs to.
-
-
Sample:
-
default:mariadb-10-0
- - - -   - +
The name of the option group that the instance belongs to.
+
+
Sample:
+
default:mariadb-10-0
+ + + +   +
status
string -
- + + always -
The status of the DB instance's option group membership.
-
-
Sample:
-
in-sync
- +
The status of the DB instance's option group membership.
+
+
Sample:
+
in-sync
+ - - - + + +
pending_modified_values
complex -
- + + always -
The changes to the DB instance that are pending.
-
- +
The changes to the DB instance that are pending.
+
+ - - + +
performance_insights_enabled
boolean -
- + + always -
True if Performance Insights is enabled for the DB instance, and otherwise false.
-
- +
True if Performance Insights is enabled for the DB instance, and otherwise false.
+
+ - - + +
preferred_backup_window
string -
- + + always -
The daily time range during which automated backups are created if automated backups are enabled.
-
-
Sample:
-
07:01-07:31
- - - - +
The daily time range during which automated backups are created if automated backups are enabled.
+
+
Sample:
+
07:01-07:31
+ + + +
preferred_maintenance_window
string -
- + + always -
The weekly time range (in UTC) during which system maintenance can occur.
-
-
Sample:
-
sun:09:31-sun:10:01
- - - - +
The weekly time range (in UTC) during which system maintenance can occur.
+
+
Sample:
+
sun:09:31-sun:10:01
+ + + +
publicly_accessible
boolean -
- + + always -
True for an Internet-facing instance with a publicly resolvable DNS name, False to indicate an internal instance with a DNS name that resolves to a private IP address.
-
-
Sample:
-
True
- - - - +
True for an Internet-facing instance with a publicly resolvable DNS name, False to indicate an internal instance with a DNS name that resolves to a private IP address.
+
+
Sample:
+
True
+ + + +
read_replica_db_instance_identifiers
list -
- + + always -
Identifiers of the Read Replicas associated with this DB instance.
-
- +
Identifiers of the Read Replicas associated with this DB instance.
+
+ - - + +
storage_encrypted
boolean -
- + + always -
Whether the DB instance is encrypted.
-
- +
Whether the DB instance is encrypted.
+
+ - - + +
storage_type
string -
- + + always -
The storage type to be associated with the DB instance.
-
-
Sample:
-
standard
- - - - +
The storage type to be associated with the DB instance.
+
+
Sample:
+
standard
+ + + +
tags
complex -
- + + always -
A dictionary of tags associated with the DB instance.
-
- +
A dictionary of tags associated with the DB instance.
+
+ - - + +
vpc_security_groups
complex -
- + + always -
A list of VPC security group elements that the DB instance belongs to.
-
- +
A list of VPC security group elements that the DB instance belongs to.
+
+ - -   - + +   +
status
string -
- + + always -
The status of the VPC security group.
-
-
Sample:
-
active
- - - -   - +
The status of the VPC security group.
+
+
Sample:
+
active
+ + + +   +
vpc_security_group_id
string -
- + + always -
The name of the VPC security group.
-
-
Sample:
-
sg-12345678
- +
The name of the VPC security group.
+
+
Sample:
+
sg-12345678
+ - - + +

@@ -2430,5 +2447,3 @@ Authors ~~~~~~~ - Sloane Hertel (@s-hertel) - - diff --git a/docs/community.aws.rds_module.rst b/docs/community.aws.rds_module.rst index cf97a712f12..06b9909556a 100644 --- a/docs/community.aws.rds_module.rst +++ b/docs/community.aws.rds_module.rst @@ -39,766 +39,785 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - - - - + + + + + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
apply_immediately
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When apply_immediately=trye, the modifications will be applied as soon as possible rather than waiting for the next preferred maintenance window.
-
Used only when command=modify.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When apply_immediately=true, the modifications will be applied as soon as possible rather than waiting for the next preferred maintenance window.
+
Used only when command=modify.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
backup_retention
string -
-
- -
Number of days backups are retained.
-
Set to 0 to disable backups.
-
Default is 1 day.
-
Valid range: 0-35.
-
Used only when command=create or command=modify.
-
+ + + +
Number of days backups are retained.
+
Set to 0 to disable backups.
+
Default is 1 day.
+
Valid range: 0-35.
+
Used only when command=create or command=modify.
+
backup_window
string -
-
- -
Backup window in format of hh24:mi-hh24:mi. (Example: 18:00-20:30)
-
Times are specified in UTC.
-
If not specified then a random backup window is assigned.
-
Used only when command=create or command=modify.
-
+ + + +
Backup window in format of hh24:mi-hh24:mi. (Example: 18:00-20:30)
+
Times are specified in UTC.
+
If not specified then a random backup window is assigned.
+
Used only when command=create or command=modify.
+
character_set_name
string -
-
- -
Associate the DB instance with a specified character set.
-
Used with command=create.
-
+ +
Associate the DB instance with a specified character set.
+
Used with command=create.
+
+
command
string - / required
-
-
    Choices: -
  • create
  • -
  • replicate
  • -
  • delete
  • -
  • facts
  • -
  • modify
  • -
  • promote
  • -
  • snapshot
  • -
  • reboot
  • -
  • restore
  • -
-
-
Specifies the action to take. The 'reboot' option is available starting at version 2.0.
-
+
    Choices: +
  • create
  • +
  • replicate
  • +
  • delete
  • +
  • facts
  • +
  • modify
  • +
  • promote
  • +
  • snapshot
  • +
  • reboot
  • +
  • restore
  • +
+
+
Specifies the action to take. The 'reboot' option is available starting at version 2.0.
+
+
db_engine
string -
-
-
    Choices: -
  • mariadb
  • -
  • MySQL
  • -
  • oracle-se1
  • -
  • oracle-se2
  • -
  • oracle-se
  • -
  • oracle-ee
  • -
  • sqlserver-ee
  • -
  • sqlserver-se
  • -
  • sqlserver-ex
  • -
  • sqlserver-web
  • -
  • postgres
  • -
  • aurora
  • -
-
-
The type of database.
-
Used only when command=create.
-
mariadb was added in version 2.2.
-
+
    Choices: +
  • mariadb
  • +
  • MySQL
  • +
  • oracle-se1
  • +
  • oracle-se2
  • +
  • oracle-se
  • +
  • oracle-ee
  • +
  • sqlserver-ee
  • +
  • sqlserver-se
  • +
  • sqlserver-ex
  • +
  • sqlserver-web
  • +
  • postgres
  • +
  • aurora
  • +
+
+
The type of database.
+
Used only when command=create.
+
mariadb was added in version 2.2.
+
+
db_name
string -
-
- -
Name of a database to create within the instance.
-
If not specified then no database is created.
-
Used only when command=create.
-
+ +
Name of a database to create within the instance.
+
If not specified then no database is created.
+
Used only when command=create.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
engine_version
string -
-
- -
Version number of the database engine to use.
-
If not specified then the current Amazon RDS default engine version is used
-
Used only when command=create.
-
+ +
Version number of the database engine to use.
+
If not specified then the current Amazon RDS default engine version is used
+
Used only when command=create.
+
+
force_failover
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If enabled, the reboot is done using a MultiAZ failover.
-
Used only when command=reboot.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If enabled, the reboot is done using a MultiAZ failover.
+
Used only when command=reboot.
+
+
instance_name
string -
-
- -
Database instance identifier.
-
Required except when using command=facts or command=delete on just a snapshot.
-
+ +
Database instance identifier.
+
Required except when using command=facts or command=delete on just a snapshot.
+
+
instance_type
string -
-
- -
The instance type of the database.
-
If not specified then the replica inherits the same instance type as the source instance.
-
Required when command=create.
-
Optional when command=replicate, command=modify or command=restore.
-

aliases: type
-
+ + + +
The instance type of the database.
+
If not specified then the replica inherits the same instance type as the source instance.
+
Required when command=create.
+
Optional when command=replicate, command=modify or command=restore.
+

aliases: type
+
iops
string -
-
- -
Specifies the number of IOPS for the instance.
-
Used only when command=create or command=modify.
-
Must be an integer greater than 1000.
-
+ +
Specifies the number of IOPS for the instance.
+
Used only when command=create or command=modify.
+
Must be an integer greater than 1000.
+
+
license_model
string -
-
-
    Choices: -
  • license-included
  • -
  • bring-your-own-license
  • -
  • general-public-license
  • -
  • postgresql-license
  • -
-
-
The license model for this DB instance.
-
Used only when command=create or command=restore.
-
+
    Choices: +
  • license-included
  • +
  • bring-your-own-license
  • +
  • general-public-license
  • +
  • postgresql-license
  • +
+
+
The license model for this DB instance.
+
Used only when command=create or command=restore.
+
+
maint_window
string -
-
- -
Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15)
-
Times are specified in UTC.
-
If not specified then a random maintenance window is assigned.
-
Used only when command=create or command=modify.
-
+ + + +
Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15)
+
Times are specified in UTC.
+
If not specified then a random maintenance window is assigned.
+
Used only when command=create or command=modify.
+
multi_zone
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Specifies if this is a Multi-availability-zone deployment.
-
Can not be used in conjunction with zone parameter.
-
Used only when command=create or command=modify.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Specifies if this is a Multi-availability-zone deployment.
+
Can not be used in conjunction with zone parameter.
+
Used only when command=create or command=modify.
+
+
new_instance_name
string -
-
- -
Name to rename an instance to.
-
Used only when command=modify.
-
+ +
Name to rename an instance to.
+
Used only when command=modify.
+
+
option_group
string -
-
- -
The name of the option group to use.
-
If not specified then the default option group is used.
-
Used only when command=create.
-
+ +
The name of the option group to use.
+
If not specified then the default option group is used.
+
Used only when command=create.
+
+
parameter_group
string -
-
- -
Name of the DB parameter group to associate with this instance.
-
If omitted then the RDS default DBParameterGroup will be used.
-
Used only when command=create or command=modify.
-
+ +
Name of the DB parameter group to associate with this instance.
+
If omitted then the RDS default DBParameterGroup will be used.
+
Used only when command=create or command=modify.
+
+
password
string -
-
- -
Password for the master database username.
-
Used only when command=create or command=modify.
-
+ +
Password for the master database username.
+
Used only when command=create or command=modify.
+
+
port
integer -
-
- -
Port number that the DB instance uses for connections.
-
Used only when command=create or command=replicate.
-
Defaults to the standard ports for each db_engine: 3306 for MySQL and MariaDB, 1521 for Oracle 1433 for SQL Server, 5432 for PostgreSQL.
-
+ +
Port number that the DB instance uses for connections.
+
Used only when command=create or command=replicate.
+
Defaults to the standard ports for each db_engine: 3306 for MySQL and MariaDB, 1521 for Oracle 1433 for SQL Server, 5432 for PostgreSQL.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
publicly_accessible
string -
-
- -
Explicitly set whether the resource should be publicly accessible or not.
-
Used with command=create, command=replicate.
-
Requires boto >= 2.26.0
-
+ +
Explicitly set whether the resource should be publicly accessible or not.
+
Used with command=create, command=replicate.
+
Requires boto >= 2.26.0
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_groups
string -
-
- -
Comma separated list of one or more security groups.
-
Used only when command=create or command=modify.
-
+ +
Comma separated list of one or more security groups.
+
Used only when command=create or command=modify.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
size
string -
-
- -
Size in gigabytes of the initial storage for the DB instance.
-
Used only when command=create or command=modify.
-
+ +
Size in gigabytes of the initial storage for the DB instance.
+
Used only when command=create or command=modify.
+
+
snapshot
string -
-
- -
Name of snapshot to take.
-
When command=delete, if no snapshot name is provided then no snapshot is taken.
-
When command=delete, if no instance_name is provided the snapshot is deleted.
-
Used with command=facts, command=delete or command=snapshot.
-
+ + + +
Name of snapshot to take.
+
When command=delete, if no snapshot name is provided then no snapshot is taken.
+
When command=delete, if no instance_name is provided the snapshot is deleted.
+
Used with command=facts, command=delete or command=snapshot.
+
source_instance
string -
-
- -
Name of the database to replicate.
-
Used only when command=replicate.
-
+ +
Name of the database to replicate.
+
Used only when command=replicate.
+
+
subnet
string -
-
- -
VPC subnet group.
-
If specified then a VPC instance is created.
-
Used only when command=create.
-
+ +
VPC subnet group.
+
If specified then a VPC instance is created.
+
Used only when command=create.
+
+
tags
dictionary -
-
- -
tags dict to apply to a resource.
-
Used with command=create, command=replicate, command=restore.
-
Requires boto >= 2.26.0
-
+ +
tags dict to apply to a resource.
+
Used with command=create, command=replicate, command=restore.
+
Requires boto >= 2.26.0
+
+
upgrade
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates that minor version upgrades should be applied automatically.
-
Used only when command=create or command=modify or command=restore or command=replicate.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates that minor version upgrades should be applied automatically.
+
Used only when command=create or command=modify or command=restore or command=replicate.
+
+
username
string -
-
- -
Master database username.
-
Used only when command=create.
-
+ +
Master database username.
+
Used only when command=create.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_security_groups
list - / elements=string
-
- -
Comma separated list of one or more vpc security group ids.
-
Also requires subnet to be specified.
-
Used only when command=create or command=modify.
-
+ +
Comma separated list of one or more vpc security group ids.
+
Also requires subnet to be specified.
+
Used only when command=create or command=modify.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When command=create, replicate, modify or restore then wait for the database to enter the 'available' state.
-
When command=delete, wait for the database to be terminated.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When command=create, replicate, modify or restore then wait for the database to enter the 'available' state.
+
When command=delete, wait for the database to be terminated.
+
+
wait_timeout
integer -
-
- Default:
300
-
-
How long before wait gives up, in seconds.
-
Used when wait=true.
-
+ Default:
300
+
+
How long before wait gives up, in seconds.
+
Used when wait=true.
+
+
zone
string -
-
- -
availability zone in which to launch the instance.
-
Used only when command=create, command=replicate or command=restore.
-
Can not be used in conjunction with multi_zone parameter.
-

aliases: aws_zone, ec2_zone
-
+ + + + + +
availability zone in which to launch the instance.
+
Used only when command=create, command=replicate or command=restore.
+
Can not be used in conjunction with multi_zone parameter.
+

aliases: aws_zone, ec2_zone
+ + +
@@ -806,7 +825,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -817,7 +836,6 @@ Examples .. code-block:: yaml+jinja - - name: Basic mysql provisioning example community.aws.rds: command: create @@ -887,12 +905,11 @@ Examples region: us-west-2 vpc_security_groups: sg-xxx945xx - - debug: + - ansible.builtin.debug: msg: "The new db endpoint is {{ rds.instance.endpoint }}" - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -905,766 +922,766 @@ Common return values are documented `here Returned Description - - + +
instance
complex -
- + + always -
the rds instance
-
- +
the rds instance
+
+ - -   - + +   +
allocated_storage
string -
- + + when RDS instance exists -
the allocated storage size in gigabytes (GB)
-
-
Sample:
-
100
- - - -   - +
the allocated storage size in gigabytes (GB)
+
+
Sample:
+
100
+ + + +   +
auto_minor_version_upgrade
boolean -
- + + when RDS instance exists -
indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window
-
-
Sample:
-
true
- - - -   - +
indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window
+
+
Sample:
+
true
+ + + +   +
backup_window
string -
- + + when RDS instance exists and automated backups are enabled -
the daily time range during which automated backups are created if automated backups are enabled
-
-
Sample:
-
03:00-03:30
- - - -   - +
the daily time range during which automated backups are created if automated backups are enabled
+
+
Sample:
+
03:00-03:30
+ + + +   +
character_set_name
string -
- + + when RDS instance exists -
the name of the character set that this instance is associated with
-
-
Sample:
-
AL32UTF8
- - - -   - +
the name of the character set that this instance is associated with
+
+
Sample:
+
AL32UTF8
+ + + +   +
db_name
string -
- + + when RDS instance exists -
the name of the database to create when the DB instance is created
-
-
Sample:
-
ASERTG
- - - -   - +
the name of the database to create when the DB instance is created
+
+
Sample:
+
ASERTG
+ + + +   +
db_subnet_groups
complex -
- + + when RDS instance exists -
information on the subnet group associated with this RDS instance
-
- +
information on the subnet group associated with this RDS instance
+
+ - -   -   - + +   +   +
description
string -
- + + when RDS instance exists -
the subnet group associated with the DB instance
-
-
Sample:
-
Subnets for the UAT RDS SQL DB Instance
- - - -   -   - +
the subnet group associated with the DB instance
+
+
Sample:
+
Subnets for the UAT RDS SQL DB Instance
+ + + +   +   +
name
string -
- + + when RDS instance exists -
the name of the DB subnet group
-
-
Sample:
-
samplesubnetgrouprds-j6paiqkxqp4z
- - - -   -   - +
the name of the DB subnet group
+
+
Sample:
+
samplesubnetgrouprds-j6paiqkxqp4z
+ + + +   +   +
status
string -
- + + when RDS instance exists -
the status of the DB subnet group
-
-
Sample:
-
complete
- - - -   -   - +
the status of the DB subnet group
+
+
Sample:
+
complete
+ + + +   +   +
subnets
complex -
- + + when RDS instance exists -
the description of the DB subnet group
-
- +
the description of the DB subnet group
+
+ - -   -   -   - + +   +   +   +
availability_zone
complex -
- + + when RDS instance exists -
subnet availability zone information
-
- +
subnet availability zone information
+
+ - -   -   -   -   - + +   +   +   +   +
name
string -
- + + when RDS instance exists -
availability zone
-
-
Sample:
-
eu-west-1b
- - - -   -   -   -   - +
availability zone
+
+
Sample:
+
eu-west-1b
+ + + +   +   +   +   +
provisioned_iops_capable
boolean -
- + + when RDS instance exists -
whether provisioned iops are available in AZ subnet
-
-
Sample:
-
false
- - - - -   -   -   - +
whether provisioned iops are available in AZ subnet
+
+
Sample:
+
false
+ + + + +   +   +   +
identifier
string -
- + + when RDS instance exists -
the identifier of the subnet
-
-
Sample:
-
subnet-3fdba63e
- - - -   -   -   - +
the identifier of the subnet
+
+
Sample:
+
subnet-3fdba63e
+ + + +   +   +   +
status
string -
- + + when RDS instance exists -
the status of the subnet
-
-
Sample:
-
active
- - - - - -   - +
the status of the subnet
+
+
Sample:
+
active
+ + + + + +   +
endpoint
string -
- + + when RDS instance exists -
the endpoint uri of the database instance
-
-
Sample:
-
my-ansible-database.asdfaosdgih.us-east-1.rds.amazonaws.com
- - - -   - +
the endpoint uri of the database instance
+
+
Sample:
+
my-ansible-database.asdfaosdgih.us-east-1.rds.amazonaws.com
+ + + +   +
engine
string -
- + + when RDS instance exists -
the name of the database engine
-
-
Sample:
-
oracle-se
- - - -   - +
the name of the database engine
+
+
Sample:
+
oracle-se
+ + + +   +
engine_version
string -
- + + when RDS instance exists -
the version of the database engine
-
-
Sample:
-
11.2.0.4.v6
- - - -   - +
the version of the database engine
+
+
Sample:
+
11.2.0.4.v6
+ + + +   +
latest_restorable_time
string -
- + + when RDS instance exists -
the latest time to which a database can be restored with point-in-time restore
-
-
Sample:
-
1489707802.0
- - - -   - +
the latest time to which a database can be restored with point-in-time restore
+
+
Sample:
+
1489707802.0
+ + + +   +
license_model
string -
- + + when RDS instance exists -
the license model information
-
-
Sample:
-
bring-your-own-license
- - - -   - +
the license model information
+
+
Sample:
+
bring-your-own-license
+ + + +   +
option_groups
complex -
- + + when RDS instance exists -
the list of option group memberships for this RDS instance
-
- +
the list of option group memberships for this RDS instance
+
+ - -   -   - + +   +   +
option_group_name
string -
- + + when RDS instance exists -
the option group name for this RDS instance
-
-
Sample:
-
default:oracle-se-11-2
- - - -   -   - +
the option group name for this RDS instance
+
+
Sample:
+
default:oracle-se-11-2
+ + + +   +   +
status
string -
- + + when RDS instance exists -
the status of the RDS instance's option group membership
-
-
Sample:
-
in-sync
- +
the status of the RDS instance's option group membership
+
+
Sample:
+
in-sync
+ - - -   - + + +   +
parameter_groups
complex -
- + + when RDS instance exists and parameter groups are defined -
the list of DB parameter groups applied to this RDS instance
-
- +
the list of DB parameter groups applied to this RDS instance
+
+ - -   -   - + +   +   +
parameter_apply_status
string -
- + + when RDS instance exists -
the status of parameter updates
-
-
Sample:
-
in-sync
- - - -   -   - +
the status of parameter updates
+
+
Sample:
+
in-sync
+ + + +   +   +
parameter_group_name
string -
- + + when RDS instance exists -
the name of the DP parameter group
-
-
Sample:
-
testawsrpprodb01spfile-1ujg7nrs7sgyz
- +
the name of the DP parameter group
+
+
Sample:
+
testawsrpprodb01spfile-1ujg7nrs7sgyz
+ - - -   - + + +   +
pending_modified_values
complex -
- + + when RDS instance exists -
a dictionary of changes to the RDS instance that are pending
-
- +
a dictionary of changes to the RDS instance that are pending
+
+ - -   -   - + +   +   +
allocated_storage
string -
- + + when RDS instance exists -
the new allocated storage size for this RDS instance that will be applied or is in progress
-
-
Sample:
-
null
- - - -   -   - +
the new allocated storage size for this RDS instance that will be applied or is in progress
+
+
Sample:
+
null
+ + + +   +   +
backup_retention_period
string -
- + + when RDS instance exists -
the pending number of days for which automated backups are retained
-
-
Sample:
-
null
- - - -   -   - +
the pending number of days for which automated backups are retained
+
+
Sample:
+
null
+ + + +   +   +
db_instance_class
string -
- + + when RDS instance exists -
the new DB instance class for this RDS instance that will be applied or is in progress
-
-
Sample:
-
null
- - - -   -   - +
the new DB instance class for this RDS instance that will be applied or is in progress
+
+
Sample:
+
null
+ + + +   +   +
db_instance_identifier
string -
- + + when RDS instance exists -
the new DB instance identifier this RDS instance that will be applied or is in progress
-
-
Sample:
-
null
- - - -   -   - +
the new DB instance identifier this RDS instance that will be applied or is in progress
+
+
Sample:
+
null
+ + + +   +   +
engine_version
string -
- + + when RDS instance exists -
indicates the database engine version
-
-
Sample:
-
null
- - - -   -   - +
indicates the database engine version
+
+
Sample:
+
null
+ + + +   +   +
iops
string -
- + + when RDS instance exists -
the new provisioned IOPS value for this RDS instance that will be applied or is being applied
-
-
Sample:
-
null
- - - -   -   - +
the new provisioned IOPS value for this RDS instance that will be applied or is being applied
+
+
Sample:
+
null
+ + + +   +   +
master_user_password
string -
- + + when RDS instance exists -
the pending or in-progress change of the master credentials for this RDS instance
-
-
Sample:
-
null
- - - -   -   - +
the pending or in-progress change of the master credentials for this RDS instance
+
+
Sample:
+
null
+ + + +   +   +
multi_az
string -
- + + when RDS instance exists -
indicates that the single-AZ RDS instance is to change to a multi-AZ deployment
-
-
Sample:
-
null
- - - -   -   - +
indicates that the single-AZ RDS instance is to change to a multi-AZ deployment
+
+
Sample:
+
null
+ + + +   +   +
port
string -
- + + when RDS instance exists -
specifies the pending port for this RDS instance
-
-
Sample:
-
null
- +
specifies the pending port for this RDS instance
+
+
Sample:
+
null
+ - - -   - + + +   +
port
integer -
- + + when RDS instance exists -
the listening port of the database instance
-
-
Sample:
-
3306
- - - -   - +
the listening port of the database instance
+
+
Sample:
+
3306
+ + + +   +
publicly_accessible
boolean -
- + + when RDS instance exists -
the accessibility options for the DB instance
-
-
Sample:
-
true
- - - -   - +
the accessibility options for the DB instance
+
+
Sample:
+
true
+ + + +   +
read_replica_source_dbinstance_identifier
string -
- + + when read replica RDS instance exists -
the identifier of the source DB instance if this RDS instance is a read replica
-
-
Sample:
-
null
- - - -   - +
the identifier of the source DB instance if this RDS instance is a read replica
+
+
Sample:
+
null
+ + + +   +
secondary_availability_zone
string -
- - when RDS instance exists and is multy-AZ - -
the name of the secondary AZ for a DB instance with multi-AZ support
-
-
Sample:
-
eu-west-1b
- - - - + + + when RDS instance exists and is multi-AZ + +
the name of the secondary AZ for a DB instance with multi-AZ support
+
+
Sample:
+
eu-west-1b
+ + + +

@@ -1677,5 +1694,3 @@ Authors - Bruce Pennypacker (@bpennypacker) - Will Thames (@willthames) - - diff --git a/docs/community.aws.rds_param_group_module.rst b/docs/community.aws.rds_param_group_module.rst index 3da04481638..bac8698e955 100644 --- a/docs/community.aws.rds_param_group_module.rst +++ b/docs/community.aws.rds_param_group_module.rst @@ -36,298 +36,317 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
Database parameter group description. Only set when a new group is added.
-
+ +
Database parameter group description. Only set when a new group is added.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
engine
string -
-
- -
The type of database for this group.
-
Please use following command to get list of all supported db engines and their respective versions.
-
# aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"
-
Required for state=present.
-
+ +
The type of database for this group.
+
Please use following command to get list of all supported db engines and their respective versions.
+
# aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"
+
Required for state=present.
+
+
immediate
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether to apply the changes immediately, or after the next reboot of any associated instances.
-

aliases: apply_immediately
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether to apply the changes immediately, or after the next reboot of any associated instances.
+

aliases: apply_immediately
+
+
name
string - / required
-
- -
Database parameter group identifier.
-
+ +
Database parameter group identifier.
+
+
params
dictionary -
-
- -
Map of parameter names and values. Numeric values may be represented as K for kilo (1024), M for mega (1024^2), G for giga (1024^3), or T for tera (1024^4), and these values will be expanded into the appropriate number before being set in the parameter group.
-

aliases: parameters
-
+ +
Map of parameter names and values. Numeric values may be represented as K for kilo (1024), M for mega (1024^2), G for giga (1024^3), or T for tera (1024^4), and these values will be expanded into the appropriate number before being set in the parameter group.
+

aliases: parameters
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to remove tags that do not appear in the tags list.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to remove tags that do not appear in the tags list.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Specifies whether the group should be present or absent.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Specifies whether the group should be present or absent.
+
+
tags
dictionary -
-
- -
Dictionary of tags to attach to the parameter group.
-
+ +
Dictionary of tags to attach to the parameter group.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -335,7 +354,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -346,7 +365,6 @@ Examples .. code-block:: yaml+jinja - - name: Add or change a parameter group, in this case setting auto_increment_increment to 42 * 1024 community.aws.rds_param_group: state: present @@ -366,7 +384,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -379,97 +396,97 @@ Common return values are documented `here Returned Description - - + +
db_parameter_group_arn
string -
- + + when state is present -
ARN of the DB parameter group
-
- +
ARN of the DB parameter group
+
+ - - + +
db_parameter_group_family
string -
- + + when state is present -
DB parameter group family that this DB parameter group is compatible with.
-
- +
DB parameter group family that this DB parameter group is compatible with.
+
+ - - + +
db_parameter_group_name
string -
- + + when state is present -
Name of DB parameter group
-
- +
Name of DB parameter group
+
+ - - + +
description
string -
- + + when state is present -
description of the DB parameter group
-
- +
description of the DB parameter group
+
+ - - + +
errors
list -
- + + when state is present -
list of errors from attempting to modify parameters that are not modifiable
-
- +
list of errors from attempting to modify parameters that are not modifiable
+
+ - - + +
tags
dictionary -
- + + when state is present -
dictionary of tags
-
- +
dictionary of tags
+
+ - +

@@ -482,5 +499,3 @@ Authors - Scott Anderson (@tastychutney) - Will Thames (@willthames) - - diff --git a/docs/community.aws.rds_snapshot_info_module.rst b/docs/community.aws.rds_snapshot_info_module.rst index 9cbf19a48cd..fb8508d6c73 100644 --- a/docs/community.aws.rds_snapshot_info_module.rst +++ b/docs/community.aws.rds_snapshot_info_module.rst @@ -38,248 +38,267 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
db_cluster_identifier
string -
-
- -
RDS cluster name for which to find snapshots.
-
Mutually exclusive with db_snapshot_identifier, db_instance_identifier, db_cluster_snapshot_identifier
-
+ +
RDS cluster name for which to find snapshots.
+
Mutually exclusive with db_snapshot_identifier, db_instance_identifier, db_cluster_snapshot_identifier
+
+
db_cluster_snapshot_identifier
string -
-
- -
Name of an RDS cluster snapshot.
-
Mutually exclusive with db_instance_identifier, db_snapshot_identifier, db_cluster_identifier
-
+ +
Name of an RDS cluster snapshot.
+
Mutually exclusive with db_instance_identifier, db_snapshot_identifier, db_cluster_identifier
+
+
db_instance_identifier
string -
-
- -
RDS instance name for which to find snapshots.
-
Mutually exclusive with db_snapshot_identifier, db_cluster_identifier, db_cluster_snapshot_identifier
-
+ +
RDS instance name for which to find snapshots.
+
Mutually exclusive with db_snapshot_identifier, db_cluster_identifier, db_cluster_snapshot_identifier
+
+
db_snapshot_identifier
string -
-
- -
Name of an RDS (unclustered) snapshot.
-
Mutually exclusive with db_instance_identifier, db_cluster_identifier, db_cluster_snapshot_identifier
-

aliases: snapshot_name
-
+ +
Name of an RDS (unclustered) snapshot.
+
Mutually exclusive with db_instance_identifier, db_cluster_identifier, db_cluster_snapshot_identifier
+

aliases: snapshot_name
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
snapshot_type
string -
-
-
    Choices: -
  • automated
  • -
  • manual
  • -
  • shared
  • -
  • public
  • -
-
-
Type of snapshot to find.
-
By default both automated and manual snapshots will be returned.
-
+
    Choices: +
  • automated
  • +
  • manual
  • +
  • shared
  • +
  • public
  • +
+
+
Type of snapshot to find.
+
By default both automated and manual snapshots will be returned.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -287,7 +306,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -298,7 +317,6 @@ Examples .. code-block:: yaml+jinja - - name: Get information about an snapshot community.aws.rds_snapshot_info: db_snapshot_identifier: snapshot_name @@ -310,7 +328,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -323,765 +340,765 @@ Common return values are documented `here Returned Description - - + +
cluster_snapshots
complex -
- + + always -
List of cluster snapshots
-
- +
List of cluster snapshots
+
+ - -   - + +   +
allocated_storage
integer -
- + + always -
How many gigabytes of storage are allocated
-
-
Sample:
-
1
- +
How many gigabytes of storage are allocated
+
+
Sample:
+
1
+ - -   - + +   +
availability_zones
list -
- + + always -
The availability zones of the database from which the snapshot was taken
-
-
Sample:
-
['ca-central-1a', 'ca-central-1b']
- +
The availability zones of the database from which the snapshot was taken
+
+
Sample:
+
['ca-central-1a', 'ca-central-1b']
+ - -   - + +   +
cluster_create_time
string -
- + + always -
Date and time the cluster was created
-
-
Sample:
-
2018-05-17T00:13:40.223000+00:00
- +
Date and time the cluster was created
+
+
Sample:
+
2018-05-17T00:13:40.223000+00:00
+ - -   - + +   +
db_cluster_identifier
string -
- + + always -
Database cluster identifier
-
-
Sample:
-
test-aurora-cluster
- +
Database cluster identifier
+
+
Sample:
+
test-aurora-cluster
+ - -   - + +   +
db_cluster_snapshot_arn
string -
- + + always -
ARN of the database snapshot
-
-
Sample:
-
arn:aws:rds:ca-central-1:111111111111:cluster-snapshot:test-aurora-snapshot
- +
ARN of the database snapshot
+
+
Sample:
+
arn:aws:rds:ca-central-1:111111111111:cluster-snapshot:test-aurora-snapshot
+ - -   - + +   +
db_cluster_snapshot_identifier
string -
- + + always -
Snapshot identifier
-
-
Sample:
-
test-aurora-snapshot
- +
Snapshot identifier
+
+
Sample:
+
test-aurora-snapshot
+ - -   - + +   +
engine
string -
- + + always -
Database engine
-
-
Sample:
-
aurora
- +
Database engine
+
+
Sample:
+
aurora
+ - -   - + +   +
engine_version
string -
- + + always -
Database engine version
-
-
Sample:
-
5.6.10a
- +
Database engine version
+
+
Sample:
+
5.6.10a
+ - -   - + +   +
iam_database_authentication_enabled
boolean -
- + + always -
Whether database authentication through IAM is enabled
-
- +
Whether database authentication through IAM is enabled
+
+ - -   - + +   +
kms_key_id
string -
- + + always -
ID of the KMS Key encrypting the snapshot
-
-
Sample:
-
arn:aws:kms:ca-central-1:111111111111:key/abcd1234-abcd-1111-aaaa-0123456789ab
- +
ID of the KMS Key encrypting the snapshot
+
+
Sample:
+
arn:aws:kms:ca-central-1:111111111111:key/abcd1234-abcd-1111-aaaa-0123456789ab
+ - -   - + +   +
license_model
string -
- + + always -
License model
-
-
Sample:
-
aurora
- +
License model
+
+
Sample:
+
aurora
+ - -   - + +   +
master_username
string -
- + + always -
Database master username
-
-
Sample:
-
shertel
- +
Database master username
+
+
Sample:
+
shertel
+ - -   - + +   +
percent_progress
integer -
- + + always -
Percent progress of snapshot
-
- +
Percent progress of snapshot
+
+ - -   - + +   +
port
integer -
- + + always -
Database port
-
- +
Database port
+
+ - -   - + +   +
snapshot_create_time
string -
- + + always -
Date and time when the snapshot was created
-
-
Sample:
-
2018-05-17T00:23:23.731000+00:00
- +
Date and time when the snapshot was created
+
+
Sample:
+
2018-05-17T00:23:23.731000+00:00
+ - -   - + +   +
snapshot_type
string -
- + + always -
Type of snapshot
-
-
Sample:
-
manual
- +
Type of snapshot
+
+
Sample:
+
manual
+ - -   - + +   +
status
string -
- + + always -
Status of snapshot
-
-
Sample:
-
creating
- +
Status of snapshot
+
+
Sample:
+
creating
+ - -   - + +   +
storage_encrypted
boolean -
- + + always -
Whether the snapshot is encrypted
-
-
Sample:
-
True
- +
Whether the snapshot is encrypted
+
+
Sample:
+
True
+ - -   - + +   +
tags
complex -
- + + when snapshot is not shared -
Tags of the snapshot
-
- +
Tags of the snapshot
+
+ - -   - + +   +
vpc_id
string -
- + + always -
VPC of the database
-
-
Sample:
-
vpc-abcd1234
- +
VPC of the database
+
+
Sample:
+
vpc-abcd1234
+ - - - + + +
snapshots
complex -
- + + When cluster parameters are not passed -
List of non-clustered snapshots
-
- +
List of non-clustered snapshots
+
+ - -   - + +   +
allocated_storage
integer -
- + + always -
How many gigabytes of storage are allocated
-
-
Sample:
-
10
- +
How many gigabytes of storage are allocated
+
+
Sample:
+
10
+ - -   - + +   +
availability_zone
string -
- + + always -
The availability zone of the database from which the snapshot was taken
-
-
Sample:
-
us-west-2b
- +
The availability zone of the database from which the snapshot was taken
+
+
Sample:
+
us-west-2b
+ - -   - + +   +
db_instance_identifier
string -
- + + always -
Database instance identifier
-
-
Sample:
-
hello-world-rds
- +
Database instance identifier
+
+
Sample:
+
hello-world-rds
+ - -   - + +   +
db_snapshot_arn
string -
- + + always -
Snapshot ARN
-
-
Sample:
-
arn:aws:rds:us-west-2:111111111111:snapshot:rds:hello-world-rds-us1-2018-05-16-04-03
- +
Snapshot ARN
+
+
Sample:
+
arn:aws:rds:us-west-2:111111111111:snapshot:rds:hello-world-rds-us1-2018-05-16-04-03
+ - -   - + +   +
db_snapshot_identifier
string -
- + + always -
Snapshot name
-
-
Sample:
-
rds:hello-world-rds-us1-2018-05-16-04-03
- +
Snapshot name
+
+
Sample:
+
rds:hello-world-rds-us1-2018-05-16-04-03
+ - -   - + +   +
encrypted
boolean -
- + + always -
Whether the snapshot was encrypted
-
-
Sample:
-
True
- +
Whether the snapshot was encrypted
+
+
Sample:
+
True
+ - -   - + +   +
engine
string -
- + + always -
Database engine
-
-
Sample:
-
postgres
- +
Database engine
+
+
Sample:
+
postgres
+ - -   - + +   +
engine_version
string -
- + + always -
Database engine version
-
-
Sample:
-
9.5.10
- +
Database engine version
+
+
Sample:
+
9.5.10
+ - -   - + +   +
iam_database_authentication_enabled
boolean -
- + + always -
Whether database authentication through IAM is enabled
-
- +
Whether database authentication through IAM is enabled
+
+ - -   - + +   +
instance_create_time
string -
- + + always -
Time the Instance was created
-
-
Sample:
-
2017-10-10T04:00:07.434000+00:00
- +
Time the Instance was created
+
+
Sample:
+
2017-10-10T04:00:07.434000+00:00
+ - -   - + +   +
kms_key_id
string -
- + + always -
ID of the KMS Key encrypting the snapshot
-
-
Sample:
-
arn:aws:kms:us-west-2:111111111111:key/abcd1234-1234-aaaa-0000-1234567890ab
- +
ID of the KMS Key encrypting the snapshot
+
+
Sample:
+
arn:aws:kms:us-west-2:111111111111:key/abcd1234-1234-aaaa-0000-1234567890ab
+ - -   - + +   +
license_model
string -
- + + always -
License model
-
-
Sample:
-
postgresql-license
- +
License model
+
+
Sample:
+
postgresql-license
+ - -   - + +   +
master_username
string -
- + + always -
Database master username
-
-
Sample:
-
dbadmin
- +
Database master username
+
+
Sample:
+
dbadmin
+ - -   - + +   +
option_group_name
string -
- + + always -
Database option group name
-
-
Sample:
-
default:postgres-9-5
- +
Database option group name
+
+
Sample:
+
default:postgres-9-5
+ - -   - + +   +
percent_progress
integer -
- + + always -
Percent progress of snapshot
-
-
Sample:
-
100
- +
Percent progress of snapshot
+
+
Sample:
+
100
+ - -   - + +   +
snapshot_create_time
string -
- + + always -
Time snapshot was created
-
-
Sample:
-
2018-05-16T04:03:33.871000+00:00
- +
Time snapshot was created
+
+
Sample:
+
2018-05-16T04:03:33.871000+00:00
+ - -   - + +   +
snapshot_type
string -
- + + always -
Type of snapshot
-
-
Sample:
-
automated
- +
Type of snapshot
+
+
Sample:
+
automated
+ - -   - + +   +
status
string -
- + + always -
Status of snapshot
-
-
Sample:
-
available
- +
Status of snapshot
+
+
Sample:
+
available
+ - -   - + +   +
storage_type
string -
- + + always -
Storage type of underlying DB
-
-
Sample:
-
gp2
- +
Storage type of underlying DB
+
+
Sample:
+
gp2
+ - -   - + +   +
tags
complex -
- + + when snapshot is not shared -
Snapshot tags
-
- +
Snapshot tags
+
+ - -   - + +   +
vpc_id
string -
- + + always -
ID of VPC containing the DB
-
-
Sample:
-
vpc-abcd1234
- +
ID of VPC containing the DB
+
+
Sample:
+
vpc-abcd1234
+ - - + +

@@ -1093,5 +1110,3 @@ Authors ~~~~~~~ - Will Thames (@willthames) - - diff --git a/docs/community.aws.rds_snapshot_module.rst b/docs/community.aws.rds_snapshot_module.rst index 02805a49a39..8a7f1c418c6 100644 --- a/docs/community.aws.rds_snapshot_module.rst +++ b/docs/community.aws.rds_snapshot_module.rst @@ -36,281 +36,300 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
db_instance_identifier
string -
-
- -
Database instance identifier. Required when state is present.
-

aliases: instance_id
-
+ + + +
Database instance identifier. Required when state is present.
+

aliases: instance_id
+
db_snapshot_identifier
string - / required
-
- -
The snapshot to manage.
-

aliases: id, snapshot_id
-
+ / required + + +
The snapshot to manage.
+

aliases: id, snapshot_id
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
purge_tags
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
whether to remove tags not present in the tags parameter.
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
whether to remove tags not present in the tags parameter.
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Specify the desired state of the snapshot.
-
+ + +
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Specify the desired state of the snapshot.
+
tags
dictionary -
-
- -
tags dict to apply to a snapshot.
-
+ + + +
tags dict to apply to a snapshot.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to wait for snapshot creation or deletion.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to wait for snapshot creation or deletion.
+
wait_timeout
integer -
-
- Default:
300
-
-
how long before wait gives up, in seconds.
-
+ + + + Default:
300
+ + +
how long before wait gives up, in seconds.
+ + +
@@ -318,7 +337,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -329,7 +348,6 @@ Examples .. code-block:: yaml+jinja - - name: Create snapshot community.aws.rds_snapshot: db_instance_identifier: new-database @@ -342,7 +360,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -355,390 +372,390 @@ Common return values are documented `here Returned Description - - + +
allocated_storage
integer -
- + + always -
How much storage is allocated in GB.
-
-
Sample:
-
20
- - - - +
How much storage is allocated in GB.
+
+
Sample:
+
20
+ + + +
availability_zone
string -
- + + always -
Availability zone of the database from which the snapshot was created.
-
-
Sample:
-
us-west-2a
- - - - +
Availability zone of the database from which the snapshot was created.
+
+
Sample:
+
us-west-2a
+ + + +
db_instance_identifier
string -
- + + always -
Database from which the snapshot was created.
-
-
Sample:
-
ansible-test-16638696
- - - - +
Database from which the snapshot was created.
+
+
Sample:
+
ansible-test-16638696
+ + + +
db_snapshot_arn
string -
- + + always -
Amazon Resource Name for the snapshot.
-
-
Sample:
-
arn:aws:rds:us-west-2:123456789012:snapshot:ansible-test-16638696-test-snapshot
- - - - +
Amazon Resource Name for the snapshot.
+
+
Sample:
+
arn:aws:rds:us-west-2:123456789012:snapshot:ansible-test-16638696-test-snapshot
+ + + +
db_snapshot_identifier
string -
- + + always -
Name of the snapshot.
-
-
Sample:
-
ansible-test-16638696-test-snapshot
- - - - +
Name of the snapshot.
+
+
Sample:
+
ansible-test-16638696-test-snapshot
+ + + +
dbi_resource_id
string -
- + + always -
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
-
-
Sample:
-
db-MM4P2U35RQRAMWD3QDOXWPZP4U
- - - - +
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
+
+
Sample:
+
db-MM4P2U35RQRAMWD3QDOXWPZP4U
+ + + +
encrypted
boolean -
- + + always -
Whether the snapshot is encrypted.
-
- +
Whether the snapshot is encrypted.
+
+ - - + +
engine
string -
- + + always -
Engine of the database from which the snapshot was created.
-
-
Sample:
-
mariadb
- - - - +
Engine of the database from which the snapshot was created.
+
+
Sample:
+
mariadb
+ + + +
engine_version
string -
- + + always -
Version of the database from which the snapshot was created.
-
-
Sample:
-
10.2.21
- - - - +
Version of the database from which the snapshot was created.
+
+
Sample:
+
10.2.21
+ + + +
iam_database_authentication_enabled
boolean -
- + + always -
Whether IAM database authentication is enabled.
-
- +
Whether IAM database authentication is enabled.
+
+ - - + +
instance_create_time
string -
- + + always -
Creation time of the instance from which the snapshot was created.
-
-
Sample:
-
2019-06-15T10:15:56.221000+00:00
- - - - +
Creation time of the instance from which the snapshot was created.
+
+
Sample:
+
2019-06-15T10:15:56.221000+00:00
+ + + +
license_model
string -
- + + always -
License model of the database.
-
-
Sample:
-
general-public-license
- - - - +
License model of the database.
+
+
Sample:
+
general-public-license
+ + + +
master_username
string -
- + + always -
Master username of the database.
-
-
Sample:
-
test
- - - - +
Master username of the database.
+
+
Sample:
+
test
+ + + +
option_group_name
string -
- + + always -
Option group of the database.
-
-
Sample:
-
default:mariadb-10-2
- - - - +
Option group of the database.
+
+
Sample:
+
default:mariadb-10-2
+ + + +
percent_progress
integer -
- + + always -
How much progress has been made taking the snapshot. Will be 100 for an available snapshot.
-
-
Sample:
-
100
- - - - +
How much progress has been made taking the snapshot. Will be 100 for an available snapshot.
+
+
Sample:
+
100
+ + + +
port
integer -
- + + always -
Port on which the database is listening.
-
-
Sample:
-
3306
- - - - +
Port on which the database is listening.
+
+
Sample:
+
3306
+ + + +
processor_features
list -
- + + always -
List of processor features of the database.
-
- +
List of processor features of the database.
+
+ - - + +
snapshot_create_time
string -
- + + always -
Creation time of the snapshot.
-
-
Sample:
-
2019-06-15T10:46:23.776000+00:00
- - - - +
Creation time of the snapshot.
+
+
Sample:
+
2019-06-15T10:46:23.776000+00:00
+ + + +
snapshot_type
string -
- + + always -
How the snapshot was created (always manual for this module!).
-
-
Sample:
-
manual
- - - - +
How the snapshot was created (always manual for this module!).
+
+
Sample:
+
manual
+ + + +
status
string -
- + + always -
Status of the snapshot.
-
-
Sample:
-
available
- - - - +
Status of the snapshot.
+
+
Sample:
+
available
+ + + +
storage_type
string -
- + + always -
Storage type of the database.
-
-
Sample:
-
gp2
- - - - +
Storage type of the database.
+
+
Sample:
+
gp2
+ + + +
tags
complex -
- + + always -
Tags applied to the snapshot.
-
- +
Tags applied to the snapshot.
+
+ - - + +
vpc_id
string -
- + + always -
ID of the VPC in which the DB lives.
-
-
Sample:
-
vpc-09ff232e222710ae0
- +
ID of the VPC in which the DB lives.
+
+
Sample:
+
vpc-09ff232e222710ae0
+ - +

@@ -751,5 +768,3 @@ Authors - Will Thames (@willthames) - Michael De La Rue (@mikedlr) - - diff --git a/docs/community.aws.rds_subnet_group_module.rst b/docs/community.aws.rds_subnet_group_module.rst index b5fed6ab6bd..324ddcae414 100644 --- a/docs/community.aws.rds_subnet_group_module.rst +++ b/docs/community.aws.rds_subnet_group_module.rst @@ -35,227 +35,246 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / elements=string + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
description
string -
-
- -
Database subnet group description.
-
Required when state=present.
-
+ +
Database subnet group description.
+
Required when state=present.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Database subnet group identifier.
-
+ +
Database subnet group identifier.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Specifies whether the subnet should be present or absent.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Specifies whether the subnet should be present or absent.
+
+
subnets
list -
-
- -
List of subnet IDs that make up the database subnet group.
-
Required when state=present.
-
+ +
List of subnet IDs that make up the database subnet group.
+
Required when state=present.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -263,7 +282,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -274,7 +293,6 @@ Examples .. code-block:: yaml+jinja - - name: Add or change a subnet group community.aws.rds_subnet_group: state: present @@ -291,7 +309,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -304,103 +321,103 @@ Common return values are documented `here Returned Description - - + +
subnet_group
complex -
- + + state=present -
Dictionary of DB subnet group values
-
- +
Dictionary of DB subnet group values
+
+ - -   - + +   +
description
string -
- + + state=present -
The description of the DB subnet group
-
- +
The description of the DB subnet group
+
+ - -   - + +   +
name
string -
- + + state=present -
The name of the DB subnet group
-
- +
The name of the DB subnet group
+
+ - -   - + +   +
status
string -
- + + state=present -
The status of the DB subnet group
-
- +
The status of the DB subnet group
+
+ - -   - + +   +
subnet_ids
list -
- + + state=present -
Contains a list of Subnet IDs
-
- +
Contains a list of Subnet IDs
+
+ - -   - + +   +
vpc_id
string -
- + + state=present -
The VpcId of the DB subnet group
-
- +
The VpcId of the DB subnet group
+
+ - - + +

@@ -412,5 +429,3 @@ Authors ~~~~~~~ - Scott Anderson (@tastychutney) - - diff --git a/docs/community.aws.redshift_cross_region_snapshots_module.rst b/docs/community.aws.redshift_cross_region_snapshots_module.rst index 2836242a7c7..012aa06685d 100644 --- a/docs/community.aws.redshift_cross_region_snapshots_module.rst +++ b/docs/community.aws.redshift_cross_region_snapshots_module.rst @@ -38,245 +38,264 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cluster_name
string - / required
-
- -
The name of the cluster to configure cross-region snapshots for.
-

aliases: cluster
-
+ +
The name of the cluster to configure cross-region snapshots for.
+

aliases: cluster
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
destination_region
string - / required
-
- -
The region to copy snapshots to.
-

aliases: destination
-
+ +
The region to copy snapshots to.
+

aliases: destination
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string - / required
-
- -
The cluster's region.
-

aliases: source
-
+ +
The cluster's region.
+

aliases: source
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
snapshot_copy_grant
string -
-
- -
A grant for Amazon Redshift to use a master key in the destination_region.
- -

aliases: copy_grant
-
+ +
A grant for Amazon Redshift to use a master key in the destination_region.
+ +

aliases: copy_grant
+
+
snapshot_retention_period
integer - / required
-
- -
The number of days to keep cross-region snapshots for.
-

aliases: retention_period
-
+ +
The number of days to keep cross-region snapshots for.
+

aliases: retention_period
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or remove the cross-region snapshot configuration.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or remove the cross-region snapshot configuration.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -284,7 +303,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -295,7 +314,6 @@ Examples .. code-block:: yaml+jinja - - name: configure cross-region snapshot on cluster `johniscool` community.aws.redshift_cross_region_snapshots: cluster_name: johniscool @@ -323,7 +341,6 @@ Examples - Status ------ @@ -332,5 +349,3 @@ Authors ~~~~~~~ - JR Kerkstra (@captainkerk) - - diff --git a/docs/community.aws.redshift_info_module.rst b/docs/community.aws.redshift_info_module.rst index 13156c32437..87324f6c5e5 100644 --- a/docs/community.aws.redshift_info_module.rst +++ b/docs/community.aws.redshift_info_module.rst @@ -37,193 +37,212 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
cluster_identifier
string -
-
- -
The prefix of cluster identifier of the Redshift cluster you are searching for.
-
This is a regular expression match with implicit '^'. Append '$' for a complete match.
-

aliases: name, identifier
-
+ + + +
The prefix of cluster identifier of the Redshift cluster you are searching for.
+
This is a regular expression match with implicit '^'. Append '$' for a complete match.
+

aliases: name, identifier
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
tags
dictionary -
-
- -
A dictionary/hash of tags in the format { tag1_name: 'tag1_value', tag2_name: 'tag2_value' } to match against the security group(s) you are searching for.
-
+ + + +
A dictionary/hash of tags in the format { tag1_name: 'tag1_value', tag2_name: 'tag2_value' } to match against the security group(s) you are searching for.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -231,7 +250,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -242,7 +261,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do net set authentication details, see the AWS guide for details. - name: Find all clusters @@ -274,7 +292,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -287,548 +304,548 @@ Common return values are documented `here Returned Description - - + +
allow_version_upgrade
boolean -
- + + success -
A Boolean value that, if true, indicates that major version upgrades will be applied automatically to the cluster during the maintenance window.
-
-
Sample:
-
true|false
- +
A Boolean value that, if true, indicates that major version upgrades will be applied automatically to the cluster during the maintenance window.
+
+
Sample:
+
true|false
+ - - + +
automated_snapshot_retention_period
integer -
- + + success -
The number of days that automatic cluster snapshots are retained.
-
-
Sample:
-
1
- +
The number of days that automatic cluster snapshots are retained.
+
+
Sample:
+
1
+ - - + +
availability_zone
string -
- + + success -
The name of the Availability Zone in which the cluster is located.
-
-
Sample:
-
us-east-1b
- +
The name of the Availability Zone in which the cluster is located.
+
+
Sample:
+
us-east-1b
+ - - + +
cluster_create_time
string -
- + + success -
The date and time that the cluster was created.
-
-
Sample:
-
2016-05-10T08:33:16.629000+00:00
- +
The date and time that the cluster was created.
+
+
Sample:
+
2016-05-10T08:33:16.629000+00:00
+ - - + +
cluster_identifier
string -
- + + success -
Unique key to identify the cluster.
-
-
Sample:
-
redshift-identifier
- +
Unique key to identify the cluster.
+
+
Sample:
+
redshift-identifier
+ - - + +
cluster_nodes
list -
- + + success -
The nodes in the cluster.
-
-
Sample:
-
[{'node_role': 'LEADER', 'private_ip_address': '10.0.0.1', 'public_ip_address': 'x.x.x.x'}, {'node_role': 'COMPUTE-1', 'private_ip_address': '10.0.0.3', 'public_ip_address': 'x.x.x.x'}]
- +
The nodes in the cluster.
+
+
Sample:
+
[{'node_role': 'LEADER', 'private_ip_address': '10.0.0.1', 'public_ip_address': 'x.x.x.x'}, {'node_role': 'COMPUTE-1', 'private_ip_address': '10.0.0.3', 'public_ip_address': 'x.x.x.x'}]
+ - - + +
cluster_paramater_groups
list -
- + + success -
The list of cluster parameters that are associated with this cluster.
-
-
Sample:
-
[{'cluster_parameter_status_list': [{'parameter_apply_status': 'in-sync', 'parameter_name': 'statement_timeout'}, {'parameter_apply_status': 'in-sync', 'parameter_name': 'require_ssl'}], 'parameter_apply_status': 'in-sync', 'parameter_group_name': 'tuba'}]
- +
The list of cluster parameters that are associated with this cluster.
+
+
Sample:
+
[{'cluster_parameter_status_list': [{'parameter_apply_status': 'in-sync', 'parameter_name': 'statement_timeout'}, {'parameter_apply_status': 'in-sync', 'parameter_name': 'require_ssl'}], 'parameter_apply_status': 'in-sync', 'parameter_group_name': 'tuba'}]
+ - - + +
cluster_public_keys
string -
- + + success -
The public key for the cluster.
-
-
Sample:
-
ssh-rsa anjigfam Amazon-Redshift
- +
The public key for the cluster.
+
+
Sample:
+
ssh-rsa anjigfam Amazon-Redshift
+ - - + +
cluster_revision_number
string -
- + + success -
The specific revision number of the database in the cluster.
-
-
Sample:
-
1231
- +
The specific revision number of the database in the cluster.
+
+
Sample:
+
1231
+ - - + +
cluster_security_groups
list -
- + + success -
A list of cluster security groups that are associated with the cluster.
-
- +
A list of cluster security groups that are associated with the cluster.
+
+ - - + +
cluster_snapshot_copy_status
dictionary -
- + + success -
A value that returns the destination region and retention period that are configured for cross-region snapshot copy.
-
- +
A value that returns the destination region and retention period that are configured for cross-region snapshot copy.
+
+ - - + +
cluster_status
string -
- + + success -
Current state of the cluster.
-
-
Sample:
-
available
- +
Current state of the cluster.
+
+
Sample:
+
available
+ - - + +
cluster_subnet_group_name
string -
- + + success -
The name of the subnet group that is associated with the cluster.
-
-
Sample:
-
redshift-subnet
- +
The name of the subnet group that is associated with the cluster.
+
+
Sample:
+
redshift-subnet
+ - - + +
cluster_version
string -
- + + success -
The version ID of the Amazon Redshift engine that is running on the cluster.
-
-
Sample:
-
1.0
- +
The version ID of the Amazon Redshift engine that is running on the cluster.
+
+
Sample:
+
1.0
+ - - + +
db_name
string -
- + + success -
The name of the initial database that was created when the cluster was created.
-
-
Sample:
-
dev
- +
The name of the initial database that was created when the cluster was created.
+
+
Sample:
+
dev
+ - - + +
elastic_ip_status
dictionary -
- + + success -
The status of the elastic IP (EIP) address.
-
- +
The status of the elastic IP (EIP) address.
+
+ - - + +
encrypted
boolean -
- + + success -
Boolean value that, if true , indicates that data in the cluster is encrypted at rest.
-
-
Sample:
-
true|false
- +
Boolean value that, if true , indicates that data in the cluster is encrypted at rest.
+
+
Sample:
+
true|false
+ - - + +
endpoint
string -
- + + success -
The connection endpoint.
-
-
Sample:
-
{'address': 'cluster-ds2.ocmugla0rf.us-east-1.redshift.amazonaws.com', 'port': 5439}
- +
The connection endpoint.
+
+
Sample:
+
{'address': 'cluster-ds2.ocmugla0rf.us-east-1.redshift.amazonaws.com', 'port': 5439}
+ - - + +
enhanced_vpc_routing
boolean -
- + + success -
An option that specifies whether to create the cluster with enhanced VPC routing enabled.
-
-
Sample:
-
true|false
- +
An option that specifies whether to create the cluster with enhanced VPC routing enabled.
+
+
Sample:
+
true|false
+ - - + +
hsm_status
dictionary -
- + + success -
A value that reports whether the Amazon Redshift cluster has finished applying any hardware security module (HSM) settings changes specified in a modify cluster command.
-
- +
A value that reports whether the Amazon Redshift cluster has finished applying any hardware security module (HSM) settings changes specified in a modify cluster command.
+
+ - - + +
iam_roles
list -
- + + success -
List of IAM roles attached to the cluster.
-
- +
List of IAM roles attached to the cluster.
+
+ - - + +
kms_key_id
string -
- + + success -
The AWS Key Management Service (AWS KMS) key ID of the encryption key used to encrypt data in the cluster.
-
- +
The AWS Key Management Service (AWS KMS) key ID of the encryption key used to encrypt data in the cluster.
+
+ - - + +
master_username
string -
- + + success -
The master user name for the cluster.
-
-
Sample:
-
admin
- +
The master user name for the cluster.
+
+
Sample:
+
admin
+ - - + +
modify_status
string -
- + + optional -
The status of a modify operation.
-
- +
The status of a modify operation.
+
+ - - + +
node_type
string -
- + + success -
The node type for nodes in the cluster.
-
-
Sample:
-
ds2.xlarge
- +
The node type for nodes in the cluster.
+
+
Sample:
+
ds2.xlarge
+ - - + +
number_of_nodes
integer -
- + + success -
The number of compute nodes in the cluster.
-
-
Sample:
-
12
- +
The number of compute nodes in the cluster.
+
+
Sample:
+
12
+ - - + +
pending_modified_values
dictionary -
- + + success -
A value that, if present, indicates that changes to the cluster are pending.
-
- +
A value that, if present, indicates that changes to the cluster are pending.
+
+ - - + +
preferred_maintenance_window
string -
- + + success -
The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.
-
-
Sample:
-
tue:07:30-tue:08:00
- +
The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.
+
+
Sample:
+
tue:07:30-tue:08:00
+ - - + +
publicly_accessible
boolean -
- + + success -
A Boolean value that, if true , indicates that the cluster can be accessed from a public network.
-
-
Sample:
-
true|false
- +
A Boolean value that, if true , indicates that the cluster can be accessed from a public network.
+
+
Sample:
+
true|false
+ - - + +
restore_status
dictionary -
- + + success -
A value that describes the status of a cluster restore action.
-
- +
A value that describes the status of a cluster restore action.
+
+ - - + +
tags
list -
- + + success -
The list of tags for the cluster.
-
- +
The list of tags for the cluster.
+
+ - - + +
vpc_id
string -
- + + success -
The identifier of the VPC the cluster is in, if the cluster is in a VPC.
-
-
Sample:
-
vpc-1234567
- +
The identifier of the VPC the cluster is in, if the cluster is in a VPC.
+
+
Sample:
+
vpc-1234567
+ - - + +
vpc_security_groups
list -
- + + success -
A list of VPC security groups the are associated with the cluster.
-
-
Sample:
-
[{'status': 'active', 'vpc_security_group_id': 'sg-12cghhg'}]
- +
A list of VPC security groups the are associated with the cluster.
+
+
Sample:
+
[{'status': 'active', 'vpc_security_group_id': 'sg-12cghhg'}]
+ - +

@@ -840,5 +857,3 @@ Authors ~~~~~~~ - Jens Carl (@j-carl) - - diff --git a/docs/community.aws.redshift_module.rst b/docs/community.aws.redshift_module.rst index 026de44e071..8aca4d1f59a 100644 --- a/docs/community.aws.redshift_module.rst +++ b/docs/community.aws.redshift_module.rst @@ -8,7 +8,7 @@ community.aws.redshift **create, delete, or modify an Amazon Redshift instance** -Version added: 1.0.0 - "Jens Carl (@j-carl), Hothead Games Inc." - "Rafael Driutti (@rafaeldriutti)" +Version added: 1.0.0 .. contents:: :local: @@ -36,639 +36,658 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
allow_version_upgrade
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When allow_version_upgrade=true the cluster may be automatically upgraded during the maintenance window.
-

aliases: version_upgrade
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When allow_version_upgrade=true the cluster may be automatically upgraded during the maintenance window.
+

aliases: version_upgrade
+
+
automated_snapshot_retention_period
integer -
-
- -
The number of days that automated snapshots are retained.
-

aliases: retention_period
-
+ +
The number of days that automated snapshots are retained.
+

aliases: retention_period
+
+
availability_zone
string -
-
- -
Availability zone in which to launch cluster.
-

aliases: zone, aws_zone
-
+ +
Availability zone in which to launch cluster.
+

aliases: zone, aws_zone
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
cluster_parameter_group_name
string -
-
- -
Name of the cluster parameter group.
-

aliases: param_group_name
-
+ +
Name of the cluster parameter group.
+

aliases: param_group_name
+
+
cluster_security_groups
list - / elements=string
-
- -
In which security group the cluster belongs.
-

aliases: security_groups
-
+ +
In which security group the cluster belongs.
+

aliases: security_groups
+
+
cluster_subnet_group_name
string -
-
- -
Which subnet to place the cluster.
-

aliases: subnet
-
+ +
Which subnet to place the cluster.
+

aliases: subnet
+
+
cluster_type
string -
-
-
    Choices: -
  • multi-node
  • -
  • single-node ←
  • -
-
-
The type of cluster.
-
+
    Choices: +
  • multi-node
  • +
  • single-node ←
  • +
+
+
The type of cluster.
+
+
cluster_version
string -
-
-
    Choices: -
  • 1.0
  • -
-
-
Which version the cluster should have.
-

aliases: version
-
+
    Choices: +
  • 1.0
  • +
+
+
Which version the cluster should have.
+

aliases: version
+
+
command
string - / required
-
-
    Choices: -
  • create
  • -
  • facts
  • -
  • delete
  • -
  • modify
  • -
-
-
Specifies the action to take.
-
+
    Choices: +
  • create
  • +
  • facts
  • +
  • delete
  • +
  • modify
  • +
+
+
Specifies the action to take.
+
+
db_name
string -
-
- -
Name of the database.
-
+ +
Name of the database.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
elastic_ip
string -
-
- -
An Elastic IP to use for the cluster.
-
+ +
An Elastic IP to use for the cluster.
+
+
encrypted
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If the cluster is encrypted or not.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If the cluster is encrypted or not.
+
+
enhanced_vpc_routing
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether the cluster should have enhanced VPC routing enabled.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether the cluster should have enhanced VPC routing enabled.
+
+
final_cluster_snapshot_identifier
string -
-
- -
Identifier of the final snapshot to be created before deleting the cluster.
-
If this parameter is provided, skip_final_cluster_snapshot must be false.
-
Used only when command=delete.
-

aliases: final_snapshot_id
-
+ +
Identifier of the final snapshot to be created before deleting the cluster.
+
If this parameter is provided, skip_final_cluster_snapshot must be false.
+
Used only when command=delete.
+

aliases: final_snapshot_id
+
+
identifier
string - / required
-
- -
Redshift cluster identifier.
-
+ +
Redshift cluster identifier.
+
+
new_cluster_identifier
string -
-
- -
Only used when command=modify.
-

aliases: new_identifier
-
+ +
Only used when command=modify.
+

aliases: new_identifier
+
+
node_type
string -
-
-
    Choices: -
  • ds1.xlarge
  • -
  • ds1.8xlarge
  • -
  • ds2.xlarge
  • -
  • ds2.8xlarge
  • -
  • dc1.large
  • -
  • dc2.large
  • -
  • dc1.8xlarge
  • -
  • dw1.xlarge
  • -
  • dw1.8xlarge
  • -
  • dw2.large
  • -
  • dw2.8xlarge
  • -
-
-
The node type of the cluster.
-
Require when command=create.
-
+
    Choices: +
  • ds1.xlarge
  • +
  • ds1.8xlarge
  • +
  • ds2.xlarge
  • +
  • ds2.8xlarge
  • +
  • dc1.large
  • +
  • dc2.large
  • +
  • dc1.8xlarge
  • +
  • dw1.xlarge
  • +
  • dw1.8xlarge
  • +
  • dw2.large
  • +
  • dw2.8xlarge
  • +
+
+
The node type of the cluster.
+
Require when command=create.
+
+
number_of_nodes
integer -
-
- -
Number of nodes.
-
Only used when cluster_type=multi-node.
-
+ +
Number of nodes.
+
Only used when cluster_type=multi-node.
+
+
password
string -
-
- -
Master database password.
-
Used only when command=create.
-
+ +
Master database password.
+
Used only when command=create.
+
+
port
integer -
-
- -
Which port the cluster is listening on.
-
+ +
Which port the cluster is listening on.
+
+
preferred_maintenance_window
string -
-
- -
Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15)
-
Times are specified in UTC.
-
If not specified then a random 30 minute maintenance window is assigned.
-

aliases: maintance_window, maint_window
-
+ +
Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15)
+
Times are specified in UTC.
+
If not specified then a random 30 minute maintenance window is assigned.
+

aliases: maintance_window, maint_window
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
publicly_accessible
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If the cluster is accessible publicly or not.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If the cluster is accessible publicly or not.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
skip_final_cluster_snapshot
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Skip a final snapshot before deleting the cluster.
-
Used only when command=delete.
-

aliases: skip_final_snapshot
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Skip a final snapshot before deleting the cluster.
+
Used only when command=delete.
+

aliases: skip_final_snapshot
+
+
username
string -
-
- -
Master database username.
-
Used only when command=create.
-
+ +
Master database username.
+
Used only when command=create.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_security_group_ids
list - / elements=string
-
- -
VPC security group
-

aliases: vpc_security_groups
-
+ +
VPC security group
+

aliases: vpc_security_groups
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
When command=create, command=modify or command=restore then wait for the database to enter the 'available' state.
-
When command=delete wait for the database to be terminated.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
When command=create, command=modify or command=restore then wait for the database to enter the 'available' state.
+
When command=delete wait for the database to be terminated.
+
+
wait_timeout
integer -
-
- Default:
300
-
-
When wait=true defines how long in seconds before giving up.
-
+ + + + Default:
300
+ + +
When wait=true defines how long in seconds before giving up.
+ + +
@@ -676,7 +695,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -687,7 +706,6 @@ Examples .. code-block:: yaml+jinja - - name: Basic cluster provisioning example community.aws.redshift: command: create @@ -705,7 +723,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -718,219 +735,219 @@ Common return values are documented `here Returned Description - - + +
cluster
complex -
- + + success -
dictionary containing all the cluster information
-
- +
dictionary containing all the cluster information
+
+ - -   - + +   +
availability_zone
string -
- + + success -
Amazon availability zone where the cluster is located. "None" until cluster is available.
-
-
Sample:
-
us-east-1b
- - - -   - +
Amazon availability zone where the cluster is located. "None" until cluster is available.
+
+
Sample:
+
us-east-1b
+ + + +   +
create_time
float -
- + + success -
Time of the cluster creation as timestamp.
-
-
Sample:
-
1430158536.308
- - - -   - +
Time of the cluster creation as timestamp.
+
+
Sample:
+
1430158536.308
+ + + +   +
db_name
string -
- + + success -
Name of the database.
-
-
Sample:
-
new_db_name
- - - -   - +
Name of the database.
+
+
Sample:
+
new_db_name
+ + + +   +
enhanced_vpc_routing
boolean -
- + + success -
status of the enhanced vpc routing feature.
-
- +
status of the enhanced vpc routing feature.
+
+ - -   - + +   +
identifier
string -
- + + success -
Id of the cluster.
-
-
Sample:
-
new_redshift_cluster
- - - -   - +
Id of the cluster.
+
+
Sample:
+
new_redshift_cluster
+ + + +   +
maintenance_window
string -
- + + success -
Time frame when maintenance/upgrade are done.
-
-
Sample:
-
sun:09:30-sun:10:00
- - - -   - +
Time frame when maintenance/upgrade are done.
+
+
Sample:
+
sun:09:30-sun:10:00
+ + + +   +
port
integer -
- + + success -
Port of the cluster. "None" until cluster is available.
-
-
Sample:
-
5439
- - - -   - +
Port of the cluster. "None" until cluster is available.
+
+
Sample:
+
5439
+ + + +   +
private_ip_address
string -
- + + success -
Private IP address of the main node.
-
-
Sample:
-
10.10.10.10
- - - -   - +
Private IP address of the main node.
+
+
Sample:
+
10.10.10.10
+ + + +   +
public_ip_address
string -
- + + success -
Public IP address of the main node. "None" when enhanced_vpc_routing is enabled.
-
-
Sample:
-
0.0.0.0
- - - -   - +
Public IP address of the main node. "None" when enhanced_vpc_routing is enabled.
+
+
Sample:
+
0.0.0.0
+ + + +   +
status
string -
- + + success -
Status of the cluster.
-
-
Sample:
-
available
- - - -   - +
Status of the cluster.
+
+
Sample:
+
available
+ + + +   +
url
string -
- + + success -
FQDN of the main cluster node. "None" until cluster is available.
-
-
Sample:
-
new-redshift_cluster.jfkdjfdkj.us-east-1.redshift.amazonaws.com
- +
FQDN of the main cluster node. "None" until cluster is available.
+
+
Sample:
+
new-redshift_cluster.jfkdjfdkj.us-east-1.redshift.amazonaws.com
+ - - + +

@@ -941,6 +958,5 @@ Status Authors ~~~~~~~ -- None - - +- Jens Carl (@j-carl), Hothead Games Inc. +- Rafael Driutti (@rafaeldriutti) diff --git a/docs/community.aws.redshift_subnet_group_module.rst b/docs/community.aws.redshift_subnet_group_module.rst index 3880fbce20f..6457827f096 100644 --- a/docs/community.aws.redshift_subnet_group_module.rst +++ b/docs/community.aws.redshift_subnet_group_module.rst @@ -8,7 +8,7 @@ community.aws.redshift_subnet_group **manage Redshift cluster subnet groups** -Version added: 1.0.0 - "Jens Carl (@j-carl), Hothead Games Inc." +Version added: 1.0.0 .. contents:: :local: @@ -35,228 +35,247 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
group_description
string -
-
- -
Database subnet group description.
-

aliases: description
-
+ +
Database subnet group description.
+

aliases: description
+
+
group_name
string - / required
-
- -
Cluster subnet group name.
-

aliases: name
-
+ +
Cluster subnet group name.
+

aliases: name
+
+
group_subnets
list - / elements=string
-
- -
List of subnet IDs that make up the cluster subnet group.
-

aliases: subnets
-
+ +
List of subnet IDs that make up the cluster subnet group.
+

aliases: subnets
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Specifies whether the subnet should be present or absent.
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Specifies whether the subnet should be present or absent.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -264,7 +283,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -275,7 +294,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a Redshift subnet group community.aws.redshift_subnet_group: state: present @@ -292,7 +310,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -305,59 +322,59 @@ Common return values are documented `here Returned Description - - + +
group
complex -
- + + success -
dictionary containing all Redshift subnet group information
-
- +
dictionary containing all Redshift subnet group information
+
+ - -   - + +   +
name
string -
- + + success -
name of the Redshift subnet group
-
-
Sample:
-
redshift_subnet_group_name
- +
name of the Redshift subnet group
+
+
Sample:
+
redshift_subnet_group_name
+ - -   - + +   +
vpc_id
string -
- + + success -
Id of the VPC where the subnet is located
-
-
Sample:
-
vpc-aabb1122
- +
Id of the VPC where the subnet is located
+
+
Sample:
+
vpc-aabb1122
+ - - + +

@@ -368,6 +385,4 @@ Status Authors ~~~~~~~ -- None - - +- Jens Carl (@j-carl), Hothead Games Inc. diff --git a/docs/community.aws.route53_health_check_module.rst b/docs/community.aws.route53_health_check_module.rst index cae430f758d..d3585ba8e22 100644 --- a/docs/community.aws.route53_health_check_module.rst +++ b/docs/community.aws.route53_health_check_module.rst @@ -36,326 +36,345 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
failure_threshold
integer -
-
-
    Choices: -
  • 1
  • -
  • 2
  • -
  • 3 ←
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
-
-
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.
-
+
    Choices: +
  • 1
  • +
  • 2
  • +
  • 3 ←
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
+
+
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.
+
+
fqdn
string -
-
- -
Domain name of the endpoint to check. Either this or ip_address has to be provided. When both are given the `fqdn` is used in the `Host:` header of the HTTP request.
-
+ +
Domain name of the endpoint to check. Either this or ip_address has to be provided. When both are given the `fqdn` is used in the `Host:` header of the HTTP request.
+
+
ip_address
string -
-
- -
IP address of the end-point to check. Either this or fqdn has to be provided.
-
+ +
IP address of the end-point to check. Either this or fqdn has to be provided.
+
+
port
integer -
-
- -
The port on the endpoint on which you want Amazon Route 53 to perform health checks. Required for TCP checks.
-
+ +
The port on the endpoint on which you want Amazon Route 53 to perform health checks. Required for TCP checks.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
request_interval
integer -
-
-
    Choices: -
  • 10
  • -
  • 30 ←
  • -
-
-
The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
-
+
    Choices: +
  • 10
  • +
  • 30 ←
  • +
+
+
The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
+
+
resource_path
string -
-
- -
The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.
-
Required for all checks except TCP.
-
The path must begin with a /
-
Maximum 255 characters.
-
+ +
The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.
+
Required for all checks except TCP.
+
The path must begin with a /
+
Maximum 255 characters.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Specifies the action to take.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Specifies the action to take.
+
+
string_match
string -
-
- -
If the check type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the first 5120 bytes of the response body, Amazon Route 53 considers the resource healthy.
-
+ +
If the check type is HTTP_STR_MATCH or HTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the first 5120 bytes of the response body, Amazon Route 53 considers the resource healthy.
+
+
type
string - / required
-
-
    Choices: -
  • HTTP
  • -
  • HTTPS
  • -
  • HTTP_STR_MATCH
  • -
  • HTTPS_STR_MATCH
  • -
  • TCP
  • -
-
-
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.
-
+
    Choices: +
  • HTTP
  • +
  • HTTPS
  • +
  • HTTP_STR_MATCH
  • +
  • HTTPS_STR_MATCH
  • +
  • TCP
  • +
+
+
The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -363,7 +382,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -374,7 +393,6 @@ Examples .. code-block:: yaml+jinja - - name: Create a health-check for host1.example.com and use it in record community.aws.route53_health_check: state: present @@ -406,8 +424,6 @@ Examples - - Status ------ @@ -416,5 +432,3 @@ Authors ~~~~~~~ - zimbatm (@zimbatm) - - diff --git a/docs/community.aws.route53_info_module.rst b/docs/community.aws.route53_info_module.rst index a0f98c940ce..b4260fdc583 100644 --- a/docs/community.aws.route53_info_module.rst +++ b/docs/community.aws.route53_info_module.rst @@ -36,399 +36,418 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
change_id
string -
-
- -
The ID of the change batch request.
-
The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.
-
Required if query=change.
-
+ +
The ID of the change batch request.
+
The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.
+
Required if query=change.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delegation_set_id
string -
-
- -
The DNS Zone delegation set ID.
-
+ +
The DNS Zone delegation set ID.
+
+
dns_name
string -
-
- -
The first name in the lexicographic ordering of domain names that you want the list_command to start listing from.
-
+ +
The first name in the lexicographic ordering of domain names that you want the list_command to start listing from.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
health_check_id
string -
-
- -
The ID of the health check.
-
Required if query is set to health_check and health_check_method is set to details or status or failure_reason.
-
+ +
The ID of the health check.
+
Required if query is set to health_check and health_check_method is set to details or status or failure_reason.
+
+
health_check_method
string -
-
-
    Choices: -
  • list ←
  • -
  • details
  • -
  • status
  • -
  • failure_reason
  • -
  • count
  • -
  • tags
  • -
-
-
This is used in conjunction with query: health_check. It allows for listing details, counts or tags of various health check details.
-
+
    Choices: +
  • list ←
  • +
  • details
  • +
  • status
  • +
  • failure_reason
  • +
  • count
  • +
  • tags
  • +
+
+
This is used in conjunction with query: health_check. It allows for listing details, counts or tags of various health check details.
+
+
hosted_zone_id
string -
-
- -
The Hosted Zone ID of the DNS zone.
-
Required if query is set to hosted_zone and hosted_zone_method is set to details.
-
Required if query is set to record_sets.
-
+ +
The Hosted Zone ID of the DNS zone.
+
Required if query is set to hosted_zone and hosted_zone_method is set to details.
+
Required if query is set to record_sets.
+
+
hosted_zone_method
string -
-
-
    Choices: -
  • details
  • -
  • list ←
  • -
  • list_by_name
  • -
  • count
  • -
  • tags
  • -
-
-
This is used in conjunction with query: hosted_zone. It allows for listing details, counts or tags of various hosted zone details.
-
+
    Choices: +
  • details
  • +
  • list ←
  • +
  • list_by_name
  • +
  • count
  • +
  • tags
  • +
+
+
This is used in conjunction with query: hosted_zone. It allows for listing details, counts or tags of various hosted zone details.
+
+
max_items
string -
-
- -
Maximum number of items to return for various get/list requests.
-
+ +
Maximum number of items to return for various get/list requests.
+
+
next_marker
string -
-
- -
Some requests such as list_command: hosted_zones will return a maximum number of entries - EG 100 or the number specified by max_items. If the number of entries exceeds this maximum another request can be sent using the NextMarker entry from the first response to get the next page of results.
-
+ +
Some requests such as list_command: hosted_zones will return a maximum number of entries - EG 100 or the number specified by max_items. If the number of entries exceeds this maximum another request can be sent using the NextMarker entry from the first response to get the next page of results.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
query
string - / required
-
-
    Choices: -
  • change
  • -
  • checker_ip_range
  • -
  • health_check
  • -
  • hosted_zone
  • -
  • record_sets
  • -
  • reusable_delegation_set
  • -
-
-
Specifies the query action to take.
-
+
    Choices: +
  • change
  • +
  • checker_ip_range
  • +
  • health_check
  • +
  • hosted_zone
  • +
  • record_sets
  • +
  • reusable_delegation_set
  • +
+
+
Specifies the query action to take.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
resource_id
list - / elements=string
-
- -
The ID/s of the specified resource/s.
-
Required if query=health_check and health_check_method=tags.
-
Required if query=hosted_zone and hosted_zone_method=tags.
-

aliases: resource_ids
-
+ +
The ID/s of the specified resource/s.
+
Required if query=health_check and health_check_method=tags.
+
Required if query=hosted_zone and hosted_zone_method=tags.
+

aliases: resource_ids
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
start_record_name
string -
-
- -
The first name in the lexicographic ordering of domain names that you want the list_command: record_sets to start listing from.
-
+ +
The first name in the lexicographic ordering of domain names that you want the list_command: record_sets to start listing from.
+
+
type
string -
-
-
    Choices: -
  • A
  • -
  • CNAME
  • -
  • MX
  • -
  • AAAA
  • -
  • TXT
  • -
  • PTR
  • -
  • SRV
  • -
  • SPF
  • -
  • CAA
  • -
  • NS
  • -
-
-
The type of DNS record.
-
+
    Choices: +
  • A
  • +
  • CNAME
  • +
  • MX
  • +
  • AAAA
  • +
  • TXT
  • +
  • PTR
  • +
  • SRV
  • +
  • SPF
  • +
  • CAA
  • +
  • NS
  • +
+
+
The type of DNS record.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -436,7 +455,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -447,7 +466,6 @@ Examples .. code-block:: yaml+jinja - # Simple example of listing all hosted zones - name: List all hosted zones community.aws.route53_info: @@ -520,7 +538,6 @@ Examples - Status ------ @@ -529,5 +546,3 @@ Authors ~~~~~~~ - Karen Cheng (@Etherdaemon) - - diff --git a/docs/community.aws.route53_module.rst b/docs/community.aws.route53_module.rst index 6c758f244ea..be7e3ce8272 100644 --- a/docs/community.aws.route53_module.rst +++ b/docs/community.aws.route53_module.rst @@ -35,512 +35,531 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
alias
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Indicates if this is an alias record.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Indicates if this is an alias record.
+
+
alias_evaluate_target_health
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Whether or not to evaluate an alias target health. Useful for aliases to Elastic Load Balancers.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Whether or not to evaluate an alias target health. Useful for aliases to Elastic Load Balancers.
+
+
alias_hosted_zone_id
string -
-
- -
The hosted zone identifier.
-
+ +
The hosted zone identifier.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
failover
string -
-
-
    Choices: -
  • SECONDARY
  • -
  • PRIMARY
  • -
-
-
Failover resource record sets only. Whether this is the primary or secondary resource record set. Allowed values are PRIMARY and SECONDARY
-
+
    Choices: +
  • SECONDARY
  • +
  • PRIMARY
  • +
+
+
Failover resource record sets only. Whether this is the primary or secondary resource record set. Allowed values are PRIMARY and SECONDARY
+
+
health_check
string -
-
- -
Health check to associate with this record
-
+ +
Health check to associate with this record
+
+
hosted_zone_id
string -
-
- -
The Hosted Zone ID of the DNS zone to modify.
-
This is a required parameter, if parameter zone is not supplied.
-
+ +
The Hosted Zone ID of the DNS zone to modify.
+
This is a required parameter, if parameter zone is not supplied.
+
+
identifier
string -
-
- -
Have to be specified for Weighted, latency-based and failover resource record sets only. An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.
-
+ +
Have to be specified for Weighted, latency-based and failover resource record sets only. An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.
+
+
overwrite
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
Whether an existing record should be overwritten on create if values do not match.
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
Whether an existing record should be overwritten on create if values do not match.
+
+
private_zone
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
If set to yes, the private zone matching the requested name within the domain will be used if there are both public and private zones. The default is to use the public zone.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
If set to yes, the private zone matching the requested name within the domain will be used if there are both public and private zones. The default is to use the public zone.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
record
string - / required
-
- -
The full DNS record to create or delete.
-
+ +
The full DNS record to create or delete.
+
+
region
string -
-
- -
Latency-based resource record sets only Among resource record sets that have the same combination of DNS name and type, a value that determines which region this should be associated with for the latency-based routing
-
+ +
Latency-based resource record sets only Among resource record sets that have the same combination of DNS name and type, a value that determines which region this should be associated with for the latency-based routing
+
+
retry_interval
integer -
-
- Default:
500
-
-
In the case that route53 is still servicing a prior request, this module will wait and try again after this many seconds. If you have many domain names, the default of 500 seconds may be too long.
-
+ Default:
500
+
+
In the case that route53 is still servicing a prior request, this module will wait and try again after this many seconds. If you have many domain names, the default of 500 seconds may be too long.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
  • get
  • -
  • create
  • -
  • delete
  • -
-
-
Specifies the state of the resource record. As of Ansible 2.4, the command option has been changed to state as default and the choices 'present' and 'absent' have been added, but command still works as well.
-

aliases: command
-
+
    Choices: +
  • present
  • +
  • absent
  • +
  • get
  • +
  • create
  • +
  • delete
  • +
+
+
Specifies the state of the resource record. As of Ansible 2.4, the command option has been changed to state as default and the choices 'present' and 'absent' have been added, but command still works as well.
+

aliases: command
+
+
ttl
integer -
-
- Default:
3600
-
-
The TTL, in second, to give the new record.
-
+ Default:
3600
+
+
The TTL, in second, to give the new record.
+
+
type
string - / required
-
-
    Choices: -
  • A
  • -
  • CNAME
  • -
  • MX
  • -
  • AAAA
  • -
  • TXT
  • -
  • PTR
  • -
  • SRV
  • -
  • SPF
  • -
  • CAA
  • -
  • NS
  • -
  • SOA
  • -
-
-
The type of DNS record to create.
-
+
    Choices: +
  • A
  • +
  • CNAME
  • +
  • MX
  • +
  • AAAA
  • +
  • TXT
  • +
  • PTR
  • +
  • SRV
  • +
  • SPF
  • +
  • CAA
  • +
  • NS
  • +
  • SOA
  • +
+
+
The type of DNS record to create.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
value
list -
-
- -
The new value when creating a DNS record. YAML lists or multiple comma-spaced values are allowed for non-alias records.
-
When deleting a record all values for the record must be specified or Route53 will not delete it.
-
+ +
The new value when creating a DNS record. YAML lists or multiple comma-spaced values are allowed for non-alias records.
+
When deleting a record all values for the record must be specified or Route53 will not delete it.
+
+
vpc_id
string -
-
- -
When used in conjunction with private_zone: true, this will only modify records in the private hosted zone attached to this VPC.
-
This allows you to have multiple private hosted zones, all with the same name, attached to different VPCs.
-
+ +
When used in conjunction with private_zone: true, this will only modify records in the private hosted zone attached to this VPC.
+
This allows you to have multiple private hosted zones, all with the same name, attached to different VPCs.
+
+
wait
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Wait until the changes have been replicated to all Amazon Route 53 DNS servers.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Wait until the changes have been replicated to all Amazon Route 53 DNS servers.
+
+
wait_timeout
integer -
-
- Default:
300
-
-
How long to wait for the changes to be replicated, in seconds.
-
+ Default:
300
+
+
How long to wait for the changes to be replicated, in seconds.
+
+
weight
integer -
-
- -
Weighted resource record sets only. Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.
-
+ +
Weighted resource record sets only. Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.
+
+
zone
string -
-
- -
The DNS zone to modify.
-
This is a required parameter, if parameter hosted_zone_id is not supplied.
-
+ + + + + +
The DNS zone to modify.
+
This is a required parameter, if parameter hosted_zone_id is not supplied.
+ + +
@@ -548,7 +567,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -559,7 +578,6 @@ Examples .. code-block:: yaml+jinja - - name: Add new.foo.com as an A record with 3 IPs and wait until the changes have been replicated community.aws.route53: state: present @@ -708,8 +726,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -722,250 +738,250 @@ Common return values are documented `here Returned Description - - + +
nameservers
list -
- + + when state is 'get' -
Nameservers associated with the zone.
-
-
Sample:
-
['ns-1036.awsdns-00.org.', 'ns-516.awsdns-00.net.', 'ns-1504.awsdns-00.co.uk.', 'ns-1.awsdns-00.com.']
- - - - +
Nameservers associated with the zone.
+
+
Sample:
+
['ns-1036.awsdns-00.org.', 'ns-516.awsdns-00.net.', 'ns-1504.awsdns-00.co.uk.', 'ns-1.awsdns-00.com.']
+ + + +
set
complex -
- + + when state is 'get' -
Info specific to the resource record.
-
- +
Info specific to the resource record.
+
+ - -   - + +   +
alias
boolean -
- + + always -
Whether this is an alias.
-
- +
Whether this is an alias.
+
+ - -   - + +   +
failover
string -
- + + always -
Whether this is the primary or secondary resource record set.
-
-
Sample:
-
PRIMARY
- - - -   - +
Whether this is the primary or secondary resource record set.
+
+
Sample:
+
PRIMARY
+ + + +   +
health_check
string -
- + + always -
health_check associated with this record.
-
- +
health_check associated with this record.
+
+ - -   - + +   +
identifier
string -
- + + always -
An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.
-
- +
An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.
+
+ - -   - + +   +
record
string -
- + + always -
Domain name for the record set.
-
-
Sample:
-
new.foo.com.
- - - -   - +
Domain name for the record set.
+
+
Sample:
+
new.foo.com.
+ + + +   +
region
string -
- + + always -
Which region this should be associated with for latency-based routing.
-
-
Sample:
-
us-west-2
- - - -   - +
Which region this should be associated with for latency-based routing.
+
+
Sample:
+
us-west-2
+ + + +   +
ttl
string -
- + + always -
Resource record cache TTL.
-
-
Sample:
-
3600
- - - -   - +
Resource record cache TTL.
+
+
Sample:
+
3600
+ + + +   +
type
string -
- + + always -
Resource record set type.
-
-
Sample:
-
A
- - - -   - +
Resource record set type.
+
+
Sample:
+
A
+ + + +   +
value
string -
- + + always -
Record value.
-
-
Sample:
-
52.43.18.27
- - - -   - +
Record value.
+
+
Sample:
+
52.43.18.27
+ + + +   +
values
list -
- + + always -
Record Values.
-
-
Sample:
-
['52.43.18.27']
- - - -   - +
Record Values.
+
+
Sample:
+
['52.43.18.27']
+ + + +   +
weight
string -
- + + always -
Weight of the record.
-
-
Sample:
-
3
- - - -   - +
Weight of the record.
+
+
Sample:
+
3
+ + + +   +
zone
string -
- + + always -
Zone this record set belongs to.
-
-
Sample:
-
foo.bar.com.
- +
Zone this record set belongs to.
+
+
Sample:
+
foo.bar.com.
+ - - + +

@@ -978,5 +994,3 @@ Authors - Bruce Pennypacker (@bpennypacker) - Mike Buzzetti (@jimbydamonk) - - diff --git a/docs/community.aws.route53_zone_module.rst b/docs/community.aws.route53_zone_module.rst index 2943223a96d..54f7006e036 100644 --- a/docs/community.aws.route53_zone_module.rst +++ b/docs/community.aws.route53_zone_module.rst @@ -36,273 +36,292 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
comment
string -
-
- Default:
""
-
-
Comment associated with the zone.
-
+ Default:
""
+
+
Comment associated with the zone.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delegation_set_id
string -
-
- -
The reusable delegation set ID to be associated with the zone.
-
Note that you can't associate a reusable delegation set with a private hosted zone.
-
+ +
The reusable delegation set ID to be associated with the zone.
+
Note that you can't associate a reusable delegation set with a private hosted zone.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
hosted_zone_id
string -
-
- -
The unique zone identifier you want to delete or "all" if there are many zones with the same domain name.
-
Required if there are multiple zones identified with the above options.
-
+ +
The unique zone identifier you want to delete or "all" if there are many zones with the same domain name.
+
Required if there are multiple zones identified with the above options.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Whether or not the zone should exist or not.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Whether or not the zone should exist or not.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
vpc_id
string -
-
- -
The VPC ID the zone should be a part of (if this is going to be a private zone).
-
+ +
The VPC ID the zone should be a part of (if this is going to be a private zone).
+
+
vpc_region
string -
-
- -
The VPC Region the zone should be a part of (if this is going to be a private zone).
-
+ +
The VPC Region the zone should be a part of (if this is going to be a private zone).
+
+
zone
string - / required
-
- -
The DNS zone record (eg: foo.com.)
-
+ +
The DNS zone record (eg: foo.com.)
+
+
@@ -310,7 +329,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -321,7 +340,6 @@ Examples .. code-block:: yaml+jinja - - name: create a public zone community.aws.route53_zone: zone: example.com @@ -347,7 +365,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -360,126 +377,126 @@ Common return values are documented `here Returned Description - - + +
comment
string -
- + + when hosted zone exists -
optional hosted zone comment
-
-
Sample:
-
Private zone
- +
optional hosted zone comment
+
+
Sample:
+
Private zone
+ - - + +
delegation_set_id
string -
- + + for public hosted zones, if they have been associated with a reusable delegation set -
id of the associated reusable delegation set
-
-
Sample:
-
A1BCDEF2GHIJKL
- +
id of the associated reusable delegation set
+
+
Sample:
+
A1BCDEF2GHIJKL
+ - - + +
name
string -
- + + when hosted zone exists -
hosted zone name
-
-
Sample:
-
private.local.
- +
hosted zone name
+
+
Sample:
+
private.local.
+ - - + +
private_zone
boolean -
- + + when hosted zone exists -
whether hosted zone is private or public
-
-
Sample:
-
True
- +
whether hosted zone is private or public
+
+
Sample:
+
True
+ - - + +
vpc_id
string -
- + + for private hosted zone -
id of vpc attached to private hosted zone
-
-
Sample:
-
vpc-1d36c84f
- +
id of vpc attached to private hosted zone
+
+
Sample:
+
vpc-1d36c84f
+ - - + +
vpc_region
string -
- + + for private hosted zone -
region of vpc attached to private hosted zone
-
-
Sample:
-
eu-west-1
- +
region of vpc attached to private hosted zone
+
+
Sample:
+
eu-west-1
+ - - + +
zone_id
string -
- + + when hosted zone exists -
hosted zone id
-
-
Sample:
-
Z6JQG9820BEFMW
- +
hosted zone id
+
+
Sample:
+
Z6JQG9820BEFMW
+ - +

@@ -491,5 +508,3 @@ Authors ~~~~~~~ - Christopher Troup (@minichate) - - diff --git a/docs/community.aws.s3_bucket_notification_module.rst b/docs/community.aws.s3_bucket_notification_module.rst index dcbbc4fd7bd..f0a0a08249a 100644 --- a/docs/community.aws.s3_bucket_notification_module.rst +++ b/docs/community.aws.s3_bucket_notification_module.rst @@ -36,317 +36,336 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / elements=string + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bucket_name
string - / required
-
- -
S3 bucket name.
-
+ +
S3 bucket name.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
event_name
string - / required
-
- -
Unique name for event notification on bucket.
-
+ +
Unique name for event notification on bucket.
+
+
events
list - / elements=string
-
-
    Choices: -
  • s3:ObjectCreated:*
  • -
  • s3:ObjectCreated:Put
  • -
  • s3:ObjectCreated:Post
  • -
  • s3:ObjectCreated:Copy
  • -
  • s3:ObjectCreated:CompleteMultipartUpload
  • -
  • s3:ObjectRemoved:*
  • -
  • s3:ObjectRemoved:Delete
  • -
  • s3:ObjectRemoved:DeleteMarkerCreated
  • -
  • s3:ObjectRestore:Post
  • -
  • s3:ObjectRestore:Completed
  • -
  • s3:ReducedRedundancyLostObject
  • -
-
-
Events that you want to be triggering notifications. You can select multiple events to send to the same destination, you can set up different events to send to different destinations, and you can set up a prefix or suffix for an event. However, for each bucket, individual events cannot have multiple configurations with overlapping prefixes or suffixes that could match the same object key.
-
Required when state=present.
-
+
    Choices: +
  • s3:ObjectCreated:*
  • +
  • s3:ObjectCreated:Put
  • +
  • s3:ObjectCreated:Post
  • +
  • s3:ObjectCreated:Copy
  • +
  • s3:ObjectCreated:CompleteMultipartUpload
  • +
  • s3:ObjectRemoved:*
  • +
  • s3:ObjectRemoved:Delete
  • +
  • s3:ObjectRemoved:DeleteMarkerCreated
  • +
  • s3:ObjectRestore:Post
  • +
  • s3:ObjectRestore:Completed
  • +
  • s3:ReducedRedundancyLostObject
  • +
+
+
Events that you want to be triggering notifications. You can select multiple events to send to the same destination, you can set up different events to send to different destinations, and you can set up a prefix or suffix for an event. However, for each bucket, individual events cannot have multiple configurations with overlapping prefixes or suffixes that could match the same object key.
+
Required when state=present.
+
+
lambda_alias
string -
-
- -
Name of the Lambda function alias.
-
Mutually exclusive with lambda_version.
-
+ +
Name of the Lambda function alias.
+
Mutually exclusive with lambda_version.
+
+
lambda_function_arn
string -
-
- -
The ARN of the lambda function.
-

aliases: function_arn
-
+ +
The ARN of the lambda function.
+

aliases: function_arn
+
+
lambda_version
integer -
-
- -
Version of the Lambda function.
-
Mutually exclusive with lambda_alias.
-
+ +
Version of the Lambda function.
+
Mutually exclusive with lambda_alias.
+
+
prefix
string -
-
- -
Optional prefix to limit the notifications to objects with keys that start with matching characters.
-
+ +
Optional prefix to limit the notifications to objects with keys that start with matching characters.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Describes the desired state.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Describes the desired state.
+
+
suffix
string -
-
- -
Optional suffix to limit the notifications to objects with keys that end with matching characters.
-
+ +
Optional suffix to limit the notifications to objects with keys that end with matching characters.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -355,7 +374,7 @@ Notes .. note:: - This module heavily depends on :ref:`community.aws.lambda_policy ` as you need to allow ``lambda:InvokeFunction`` permission for your lambda function. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -366,7 +385,6 @@ Examples .. code-block:: yaml+jinja - --- # Example that creates a lambda event notification for a bucket - name: Process jpg image @@ -381,7 +399,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -394,22 +411,22 @@ Common return values are documented `here Returned Description - - + +
notification_configuration
list -
- + + success -
list of currently applied notifications
-
- +
list of currently applied notifications
+
+ - +

@@ -423,5 +440,3 @@ Authors - XLAB d.o.o. (@xlab-si) - Aljaz Kosir (@aljazkosir) - Miha Plesko (@miha-plesko) - - diff --git a/docs/community.aws.s3_lifecycle_module.rst b/docs/community.aws.s3_lifecycle_module.rst index 49eb0ab2973..c55f74ca544 100644 --- a/docs/community.aws.s3_lifecycle_module.rst +++ b/docs/community.aws.s3_lifecycle_module.rst @@ -36,445 +36,464 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / elements=dictionary + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
expiration_date
string -
-
- -
Indicates the lifetime of the objects that are subject to the rule by the date they will expire. The value must be ISO-8601 format, the time must be midnight and a GMT timezone must be specified.
-
+ +
Indicates the lifetime of the objects that are subject to the rule by the date they will expire. The value must be ISO-8601 format, the time must be midnight and a GMT timezone must be specified.
+
+
expiration_days
integer -
-
- -
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
-
+ +
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
+
+
name
string - / required
-
- -
Name of the s3 bucket
-
+ +
Name of the s3 bucket
+
+
noncurrent_version_expiration_days
integer -
-
- -
Delete noncurrent versions this many days after they become noncurrent
-
+ +
Delete noncurrent versions this many days after they become noncurrent
+
+
noncurrent_version_storage_class
string -
-
-
    Choices: -
  • glacier ←
  • -
  • onezone_ia
  • -
  • standard_ia
  • -
-
-
Transition noncurrent versions to this storage class
-
+
    Choices: +
  • glacier ←
  • +
  • onezone_ia
  • +
  • standard_ia
  • +
+
+
Transition noncurrent versions to this storage class
+
+
noncurrent_version_transition_days
integer -
-
- -
Transition noncurrent versions this many days after they become noncurrent
-
+ +
Transition noncurrent versions this many days after they become noncurrent
+
+
noncurrent_version_transitions
list -
-
- -
A list of transition behaviors to be applied to noncurrent versions for the rule. Each storage class may be used only once. Each transition behavior contains these elements + / elements=dictionary
+
+ +
A list of transition behaviors to be applied to noncurrent versions for the rule. Each storage class may be used only once. Each transition behavior contains these elements transition_days storage_class
-
+
prefix
string -
-
- -
Prefix identifying one or more objects to which the rule applies. If no prefix is specified, the rule will apply to the whole bucket.
-
+ +
Prefix identifying one or more objects to which the rule applies. If no prefix is specified, the rule will apply to the whole bucket.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_transitions
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
"Whether to replace all the current transition(s) with the new transition(s). When false, the provided transition(s) will be added, replacing transitions with the same storage_class. When true, existing transitions will be removed and replaced with the new transition(s)
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
"Whether to replace all the current transition(s) with the new transition(s). When false, the provided transition(s) will be added, replacing transitions with the same storage_class. When true, existing transitions will be removed and replaced with the new transition(s)
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
requester_pays
boolean -
-
-
    Choices: -
  • no
  • -
  • yes
  • -
-
-
The requester_pays option does nothing and will be removed after 2022-06-01
-
+
    Choices: +
  • no
  • +
  • yes
  • +
+
+
The requester_pays option does nothing and will be removed after 2022-06-01
+
+
rule_id
string -
-
- -
Unique identifier for the rule. The value cannot be longer than 255 characters. A unique value for the rule will be generated if no value is provided.
-
+ +
Unique identifier for the rule. The value cannot be longer than 255 characters. A unique value for the rule will be generated if no value is provided.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or remove the lifecycle rule
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or remove the lifecycle rule
+
+
status
string -
-
-
    Choices: -
  • enabled ←
  • -
  • disabled
  • -
-
-
If 'enabled', the rule is currently being applied. If 'disabled', the rule is not currently being applied.
-
+
    Choices: +
  • enabled ←
  • +
  • disabled
  • +
+
+
If 'enabled', the rule is currently being applied. If 'disabled', the rule is not currently being applied.
+
+
storage_class
string -
-
-
    Choices: -
  • glacier ←
  • -
  • onezone_ia
  • -
  • standard_ia
  • -
-
-
The storage class to transition to. Currently there are two supported values - 'glacier', 'onezone_ia', or 'standard_ia'.
-
The 'standard_ia' class is only being available from Ansible version 2.2.
-
+
    Choices: +
  • glacier ←
  • +
  • onezone_ia
  • +
  • standard_ia
  • +
+
+
The storage class to transition to. Currently there are two supported values - 'glacier', 'onezone_ia', or 'standard_ia'.
+
The 'standard_ia' class is only being available from Ansible version 2.2.
+
+
transition_date
string -
-
- -
Indicates the lifetime of the objects that are subject to the rule by the date they will transition to a different storage class. The value must be ISO-8601 format, the time must be midnight and a GMT timezone must be specified. If transition_days is not specified, this parameter is required."
-
+ +
Indicates the lifetime of the objects that are subject to the rule by the date they will transition to a different storage class. The value must be ISO-8601 format, the time must be midnight and a GMT timezone must be specified. If transition_days is not specified, this parameter is required."
+
+
transition_days
integer -
-
- -
Indicates when, in days, an object transitions to a different storage class. If transition_date is not specified, this parameter is required.
-
+ +
Indicates when, in days, an object transitions to a different storage class. If transition_date is not specified, this parameter is required.
+
+
transitions
list -
-
- -
A list of transition behaviors to be applied to the rule. Each storage class may be used only once. Each transition behavior may contain these elements transition_days transition_date storage_class
-
+ +
A list of transition behaviors to be applied to the rule. Each storage class may be used only once. Each transition behavior may contain these elements transition_days transition_date storage_class
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -484,7 +503,7 @@ Notes .. note:: - If specifying expiration time as days then transition time must also be specified in days - If specifying expiration time as a date then transition time must also be specified as a date - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -495,7 +514,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Configure a lifecycle rule on a bucket to expire (delete) items with a prefix of /logs/ after 30 days @@ -563,7 +581,6 @@ Examples - Status ------ @@ -572,5 +589,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.s3_logging_module.rst b/docs/community.aws.s3_logging_module.rst index 1662ee90d97..3ffc8732686 100644 --- a/docs/community.aws.s3_logging_module.rst +++ b/docs/community.aws.s3_logging_module.rst @@ -35,226 +35,245 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
Name of the s3 bucket.
-
+ +
Name of the s3 bucket.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Enable or disable logging.
-
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Enable or disable logging.
+
+
target_bucket
string -
-
- -
The bucket to log to. Required when state=present.
-
+ +
The bucket to log to. Required when state=present.
+
+
target_prefix
string -
-
- Default:
""
-
-
The prefix that should be prepended to the generated log files written to the target_bucket.
-
+ Default:
""
+
+
The prefix that should be prepended to the generated log files written to the target_bucket.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -262,7 +281,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -273,7 +292,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Enable logging of s3 bucket mywebsite.com to s3 bucket mylogs @@ -291,8 +309,6 @@ Examples - - Status ------ @@ -301,5 +317,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.s3_sync_module.rst b/docs/community.aws.s3_sync_module.rst index ba5e284cbb8..ac4e710242f 100644 --- a/docs/community.aws.s3_sync_module.rst +++ b/docs/community.aws.s3_sync_module.rst @@ -38,374 +38,393 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
bucket
string - / required
-
- -
Bucket name.
-
+ +
Bucket name.
+
+
cache_control
string -
-
- -
Cache-Control header set on uploaded objects.
-
Directives are separated by commas.
-
+ +
Cache-Control header set on uploaded objects.
+
Directives are separated by commas.
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delete
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Remove remote files that exist in bucket but are not present in the file root.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Remove remote files that exist in bucket but are not present in the file root.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
exclude
string -
-
- Default:
".*"
-
-
Shell pattern-style file matching.
-
Used after include to remove files (for instance, skip "*.txt")
-
For multiple patterns, comma-separate them.
-
+ Default:
".*"
+
+
Shell pattern-style file matching.
+
Used after include to remove files (for instance, skip "*.txt")
+
For multiple patterns, comma-separate them.
+
+
file_change_strategy
string -
-
-
    Choices: -
  • force
  • -
  • checksum
  • -
  • date_size ←
  • -
-
-
Difference determination method to allow changes-only syncing. Unlike rsync, files are not patched- they are fully skipped or fully uploaded.
-
date_size will upload if file sizes don't match or if local file modified date is newer than s3's version
-
checksum will compare etag values based on s3's implementation of chunked md5s.
-
force will always upload all files.
-
+
    Choices: +
  • force
  • +
  • checksum
  • +
  • date_size ←
  • +
+
+
Difference determination method to allow changes-only syncing. Unlike rsync, files are not patched- they are fully skipped or fully uploaded.
+
date_size will upload if file sizes don't match or if local file modified date is newer than s3's version
+
checksum will compare etag values based on s3's implementation of chunked md5s.
+
force will always upload all files.
+
+
file_root
path - / required
-
- -
File/directory path for synchronization. This is a local path.
-
This root path is scrubbed from the key name, so subdirectories will remain as keys.
-
+ +
File/directory path for synchronization. This is a local path.
+
This root path is scrubbed from the key name, so subdirectories will remain as keys.
+
+
include
string -
-
- Default:
"*"
-
-
Shell pattern-style file matching.
-
Used before exclude to determine eligible files (for instance, only "*.gif")
-
For multiple patterns, comma-separate them.
-
+ Default:
"*"
+
+
Shell pattern-style file matching.
+
Used before exclude to determine eligible files (for instance, only "*.gif")
+
For multiple patterns, comma-separate them.
+
+
key_prefix
string -
-
- -
In addition to file path, prepend s3 path with this prefix. Module will add slash at end of prefix if necessary.
-
+ +
In addition to file path, prepend s3 path with this prefix. Module will add slash at end of prefix if necessary.
+
+
mime_map
dictionary -
-
- -
Dict entry from extension to MIME type. This will override any default/sniffed MIME type. For example {".txt": "application/text", ".yml": "application/text"}
-
+ +
Dict entry from extension to MIME type. This will override any default/sniffed MIME type. For example {".txt": "application/text", ".yml": "application/text"}
+
+
mode
string -
-
-
    Choices: -
  • push ←
  • -
-
-
sync direction.
-
+
    Choices: +
  • push ←
  • +
+
+
sync direction.
+
+
permission
string -
-
-
    Choices: -
  • private
  • -
  • public-read
  • -
  • public-read-write
  • -
  • authenticated-read
  • -
  • aws-exec-read
  • -
  • bucket-owner-read
  • -
  • bucket-owner-full-control
  • -
-
-
Canned ACL to apply to synced files.
-
Changing this ACL only changes newly synced files, it does not trigger a full reupload.
-
+
    Choices: +
  • private
  • +
  • public-read
  • +
  • public-read-write
  • +
  • authenticated-read
  • +
  • aws-exec-read
  • +
  • bucket-owner-read
  • +
  • bucket-owner-full-control
  • +
+
+
Canned ACL to apply to synced files.
+
Changing this ACL only changes newly synced files, it does not trigger a full reupload.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
retries
string -
-
- -
The retries option does nothing and will be removed after 2022-06-01
-
+ +
The retries option does nothing and will be removed after 2022-06-01
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -413,7 +432,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -424,7 +443,6 @@ Examples .. code-block:: yaml+jinja - - name: basic upload community.aws.s3_sync: bucket: tedder @@ -446,7 +464,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -459,109 +476,109 @@ Common return values are documented `here Returned Description - - + +
filelist_actionable
list -
- + + always -
file listing (dicts) of files that will be uploaded after the strategy decision
-
-
Sample:
-
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477931256, 's3_path': 's3sync/policy.json', 'whysize': '151 / 151', 'whytime': '1477931256 / 1477929260'}]
- +
file listing (dicts) of files that will be uploaded after the strategy decision
+
+
Sample:
+
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477931256, 's3_path': 's3sync/policy.json', 'whysize': '151 / 151', 'whytime': '1477931256 / 1477929260'}]
+ - - + +
filelist_initial
list -
- + + always -
file listing (dicts) from initial globbing
-
-
Sample:
-
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'modified_epoch': 1477416706}]
- +
file listing (dicts) from initial globbing
+
+
Sample:
+
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'modified_epoch': 1477416706}]
+ - - + +
filelist_local_etag
list -
- + + always -
file listing (dicts) including calculated local etag
-
-
Sample:
-
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477416706, 's3_path': 's3sync/policy.json'}]
- +
file listing (dicts) including calculated local etag
+
+
Sample:
+
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477416706, 's3_path': 's3sync/policy.json'}]
+ - - + +
filelist_s3
list -
- + + always -
file listing (dicts) including information about previously-uploaded versions
-
-
Sample:
-
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477416706, 's3_path': 's3sync/policy.json'}]
- +
file listing (dicts) including information about previously-uploaded versions
+
+
Sample:
+
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477416706, 's3_path': 's3sync/policy.json'}]
+ - - + +
filelist_typed
list -
- + + always -
file listing (dicts) with calculated or overridden mime types
-
-
Sample:
-
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477416706}]
- +
file listing (dicts) with calculated or overridden mime types
+
+
Sample:
+
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 'mime_type': 'application/json', 'modified_epoch': 1477416706}]
+ - - + +
uploaded
list -
- + + always -
file listing (dicts) of files that were actually uploaded
-
-
Sample:
-
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 's3_path': 's3sync/policy.json', 'whysize': '151 / 151', 'whytime': '1477931637 / 1477931489'}]
- +
file listing (dicts) of files that were actually uploaded
+
+
Sample:
+
[{'bytes': 151, 'chopped_path': 'policy.json', 'fullpath': 'roles/cf/files/policy.json', 's3_path': 's3sync/policy.json', 'whysize': '151 / 151', 'whytime': '1477931637 / 1477931489'}]
+ - +

@@ -573,5 +590,3 @@ Authors ~~~~~~~ - Ted Timmons (@tedder) - - diff --git a/docs/community.aws.s3_website_module.rst b/docs/community.aws.s3_website_module.rst index 8fd280997b0..1f4924b9df1 100644 --- a/docs/community.aws.s3_website_module.rst +++ b/docs/community.aws.s3_website_module.rst @@ -36,241 +36,260 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
error_key
string -
-
- -
The object key name to use when a 4XX class error occurs. To remove an error key, set to None.
-
+ +
The object key name to use when a 4XX class error occurs. To remove an error key, set to None.
+
+
name
string - / required
-
- -
Name of the s3 bucket
-
+ +
Name of the s3 bucket
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
redirect_all_requests
string -
-
- -
Describes the redirect behavior for every request to this s3 bucket website endpoint
-
+ +
Describes the redirect behavior for every request to this s3 bucket website endpoint
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string - / required
-
-
    Choices: -
  • present
  • -
  • absent
  • -
-
-
Add or remove s3 website configuration
-
+
    Choices: +
  • present
  • +
  • absent
  • +
+
+
Add or remove s3 website configuration
+
+
suffix
string -
-
- Default:
"index.html"
-
-
Suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html). The suffix must not include a slash character.
-
+ Default:
"index.html"
+
+
Suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html). The suffix must not include a slash character.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -278,7 +297,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -289,7 +308,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. - name: Configure an s3 bucket to redirect all requests to example.com @@ -312,8 +330,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -326,306 +342,306 @@ Common return values are documented `here Returned Description - - + +
error_document
complex -
- + + always -
error document
-
- +
error document
+
+ - -   - + +   +
key
string -
- + + when error_document parameter set -
object key name to use when a 4XX class error occurs
-
-
Sample:
-
error.html
- +
object key name to use when a 4XX class error occurs
+
+
Sample:
+
error.html
+ - - - + + +
index_document
complex -
- + + always -
index document
-
- +
index document
+
+ - -   - + +   +
suffix
string -
- + + success -
suffix that is appended to a request that is for a directory on the website endpoint
-
-
Sample:
-
index.html
- +
suffix that is appended to a request that is for a directory on the website endpoint
+
+
Sample:
+
index.html
+ - - - + + +
redirect_all_requests_to
complex -
- + + always -
where to redirect requests
-
- +
where to redirect requests
+
+ - -   - + +   +
host_name
string -
- + + when redirect all requests parameter set -
name of the host where requests will be redirected.
-
-
Sample:
-
ansible.com
- +
name of the host where requests will be redirected.
+
+
Sample:
+
ansible.com
+ - -   - + +   +
protocol
string -
- + + when redirect all requests parameter set -
protocol to use when redirecting requests.
-
-
Sample:
-
https
- +
protocol to use when redirecting requests.
+
+
Sample:
+
https
+ - - - + + +
routing_rules
list -
- + + always -
routing rules
-
- +
routing rules
+
+ - -   - + +   +
condition
complex -
- + + -
A container for describing a condition that must be met for the specified redirect to apply.
-
- +
A container for describing a condition that must be met for the specified redirect to apply.
+
+ - -   -   - + +   +   +
http_error_code_returned_equals
string -
- + + always -
The HTTP error code when the redirect is applied.
-
- +
The HTTP error code when the redirect is applied.
+
+ - -   -   - + +   +   +
key_prefix_equals
string -
- + + when routing rule present -
object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html
-
-
Sample:
-
docs/
- +
object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html
+
+
Sample:
+
docs/
+ - - -   - + + +   +
redirect
complex -
- + + always -
Container for redirect information.
-
- +
Container for redirect information.
+
+ - -   -   - + +   +   +
host_name
string -
- + + when host name set as part of redirect rule -
name of the host where requests will be redirected.
-
-
Sample:
-
ansible.com
- +
name of the host where requests will be redirected.
+
+
Sample:
+
ansible.com
+ - -   -   - + +   +   +
http_redirect_code
string -
- + + when routing rule present -
The HTTP redirect code to use on the response.
-
- +
The HTTP redirect code to use on the response.
+
+ - -   -   - + +   +   +
protocol
string -
- + + when routing rule present -
Protocol to use when redirecting requests.
-
-
Sample:
-
http
- +
Protocol to use when redirecting requests.
+
+
Sample:
+
http
+ - -   -   - + +   +   +
replace_key_prefix_with
string -
- + + when routing rule present -
object key prefix to use in the redirect request
-
-
Sample:
-
documents/
- +
object key prefix to use in the redirect request
+
+
Sample:
+
documents/
+ - -   -   - + +   +   +
replace_key_with
string -
- + + when routing rule present -
object key prefix to use in the redirect request
-
-
Sample:
-
documents/
- +
object key prefix to use in the redirect request
+
+
Sample:
+
documents/
+ - - - + + +

@@ -637,5 +653,3 @@ Authors ~~~~~~~ - Rob White (@wimnat) - - diff --git a/docs/community.aws.sns_module.rst b/docs/community.aws.sns_module.rst index 8a7f1cb26d1..3ba142330a7 100644 --- a/docs/community.aws.sns_module.rst +++ b/docs/community.aws.sns_module.rst @@ -37,364 +37,383 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
application
string -
-
- -
Message to send to application subscriptions.
-
+ +
Message to send to application subscriptions.
+
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
email
string -
-
- -
Message to send to email subscriptions.
-
+ +
Message to send to email subscriptions.
+
+
email_json
string -
-
- -
Message to send to email-json subscriptions.
-
+ +
Message to send to email-json subscriptions.
+
+
http
string -
-
- -
Message to send to HTTP subscriptions.
-
+ +
Message to send to HTTP subscriptions.
+
+
https
string -
-
- -
Message to send to HTTPS subscriptions.
-
+ +
Message to send to HTTPS subscriptions.
+
+
lambda
string -
-
- -
Message to send to Lambda subscriptions.
-
+ +
Message to send to Lambda subscriptions.
+
+
message_attributes
dictionary -
-
- -
Dictionary of message attributes. These are optional structured data entries to be sent along to the endpoint.
-
This is in AWS's distinct Name/Type/Value format; see example below.
-
+ +
Dictionary of message attributes. These are optional structured data entries to be sent along to the endpoint.
+
This is in AWS's distinct Name/Type/Value format; see example below.
+
+
message_structure
string -
-
-
    Choices: -
  • json ←
  • -
  • string
  • -
-
-
The payload format to use for the message.
-
This must be 'json' to support protocol-specific messages (http, https, email, sms, sqs).
-
It must be 'string' to support message_attributes.
-
+
    Choices: +
  • json ←
  • +
  • string
  • +
+
+
The payload format to use for the message.
+
This must be 'json' to support protocol-specific messages (http, https, email, sms, sqs).
+
It must be 'string' to support message_attributes.
+
+
msg
string - / required
-
- -
Default message for subscriptions without a more specific message.
-

aliases: default
-
+ +
Default message for subscriptions without a more specific message.
+

aliases: default
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
sms
string -
-
- -
Message to send to SMS subscriptions.
-
+ +
Message to send to SMS subscriptions.
+
+
sqs
string -
-
- -
Message to send to SQS subscriptions.
-
+ +
Message to send to SQS subscriptions.
+
+
subject
string -
-
- -
Message subject
-
+ +
Message subject
+
+
topic
string - / required
-
- -
The name or ARN of the topic to publish to.
-
+ +
The name or ARN of the topic to publish to.
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -402,7 +421,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -413,7 +432,6 @@ Examples .. code-block:: yaml+jinja - - name: Send default notification message via SNS community.aws.sns: msg: '{{ inventory_hostname }} has completed the play.' @@ -444,7 +462,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -457,41 +474,41 @@ Common return values are documented `here Returned Description - - + +
message_id
string -
- + + when success -
The message ID of the submitted message
-
-
Sample:
-
2f681ef0-6d76-5c94-99b2-4ae3996ce57b
- +
The message ID of the submitted message
+
+
Sample:
+
2f681ef0-6d76-5c94-99b2-4ae3996ce57b
+ - - + +
msg
string -
- + + always -
Human-readable diagnostic information
-
-
Sample:
-
OK
- +
Human-readable diagnostic information
+
+
Sample:
+
OK
+ - +

@@ -504,5 +521,3 @@ Authors - Michael J. Schultz (@mjschultz) - Paul Arthur (@flowerysong) - - diff --git a/docs/community.aws.sns_topic_module.rst b/docs/community.aws.sns_topic_module.rst index c47c7f3f172..4e946e0ad93 100644 --- a/docs/community.aws.sns_topic_module.rst +++ b/docs/community.aws.sns_topic_module.rst @@ -36,308 +36,327 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - - - - - + + + + + + - - + / required + + + - - - + + - - - - - - + + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
delivery_policy
dictionary -
-
- -
Delivery policy to apply to the SNS topic.
-
+ +
Delivery policy to apply to the SNS topic.
+
+
display_name
string -
-
- -
Display name of the topic.
-
+ +
Display name of the topic.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
name
string - / required
-
- -
The name or ARN of the SNS topic to manage.
-
+ +
The name or ARN of the SNS topic to manage.
+
+
policy
dictionary -
-
- -
Policy to apply to the SNS topic.
-
+ +
Policy to apply to the SNS topic.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
purge_subscriptions
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
Whether to purge any subscriptions not listed here. NOTE: AWS does not allow you to purge any PendingConfirmation subscriptions, so if any exist and would be purged, they are silently skipped. This means that somebody could come back later and confirm the subscription. Sorry. Blame Amazon.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
Whether to purge any subscriptions not listed here. NOTE: AWS does not allow you to purge any PendingConfirmation subscriptions, so if any exist and would be purged, they are silently skipped. This means that somebody could come back later and confirm the subscription. Sorry. Blame Amazon.
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
state
string -
-
-
    Choices: -
  • absent
  • -
  • present ←
  • -
-
-
Whether to create or destroy an SNS topic.
-
+
    Choices: +
  • absent
  • +
  • present ←
  • +
+
+
Whether to create or destroy an SNS topic.
+
+
subscriptions
list - / elements=dictionary
-
- Default:
[]
-
-
List of subscriptions to apply to the topic. Note that AWS requires subscriptions to be confirmed, so you will need to confirm any new subscriptions.
-
+ / elements=dictionary + + Default:
[]
+
+
List of subscriptions to apply to the topic. Note that AWS requires subscriptions to be confirmed, so you will need to confirm any new subscriptions.
+
endpoint
- - / required
-
- -
Endpoint of subscription.
-
+ +
Endpoint of subscription.
+
+
protocol
- - / required
-
- -
Protocol of subscription.
-
+ / required + + +
Protocol of subscription.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+ + +
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+ + +
@@ -345,7 +364,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -356,8 +375,6 @@ Examples .. code-block:: yaml+jinja - - - name: Create alarm SNS topic community.aws.sns_topic: name: "alarms" @@ -382,8 +399,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -396,366 +411,366 @@ Common return values are documented `here Returned Description - - + +
community.aws.sns_topic
complex -
- + + always -
Dict of sns topic details
-
- +
Dict of sns topic details
+
+ - -   - + +   +
attributes_set
list -
- + + always -
list of attributes set during this run
-
- +
list of attributes set during this run
+
+ - -   - + +   +
check_mode
boolean -
- + + always -
whether check mode was on
-
- +
whether check mode was on
+
+ - -   - + +   +
delivery_policy
string -
- + + when topic is owned by this AWS account -
Delivery policy for the SNS topic
-
-
Sample:
-
{"http":{"defaultHealthyRetryPolicy":{"minDelayTarget":20,"maxDelayTarget":20,"numRetries":3,"numMaxDelayRetries":0, "numNoDelayRetries":0,"numMinDelayRetries":0,"backoffFunction":"linear"},"disableSubscriptionOverrides":false}}
- - - -   - +
Delivery policy for the SNS topic
+
+
Sample:
+
{"http":{"defaultHealthyRetryPolicy":{"minDelayTarget":20,"maxDelayTarget":20,"numRetries":3,"numMaxDelayRetries":0, "numNoDelayRetries":0,"numMinDelayRetries":0,"backoffFunction":"linear"},"disableSubscriptionOverrides":false}}
+ + + +   +
display_name
string -
- + + when topic is owned by this AWS account -
Display name for SNS topic
-
-
Sample:
-
My topic name
- - - -   - +
Display name for SNS topic
+
+
Sample:
+
My topic name
+ + + +   +
name
string -
- + + always -
Topic name
-
-
Sample:
-
ansible-test-dummy-topic
- - - -   - +
Topic name
+
+
Sample:
+
ansible-test-dummy-topic
+ + + +   +
owner
string -
- + + when topic is owned by this AWS account -
AWS account that owns the topic
-
-
Sample:
-
111111111111
- - - -   - +
AWS account that owns the topic
+
+
Sample:
+
111111111111
+ + + +   +
policy
string -
- + + when topic is owned by this AWS account -
Policy for the SNS topic
-
-
Sample:
-
{"Version":"2012-10-17","Id":"SomePolicyId","Statement":[{"Sid":"ANewSid","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::111111111111:root"}, "Action":"sns:Subscribe","Resource":"arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic","Condition":{"StringEquals":{"sns:Protocol":"email"}}}]}
- - - -   - +
Policy for the SNS topic
+
+
Sample:
+
{"Version":"2012-10-17","Id":"SomePolicyId","Statement":[{"Sid":"ANewSid","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::111111111111:root"}, "Action":"sns:Subscribe","Resource":"arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic","Condition":{"StringEquals":{"sns:Protocol":"email"}}}]}
+ + + +   +
state
string -
- + + always -
whether the topic is present or absent
-
-
Sample:
-
present
- - - -   - +
whether the topic is present or absent
+
+
Sample:
+
present
+ + + +   +
subscriptions
list -
- + + always -
List of subscribers to the topic in this AWS account
-
- +
List of subscribers to the topic in this AWS account
+
+ - -   - + +   +
subscriptions_added
list -
- + + always -
List of subscribers added in this run
-
- +
List of subscribers added in this run
+
+ - -   - + +   +
subscriptions_confirmed
string -
- + + when topic is owned by this AWS account -
Count of confirmed subscriptions
-
-
Sample:
-
0
- - - -   - +
Count of confirmed subscriptions
+
+
Sample:
+
0
+ + + +   +
subscriptions_deleted
string -
- + + when topic is owned by this AWS account -
Count of deleted subscriptions
-
-
Sample:
-
0
- - - -   - +
Count of deleted subscriptions
+
+
Sample:
+
0
+ + + +   +
subscriptions_existing
list -
- + + always -
List of existing subscriptions
-
- +
List of existing subscriptions
+
+ - -   - + +   +
subscriptions_new
list -
- + + always -
List of new subscriptions
-
- +
List of new subscriptions
+
+ - -   - + +   +
subscriptions_pending
string -
- + + when topic is owned by this AWS account -
Count of pending subscriptions
-
-
Sample:
-
0
- - - -   - +
Count of pending subscriptions
+
+
Sample:
+
0
+ + + +   +
subscriptions_purge
boolean -
- + + always -
Whether or not purge_subscriptions was set
-
-
Sample:
-
True
- - - -   - +
Whether or not purge_subscriptions was set
+
+
Sample:
+
True
+ + + +   +
topic_arn
string -
- + + when topic is owned by this AWS account -
ARN of the SNS topic (equivalent to sns_arn)
-
-
Sample:
-
arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic
- - - -   - +
ARN of the SNS topic (equivalent to sns_arn)
+
+
Sample:
+
arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic
+ + + +   +
topic_created
boolean -
- + + always -
Whether the topic was created
-
- +
Whether the topic was created
+
+ - -   - + +   +
topic_deleted
boolean -
- + + always -
Whether the topic was deleted
-
- +
Whether the topic was deleted
+
+ - - - + + +
sns_arn
string -
- + + always -
The ARN of the topic you are modifying
-
-
Sample:
-
arn:aws:sns:us-east-2:111111111111:my_topic_name
- +
The ARN of the topic you are modifying
+
+
Sample:
+
arn:aws:sns:us-east-2:111111111111:my_topic_name
+ - +

@@ -769,5 +784,3 @@ Authors - Joel Thompson (@joelthompson) - Fernando Jose Pando (@nand0p) - Will Thames (@willthames) - - diff --git a/docs/community.aws.sqs_queue_module.rst b/docs/community.aws.sqs_queue_module.rst index e6213d4ae27..31047c4515d 100644 --- a/docs/community.aws.sqs_queue_module.rst +++ b/docs/community.aws.sqs_queue_module.rst @@ -37,408 +37,427 @@ Parameters .. raw:: html - + - + - - + - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ + + +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ + + +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ + + +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
content_based_deduplication
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Enables content-based deduplication. Used for FIFOs only.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Enables content-based deduplication. Used for FIFOs only.
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
delay_seconds
integer -
-
- -
The delivery delay in seconds.
-

aliases: delivery_delay
-
+ + + +
The delivery delay in seconds.
+

aliases: delivery_delay
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ + + +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
kms_data_key_reuse_period_seconds
integer -
-
- -
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
-

aliases: kms_data_key_reuse_period
-
+ + + +
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
+

aliases: kms_data_key_reuse_period
+
kms_master_key_id
string -
-
- -
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
-
+ + + +
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
+
maximum_message_size
integer -
-
- -
The maximum message size in bytes.
-
+ + + +
The maximum message size in bytes.
+
message_retention_period
integer -
-
- -
The message retention period in seconds.
-
+ + + +
The message retention period in seconds.
+
name
string - / required
-
- -
Name of the queue.
-
+ / required + + +
Name of the queue.
+
policy
dictionary -
-
- -
The JSON dict policy to attach to queue.
-
+ + + +
The JSON dict policy to attach to queue.
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ + + +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
purge_tags
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Remove tags not listed in tags.
-
+ + +
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Remove tags not listed in tags.
+
queue_type
string -
-
-
    Choices: -
  • standard ←
  • -
  • fifo
  • -
-
-
Standard or FIFO queue.
-
queue_type can only be set at queue creation and will otherwise be ignored.
-
+ + +
    Choices: +
  • standard ←
  • +
  • fifo
  • +
+
+
Standard or FIFO queue.
+
queue_type can only be set at queue creation and will otherwise be ignored.
+
receive_message_wait_time_seconds
integer -
-
- -
The receive message wait time in seconds.
-

aliases: receive_message_wait_time
-
+ + + +
The receive message wait time in seconds.
+

aliases: receive_message_wait_time
+
redrive_policy
dictionary -
-
- -
JSON dict with the redrive_policy (see example).
-
+ + + +
JSON dict with the redrive_policy (see example).
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ + + +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ + + +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
state
string -
-
-
    Choices: -
  • present ←
  • -
  • absent
  • -
-
-
Create or delete the queue.
-
+ + +
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
Create or delete the queue.
+
tags
dictionary -
-
- -
Tag dict to apply to the queue (requires botocore 1.5.40 or above).
-
To remove all tags set tags={} and purge_tags=true.
-
+ + + +
Tag dict to apply to the queue (requires botocore 1.5.40 or above).
+
To remove all tags set tags={} and purge_tags=true.
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+ + +
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
visibility_timeout
integer -
-
- -
The default visibility timeout in seconds.
-

aliases: default_visibility_timeout
-
+ + + + + +
The default visibility timeout in seconds.
+

aliases: default_visibility_timeout
+ + +
@@ -446,7 +465,7 @@ Notes ----- .. note:: - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -457,7 +476,6 @@ Examples .. code-block:: yaml+jinja - - name: Create SQS queue with redrive policy community.aws.sqs_queue: name: my-queue @@ -507,7 +525,6 @@ Examples - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -520,224 +537,224 @@ Common return values are documented `here Returned Description - - + +
content_based_deduplication
boolean -
- + + always -
Enables content-based deduplication. Used for FIFOs only.
-
-
Sample:
-
True
- - - - +
Enables content-based deduplication. Used for FIFOs only.
+
+
Sample:
+
True
+ + + +
delay_seconds
integer -
- + + always -
The delivery delay in seconds.
-
- +
The delivery delay in seconds.
+
+ - - + +
kms_data_key_reuse_period_seconds
integer -
- + + always -
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
-
-
Sample:
-
300
- - - - +
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
+
+
Sample:
+
300
+ + + +
kms_master_key_id
string -
- + + always -
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
-
-
Sample:
-
alias/MyAlias
- - - - +
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
+
+
Sample:
+
alias/MyAlias
+ + + +
maximum_message_size
integer -
- + + always -
The maximum message size in bytes.
-
-
Sample:
-
262144
- - - - +
The maximum message size in bytes.
+
+
Sample:
+
262144
+ + + +
message_retention_period
integer -
- + + always -
The message retention period in seconds.
-
-
Sample:
-
345600
- - - - +
The message retention period in seconds.
+
+
Sample:
+
345600
+ + + +
name
string -
- + + always -
Name of the SQS Queue
-
-
Sample:
-
queuename-987d2de0
- - - - +
Name of the SQS Queue
+
+
Sample:
+
queuename-987d2de0
+ + + +
queue_arn
string -
- + + on success -
The queue's Amazon resource name (ARN).
-
-
Sample:
-
arn:aws:sqs:us-east-1:199999999999:queuename-987d2de0
- - - - +
The queue's Amazon resource name (ARN).
+
+
Sample:
+
arn:aws:sqs:us-east-1:199999999999:queuename-987d2de0
+ + + +
queue_url
string -
- + + on success -
URL to access the queue
-
-
Sample:
-
https://queue.amazonaws.com/123456789012/MyQueue
- - - - +
URL to access the queue
+
+
Sample:
+
https://queue.amazonaws.com/123456789012/MyQueue
+ + + +
receive_message_wait_time_seconds
integer -
- + + always -
The receive message wait time in seconds.
-
- +
The receive message wait time in seconds.
+
+ - - + +
region
string -
- + + always -
Region that the queue was created within
-
-
Sample:
-
us-east-1
- - - - +
Region that the queue was created within
+
+
Sample:
+
us-east-1
+ + + +
tags
dictionary -
- + + always -
List of queue tags
-
-
Sample:
-
{"Env": "prod"}
- - - - +
List of queue tags
+
+
Sample:
+
{"Env": "prod"}
+ + + +
visibility_timeout
integer -
- + + always -
The default visibility timeout in seconds.
-
-
Sample:
-
30
- +
The default visibility timeout in seconds.
+
+
Sample:
+
30
+ - +

@@ -752,5 +769,3 @@ Authors - Fernando Jose Pando (@nand0p) - Nadir Lloret (@nadirollo) - Dennis Podkovyrin (@sbj-ss) - - diff --git a/docs/community.aws.sts_assume_role_module.rst b/docs/community.aws.sts_assume_role_module.rst index f10e29cf764..ba469d142fa 100644 --- a/docs/community.aws.sts_assume_role_module.rst +++ b/docs/community.aws.sts_assume_role_module.rst @@ -37,268 +37,287 @@ Parameters .. raw:: html - + - + - - + - - + + + + - - + + + + + + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + / required + + + - - + - - + / required + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
duration_seconds
integer -
-
- -
The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 43200 seconds (12 hours).
-
The max depends on the IAM role's sessions duration setting.
-
By default, the value is set to 3600 seconds.
-
+ +
The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 43200 seconds (12 hours).
+
The max depends on the IAM role's sessions duration setting.
+
By default, the value is set to 3600 seconds.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
external_id
string -
-
- -
A unique identifier that is used by third parties to assume a role in their customers' accounts.
-
+ +
A unique identifier that is used by third parties to assume a role in their customers' accounts.
+
+
mfa_serial_number
string -
-
- -
The identification number of the MFA device that is associated with the user who is making the AssumeRole call.
-
+ +
The identification number of the MFA device that is associated with the user who is making the AssumeRole call.
+
+
mfa_token
string -
-
- -
The value provided by the MFA device, if the trust policy of the role being assumed requires MFA.
-
+ +
The value provided by the MFA device, if the trust policy of the role being assumed requires MFA.
+
+
policy
string -
-
- -
Supplemental policy to use in addition to assumed role's policies.
-
+ +
Supplemental policy to use in addition to assumed role's policies.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
role_arn
string - / required
-
- -
The Amazon Resource Name (ARN) of the role that the caller is assuming https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#Identifiers_ARNs.
-
+ +
The Amazon Resource Name (ARN) of the role that the caller is assuming https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#Identifiers_ARNs.
+
+
role_session_name
string - / required
-
- -
Name of the role's session - will be used by CloudTrail.
-
+ +
Name of the role's session - will be used by CloudTrail.
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -307,7 +326,7 @@ Notes .. note:: - In order to use the assumed role in a following playbook task you must pass the access_key, access_secret and access_token. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -318,7 +337,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # Assume an existing role (more details: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html) @@ -339,8 +357,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -353,56 +369,56 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
True if obtaining the credentials succeeds
-
- +
True if obtaining the credentials succeeds
+
+ - - + +
sts_creds
dictionary -
- + + always -
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token
-
-
Sample:
-
{'access_key': 'XXXXXXXXXXXXXXXXXXXX', 'expiration': '2017-11-11T11:11:11+00:00', 'secret_key': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'session_token': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}
- +
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token
+
+
Sample:
+
{'access_key': 'XXXXXXXXXXXXXXXXXXXX', 'expiration': '2017-11-11T11:11:11+00:00', 'secret_key': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'session_token': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}
+ - - + +
sts_user
dictionary -
- + + always -
The Amazon Resource Name (ARN) and the assumed role ID
-
-
Sample:
-
{'assumed_role_id': 'arn:aws:sts::123456789012:assumed-role/demo/Bob', 'arn': 'ARO123EXAMPLE123:Bob'}
- +
The Amazon Resource Name (ARN) and the assumed role ID
+
+
Sample:
+
{'assumed_role_id': 'arn:aws:sts::123456789012:assumed-role/demo/Bob', 'arn': 'ARO123EXAMPLE123:Bob'}
+ - +

@@ -415,5 +431,3 @@ Authors - Boris Ekelchik (@bekelchik) - Marek Piatek (@piontas) - - diff --git a/docs/community.aws.sts_session_token_module.rst b/docs/community.aws.sts_session_token_module.rst index 57ae9ee3893..c95a54565b9 100644 --- a/docs/community.aws.sts_session_token_module.rst +++ b/docs/community.aws.sts_session_token_module.rst @@ -37,206 +37,225 @@ Parameters .. raw:: html - + - + - - + - - + + + + + + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + - - + - - + + + + -
Parameter Choices/DefaultsCommentsComments
+
aws_access_key
string -
-
- -
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
-

aliases: ec2_access_key, access_key
-
+ +
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
+

aliases: ec2_access_key, access_key
+
+
+ aws_ca_bundle + +
+ path +
+
+ +
The location of a CA Bundle to use when validating SSL certificates.
+
Only used for boto3 based modules.
+
Note: The CA Bundle is read 'module' side and may need to be explicitly copied from the controller if not run locally.
+
+
aws_config
dictionary -
-
- -
A dictionary to modify the botocore configuration.
- -
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
-
+ +
A dictionary to modify the botocore configuration.
+ +
Only the 'user_agent' key is used for boto modules. See http://boto.cloudhackers.com/en/latest/boto_config_tut.html#boto for more boto configuration.
+
+
aws_secret_key
string -
-
- -
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
-

aliases: ec2_secret_key, secret_key
-
+ +
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
+

aliases: ec2_secret_key, secret_key
+
+
debug_botocore_endpoint_logs
boolean -
-
-
    Choices: -
  • no ←
  • -
  • yes
  • -
-
-
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
-
+
    Choices: +
  • no ←
  • +
  • yes
  • +
+
+
Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
+
+
duration_seconds
integer -
-
- -
The duration, in seconds, of the session token. See https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html#API_GetSessionToken_RequestParameters for acceptable and default values.
-
+ +
The duration, in seconds, of the session token. See https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html#API_GetSessionToken_RequestParameters for acceptable and default values.
+
+
ec2_url
string -
-
- -
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
-
+ +
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
+

aliases: aws_endpoint_url, endpoint_url
+
+
mfa_serial_number
string -
-
- -
The identification number of the MFA device that is associated with the user who is making the GetSessionToken call.
-
+ +
The identification number of the MFA device that is associated with the user who is making the GetSessionToken call.
+
+
mfa_token
string -
-
- -
The value provided by the MFA device, if the trust policy of the user requires MFA.
-
+ +
The value provided by the MFA device, if the trust policy of the user requires MFA.
+
+
profile
string -
-
- -
Uses a boto profile. Only works with boto >= 2.24.0.
-
+ +
Uses a boto profile. Only works with boto >= 2.24.0.
+

aliases: aws_profile
+
+
region
string -
-
- -
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
-

aliases: aws_region, ec2_region
-
+ +
The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used. See http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
+

aliases: aws_region, ec2_region
+
+
security_token
string -
-
- -
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
-

aliases: access_token
-
+ +
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
+

aliases: aws_security_token, access_token
+
+
validate_certs
boolean -
-
-
    Choices: -
  • no
  • -
  • yes ←
  • -
-
-
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
-
+
    Choices: +
  • no
  • +
  • yes ←
  • +
+
+
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
+
+
@@ -245,7 +264,7 @@ Notes .. note:: - In order to use the session token in a following playbook task you must pass the *access_key*, *access_secret* and *access_token*. - - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION`` + - If parameters are not set within the module, the following environment variables can be used in decreasing order of precedence ``AWS_URL`` or ``EC2_URL``, ``AWS_ACCESS_KEY_ID`` or ``AWS_ACCESS_KEY`` or ``EC2_ACCESS_KEY``, ``AWS_SECRET_ACCESS_KEY`` or ``AWS_SECRET_KEY`` or ``EC2_SECRET_KEY``, ``AWS_SECURITY_TOKEN`` or ``EC2_SECURITY_TOKEN``, ``AWS_REGION`` or ``EC2_REGION``, ``AWS_PROFILE`` or ``AWS_DEFAULT_PROFILE``, ``AWS_CA_BUNDLE`` - Ansible uses the boto configuration file (typically ~/.boto) if no credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html - ``AWS_REGION`` or ``EC2_REGION`` can be typically be used to specify the AWS region, when required, but this can also be configured in the boto config file @@ -256,7 +275,6 @@ Examples .. code-block:: yaml+jinja - # Note: These examples do not set authentication details, see the AWS Guide for details. # (more details: https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html) @@ -277,8 +295,6 @@ Examples - - Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: @@ -291,39 +307,39 @@ Common return values are documented `here Returned Description - - + +
changed
boolean -
- + + always -
True if obtaining the credentials succeeds
-
- +
True if obtaining the credentials succeeds
+
+ - - + +
sts_creds
list -
- + + always -
The Credentials object returned by the AWS Security Token Service
-
-
Sample:
-
{'access_key': 'ASXXXXXXXXXXXXXXXXXX', 'expiration': '2016-04-08T11:59:47+00:00', 'secret_key': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'session_token': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}
- +
The Credentials object returned by the AWS Security Token Service
+
+
Sample:
+
{'access_key': 'ASXXXXXXXXXXXXXXXXXX', 'expiration': '2016-04-08T11:59:47+00:00', 'secret_key': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'session_token': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}
+ - +

@@ -335,5 +351,3 @@ Authors ~~~~~~~ - Victor Costan (@pwnall) - - diff --git a/galaxy.yml b/galaxy.yml index b56d493151d..cf4fe742d7a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: community name: aws -version: 1.0.0 +version: 1.1.0 readme: README.md authors: - Ansible (https://github.com/ansible) @@ -8,7 +8,7 @@ description: null license_file: COPYING tags: [community, aws, cloud, amazon] dependencies: - amazon.aws: '>=0.1.0' + amazon.aws: '>=1.1.0' repository: https://github.com/ansible-collections/community.aws documentation: https://github.com/ansible-collections/community.aws/tree/main/docs homepage: https://github.com/ansible-collections/community.aws diff --git a/meta/runtime.yml b/meta/runtime.yml index 09a846da2e1..ab0ae7a969e 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,3 +1,5 @@ +--- +requires_ansible: '>=2.9.10' action_groups: aws: - ec2 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000000..5c4c76b86f0 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +boto>=2.49.0 +botocore>=1.12.249 +boto3>=1.9.249 diff --git a/tests/requirements.yml b/tests/requirements.yml index 8f7e0afd53c..5b38580e603 100644 --- a/tests/requirements.yml +++ b/tests/requirements.yml @@ -1,6 +1,7 @@ integration_tests_dependencies: +- amazon.aws >= 1.1.0 - ansible.windows - community.crypto - community.general unit_tests_dependencies: -- amazon.aws +- amazon.aws >= 1.1.0