diff --git a/acm_certificate_info.py b/acm_certificate_info.py index 70f641e61df..f546bf2c1be 100644 --- a/acm_certificate_info.py +++ b/acm_certificate_info.py @@ -70,7 +70,7 @@ # The output is still a list of certificates, just one item long. - name: obtain information about a certificate with a particular ARN community.aws.aws_acm_info: - certificate_arn: "arn:aws:acm:ap-southeast-2:123456789876:certificate/abcdeabc-abcd-1234-4321-abcdeabcde12" + certificate_arn: "arn:aws:acm:ap-southeast-2:123456789012:certificate/abcdeabc-abcd-1234-4321-abcdeabcde12" ''' diff --git a/application_autoscaling_policy.py b/application_autoscaling_policy.py index 6a636e8a7cd..51f27ed580c 100644 --- a/application_autoscaling_policy.py +++ b/application_autoscaling_policy.py @@ -216,7 +216,7 @@ description: The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. Required if I(state) is C(present). returned: when state present type: str - sample: arn:aws:iam::123456789123:role/roleName + sample: arn:aws:iam::123456789012:role/roleName step_scaling_policy_configuration: description: The step scaling policy. returned: when state present and the policy type is StepScaling diff --git a/autoscaling_launch_config.py b/autoscaling_launch_config.py index d353afe3b9f..ea50eb7a57e 100644 --- a/autoscaling_launch_config.py +++ b/autoscaling_launch_config.py @@ -259,7 +259,7 @@ description: The Amazon Resource Name of the launch configuration. returned: when I(state=present) type: str - sample: arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name + sample: arn:aws:autoscaling:us-east-1:123456789012:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name changed: description: Whether the state of the launch configuration has changed. returned: always @@ -391,7 +391,7 @@ description: The Amazon Resource Name (ARN) of the launch configuration. returned: when I(state=present) type: str - sample: arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name + sample: arn:aws:autoscaling:us-east-1:123456789012:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name member: description: "" returned: when I(state=present) diff --git a/autoscaling_launch_config_info.py b/autoscaling_launch_config_info.py index 7a9cfae9ad1..1606201c999 100644 --- a/autoscaling_launch_config_info.py +++ b/autoscaling_launch_config_info.py @@ -126,7 +126,7 @@ description: Amazon Resource Name (ARN) of the launch configuration. type: str returned: always - sample: "arn:aws:autoscaling:us-east-1:666612345678:launchConfiguration:ba785e3a-dd42-6f02-4585-ea1a2b458b3d:launchConfigurationName/lc-app" + sample: "arn:aws:autoscaling:us-east-1:123456798012:launchConfiguration:ba785e3a-dd42-6f02-4585-ea1a2b458b3d:launchConfigurationName/lc-app" launch_configuration_name: description: Name of the launch configuration. type: str diff --git a/codecommit_repository.py b/codecommit_repository.py index 4eae0d90fb1..689a1c053d7 100644 --- a/codecommit_repository.py +++ b/codecommit_repository.py @@ -52,12 +52,12 @@ description: "The ID of the AWS account associated with the repository." returned: when state is present type: str - sample: "268342293637" + sample: "123456789012" arn: description: "The Amazon Resource Name (ARN) of the repository." returned: when state is present type: str - sample: "arn:aws:codecommit:ap-northeast-1:268342293637:username" + sample: "arn:aws:codecommit:ap-northeast-1:123456789012:username" clone_url_http: description: "The URL to use for cloning the repository over HTTPS." returned: when state is present diff --git a/directconnect_link_aggregation_group.py b/directconnect_link_aggregation_group.py index f340ef3fcfb..ab8a04a9d98 100644 --- a/directconnect_link_aggregation_group.py +++ b/directconnect_link_aggregation_group.py @@ -115,7 +115,7 @@ "connection_state": "down", "lag_id": "dxlag-fgnsp4rq", "location": "EqSe2", - "owner_account": "448830907657", + "owner_account": "123456789012", "region": "us-west-2" } ] diff --git a/dms_endpoint.py b/dms_endpoint.py index 6dcbcc8868c..bc2d6160af9 100644 --- a/dms_endpoint.py +++ b/dms_endpoint.py @@ -183,7 +183,7 @@ - The ARN that uniquely identifies the endpoint. type: str returned: success - example: "arn:aws:dms:us-east-1:012345678901:endpoint:1234556789ABCDEFGHIJKLMNOPQRSTUVWXYZ012" + example: "arn:aws:dms:us-east-1:123456789012:endpoint:1234556789ABCDEFGHIJKLMNOPQRSTUVWXYZ012" endpoint_identifier: description: - The database endpoint identifier. @@ -213,7 +213,7 @@ - An KMS key ID that is used to encrypt the connection parameters for the endpoint. type: str returned: success - example: "arn:aws:kms:us-east-1:012345678901:key/01234567-abcd-12ab-98fe-123456789abc" + example: "arn:aws:kms:us-east-1:123456789012:key/01234567-abcd-12ab-98fe-123456789abc" port: description: - The port used to access the endpoint. diff --git a/ec2_transit_gateway_info.py b/ec2_transit_gateway_info.py index 024aa5dcec9..8739815693b 100644 --- a/ec2_transit_gateway_info.py +++ b/ec2_transit_gateway_info.py @@ -136,7 +136,7 @@ description: The AWS account number ID which owns the transit gateway. returned: always type: str - sample: "1234567654323" + sample: "123456789012" state: description: The state of the transit gateway. returned: always @@ -153,7 +153,7 @@ description: The Amazon Resource Name (ARN) of the transit gateway. returned: always type: str - sample: "arn:aws:ec2:us-west-2:1234567654323:transit-gateway/tgw-02c42332e6b7da829" + sample: "arn:aws:ec2:us-west-2:123456789012:transit-gateway/tgw-02c42332e6b7da829" transit_gateway_id: description: The ID of the transit gateway. returned: always diff --git a/ec2_transit_gateway_vpc_attachment.py b/ec2_transit_gateway_vpc_attachment.py index 7f2fc2988ba..20178ed5f19 100644 --- a/ec2_transit_gateway_vpc_attachment.py +++ b/ec2_transit_gateway_vpc_attachment.py @@ -214,7 +214,7 @@ - The ID of the account that the VPC belongs to. type: str returned: success - example: '012345678901' + example: '123456789012' ''' diff --git a/ec2_transit_gateway_vpc_attachment_info.py b/ec2_transit_gateway_vpc_attachment_info.py index a0a07ce87d7..9e51ad19bda 100644 --- a/ec2_transit_gateway_vpc_attachment_info.py +++ b/ec2_transit_gateway_vpc_attachment_info.py @@ -142,7 +142,7 @@ - The ID of the account that the VPC belongs to. type: str returned: success - example: '012345678901' + example: '123456789012' ''' diff --git a/ec2_vpc_peer.py b/ec2_vpc_peer.py index 2034f234340..4abf9e990e9 100644 --- a/ec2_vpc_peer.py +++ b/ec2_vpc_peer.py @@ -109,7 +109,7 @@ region: ap-southeast-2 vpc_id: vpc-12345678 peer_vpc_id: vpc-12345678 - peer_owner_id: 123456789102 + peer_owner_id: 123456789012 state: present tags: Name: Peering connection for VPC 21 to VPC 22 @@ -171,7 +171,7 @@ region: ap-southeast-2 vpc_id: vpc-12345678 peer_vpc_id: vpc-12345678 - peer_owner_id: 123456789102 + peer_owner_id: 123456789012 state: present tags: Name: Peering connection for VPC 21 to VPC 22 @@ -196,7 +196,7 @@ region: ap-southeast-2 vpc_id: vpc-12345678 peer_vpc_id: vpc-12345678 - peer_owner_id: 123456789102 + peer_owner_id: 123456789012 state: present tags: Name: Peering connection for VPC 21 to VPC 22 @@ -247,7 +247,7 @@ description: The AWS account that owns the VPC. returned: success type: str - example: 012345678901 + example: 123456789012 peering_options: description: Additional peering configuration. returned: when connection is in the accepted state. @@ -299,7 +299,7 @@ description: The AWS account that owns the VPC. returned: success type: str - example: 012345678901 + example: 123456789012 peering_options: description: Additional peering configuration. returned: when connection is not in the deleted state. @@ -341,7 +341,7 @@ description: Additional information about the status of the connection. returned: success type: str - example: Pending Acceptance by 012345678901 + example: Pending Acceptance by 123456789012 tags: description: Tags applied to the connection. returned: success diff --git a/ec2_vpc_peering_info.py b/ec2_vpc_peering_info.py index e7d8264c8d5..cdb8f8ca8b0 100644 --- a/ec2_vpc_peering_info.py +++ b/ec2_vpc_peering_info.py @@ -88,7 +88,7 @@ description: The AWS account that owns the VPC. returned: success type: str - example: 012345678901 + example: 123456789012 peering_options: description: Additional peering configuration. returned: when connection is in the accepted state. @@ -140,7 +140,7 @@ description: The AWS account that owns the VPC. returned: success type: str - example: 012345678901 + example: 123456789012 peering_options: description: Additional peering configuration. returned: when connection is not in the deleted state. @@ -182,7 +182,7 @@ description: Additional information about the status of the connection. returned: success type: str - example: Pending Acceptance by 012345678901 + example: Pending Acceptance by 123456789012 tags: description: Tags applied to the connection. returned: success diff --git a/ec2_vpc_vpn_info.py b/ec2_vpc_vpn_info.py index 57ebb17e852..b1d2bbee43e 100644 --- a/ec2_vpc_vpn_info.py +++ b/ec2_vpc_vpn_info.py @@ -144,7 +144,7 @@ description: The Amazon Resource Name of the virtual private gateway tunnel endpoint certificate. returned: when a private certificate is used for authentication type: str - sample: "arn:aws:acm:us-east-1:123456789101:certificate/c544d8ce-20b8-4fff-98b0-example" + sample: "arn:aws:acm:us-east-1:123456789012:certificate/c544d8ce-20b8-4fff-98b0-example" vpn_connection_id: description: The ID of the VPN connection. returned: always diff --git a/ecs_cluster.py b/ecs_cluster.py index 3074e8914f2..c186c0da5c5 100644 --- a/ecs_cluster.py +++ b/ecs_cluster.py @@ -78,12 +78,12 @@ description: the ARN of the cluster just created type: str returned: 0 if a new cluster - sample: arn:aws:ecs:us-west-2:172139249013:cluster/test-cluster-mfshcdok + sample: arn:aws:ecs:us-west-2:123456789012:cluster/test-cluster clusterName: description: name of the cluster just created (should match the input argument) type: str returned: always - sample: test-cluster-mfshcdok + sample: test-cluster pendingTasksCount: description: how many tasks are waiting to run in this cluster returned: 0 if a new cluster diff --git a/ecs_ecr.py b/ecs_ecr.py index a7194659974..d2947753f38 100644 --- a/ecs_ecr.py +++ b/ecs_ecr.py @@ -107,7 +107,7 @@ - name: Cross account ecr-repo community.aws.ecs_ecr: - registry_id: 999999999999 + registry_id: 123456789012 name: cross/account - name: set-policy as object @@ -186,10 +186,10 @@ returned: I(state=present) sample: createdAt: '2017-01-17T08:41:32-06:00' - registryId: '999999999999' - repositoryArn: arn:aws:ecr:us-east-1:999999999999:repository/ecr-test-1484664090 + registryId: '123456789012' + repositoryArn: arn:aws:ecr:us-east-1:123456789012:repository/ecr-test-1484664090 repositoryName: ecr-test-1484664090 - repositoryUri: 999999999999.dkr.ecr.us-east-1.amazonaws.com/ecr-test-1484664090 + repositoryUri: 123456789012.dkr.ecr.us-east-1.amazonaws.com/ecr-test-1484664090 ''' import json diff --git a/ecs_service.py b/ecs_service.py index f355fa32bed..e04f296060d 100644 --- a/ecs_service.py +++ b/ecs_service.py @@ -411,9 +411,10 @@ returned: always type: int serviceArn: - description: 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 . + description: + - The Amazon Resource Name (ARN) that identifies the service. The ARN contains the C(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. + sample: 'arn:aws:ecs:us-east-1:123456789012:service/my-service' returned: always type: str serviceName: @@ -547,9 +548,10 @@ returned: always type: int serviceArn: - description: 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 . + description: + - 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. + sample: 'arn:aws:ecs:us-east-1:123456789012:service/my-service' returned: always type: str serviceName: diff --git a/ecs_service_info.py b/ecs_service_info.py index b04f94241f5..49c2676c7e1 100644 --- a/ecs_service_info.py +++ b/ecs_service_info.py @@ -103,7 +103,10 @@ returned: always type: int serviceArn: - description: 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 . + description: + - 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. + sample: 'arn:aws:ecs:us-east-1:123456789012:service/my-service' returned: always type: str serviceName: diff --git a/ecs_task.py b/ecs_task.py index 9da2dcbf45e..bdc5cc98718 100644 --- a/ecs_task.py +++ b/ecs_task.py @@ -122,14 +122,14 @@ operation: start cluster: console-sample-app-static-cluster task_definition: console-sample-app-static-taskdef - task: "arn:aws:ecs:us-west-2:172139249013:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" + task: "arn:aws:ecs:us-west-2:123456789012:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" tags: resourceName: a_task_for_ansible_to_run type: long_running_task network: internal version: 1.4 container_instances: - - arn:aws:ecs:us-west-2:172139249013:container-instance/79c23f22-876c-438a-bddf-55c98a3538a8 + - arn:aws:ecs:us-west-2:123456789012:container-instance/79c23f22-876c-438a-bddf-55c98a3538a8 started_by: ansible_user network_configuration: subnets: @@ -144,7 +144,7 @@ operation: run cluster: console-sample-app-static-cluster task_definition: console-sample-app-static-taskdef - task: "arn:aws:ecs:us-west-2:172139249013:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" + task: "arn:aws:ecs:us-west-2:123456789012:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" started_by: ansible_user launch_type: FARGATE network_configuration: @@ -161,7 +161,7 @@ count: 2 cluster: console-sample-app-static-cluster task_definition: console-sample-app-static-taskdef - task: "arn:aws:ecs:us-west-2:172139249013:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" + task: "arn:aws:ecs:us-west-2:123456789012:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" started_by: ansible_user launch_type: FARGATE network_configuration: @@ -175,7 +175,7 @@ operation: stop cluster: console-sample-app-static-cluster task_definition: console-sample-app-static-taskdef - task: "arn:aws:ecs:us-west-2:172139249013:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" + task: "arn:aws:ecs:us-west-2:123456789012:task/3f8353d1-29a8-4689-bbf6-ad79937ffe8a" ''' RETURN = r''' task: diff --git a/efs.py b/efs.py index a78f832d971..68ebe46d395 100644 --- a/efs.py +++ b/efs.py @@ -196,7 +196,7 @@ "life_cycle_state": "available", "mount_target_id": "fsmt-d8907871", "network_interface_id": "eni-6e387e26", - "owner_id": "740748460359", + "owner_id": "123456789012", "security_groups": [ "sg-a30b22c6" ], diff --git a/efs_info.py b/efs_info.py index 8f616d15dda..a44f402ac64 100644 --- a/efs_info.py +++ b/efs_info.py @@ -108,7 +108,7 @@ "life_cycle_state": "available", "mount_target_id": "fsmt-d8907871", "network_interface_id": "eni-6e387e26", - "owner_id": "740748460359", + "owner_id": "123456789012", "security_groups": [ "sg-a30b22c6" ], diff --git a/eks_cluster.py b/eks_cluster.py index abdaee4ff95..f71e1514a87 100644 --- a/eks_cluster.py +++ b/eks_cluster.py @@ -89,7 +89,7 @@ description: ARN of the EKS cluster returned: when state is present type: str - sample: arn:aws:eks:us-west-2:111111111111:cluster/my-eks-cluster + sample: arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster certificate_authority: description: Dictionary containing Certificate Authority Data for cluster returned: after creation @@ -143,7 +143,7 @@ description: ARN of the IAM role used by the cluster returned: when state is present type: str - sample: arn:aws:iam::111111111111:role/eks_cluster_role + sample: arn:aws:iam::123456789012:role/eks_cluster_role status: description: status of the EKS cluster returned: when state is present diff --git a/elasticache_subnet_group.py b/elasticache_subnet_group.py index eda678205d0..6816cc364d3 100644 --- a/elasticache_subnet_group.py +++ b/elasticache_subnet_group.py @@ -70,7 +70,7 @@ description: The Amazon Resource Name (ARN) of the cache subnet group. returned: when the subnet group exists type: str - sample: arn:aws:elasticache:us-east-1:012345678901:subnetgroup:norwegian-blue + sample: arn:aws:elasticache:us-east-1:123456789012:subnetgroup:norwegian-blue description: description: The description of the cache subnet group. returned: when the cache subnet group exists diff --git a/elb_network_lb.py b/elb_network_lb.py index 3b5277d071d..a65c42a2c4c 100644 --- a/elb_network_lb.py +++ b/elb_network_lb.py @@ -289,7 +289,7 @@ description: The Amazon Resource Name (ARN) of the load balancer. returned: when state is present type: str - sample: arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455 + sample: arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:loadbalancer/app/my-elb/001122334455 load_balancer_name: description: The name of the load balancer. returned: when state is present diff --git a/elb_target_group.py b/elb_target_group.py index cd750be188b..c11f622226f 100644 --- a/elb_target_group.py +++ b/elb_target_group.py @@ -403,7 +403,7 @@ description: The Amazon Resource Name (ARN) of the target group. returned: when state present type: str - sample: "arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211" + sample: "arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/mytargetgroup/aabbccddee0044332211" target_group_name: description: The name of the target group. returned: when state present diff --git a/elb_target_group_info.py b/elb_target_group_info.py index 5fd8a9b6c39..bb27bc30ec4 100644 --- a/elb_target_group_info.py +++ b/elb_target_group_info.py @@ -53,7 +53,7 @@ - name: Gather information about the target group attached to a particular ELB community.aws.elb_target_group_info: - load_balancer_arn: "arn:aws:elasticloadbalancing:ap-southeast-2:001122334455:loadbalancer/app/my-elb/aabbccddeeff" + load_balancer_arn: "arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:loadbalancer/app/my-elb/aabbccddeeff" - name: Gather information about a target groups named 'tg1' and 'tg2' community.aws.elb_target_group_info: @@ -152,7 +152,7 @@ description: The Amazon Resource Name (ARN) of the target group. returned: always type: str - sample: "arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211" + sample: "arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:targetgroup/mytargetgroup/aabbccddee0044332211" targets_health_description: description: Targets health description. returned: when collect_targets_health is enabled diff --git a/elb_target_info.py b/elb_target_info.py index dc71adbc72f..ad2f0702879 100644 --- a/elb_target_info.py +++ b/elb_target_info.py @@ -137,7 +137,7 @@ type: str returned: always sample: - - "arn:aws:elasticloadbalancing:eu-west-1:111111111111:targetgroup/target-group/deadbeefdeadbeef" + - "arn:aws:elasticloadbalancing:eu-west-1:123456789012:targetgroup/target-group/deadbeefdeadbeef" target_group_type: description: Which target type is used for this group returned: always diff --git a/iam_group.py b/iam_group.py index 5f85c4bfc8c..759be42a74d 100644 --- a/iam_group.py +++ b/iam_group.py @@ -140,7 +140,7 @@ group_id: description: the stable and unique string identifying the group type: str - sample: AGPAIDBWE12NSFINE55TM + sample: AGPA12345EXAMPLE54321 group_name: description: the friendly name that identifies the group type: str @@ -165,7 +165,7 @@ user_id: description: the stable and unique string identifying the user type: str - sample: AIDAIZTPY123YQRS22YU2 + sample: AIDA12345EXAMPLE54321 user_name: description: the friendly name that identifies the user type: str diff --git a/iam_managed_policy.py b/iam_managed_policy.py index 3e30c4a667c..4b3dbfebda4 100644 --- a/iam_managed_policy.py +++ b/iam_managed_policy.py @@ -116,7 +116,7 @@ "default_version_id": "v1", "is_attachable": true, "path": "/", - "policy_id": "ANPALM4KLDMTFXGOOJIHL", + "policy_id": "ANPA1245EXAMPLE54321", "policy_name": "AdministratorAccess", "update_date": "2017-03-01T15:42:55.981000+00:00" }' diff --git a/iam_mfa_device_info.py b/iam_mfa_device_info.py index 4cd27875273..a2801ca9482 100644 --- a/iam_mfa_device_info.py +++ b/iam_mfa_device_info.py @@ -31,11 +31,11 @@ type: list sample: - enable_date: "2016-03-11T23:25:36+00:00" - serial_number: arn:aws:iam::085120003701:mfa/pwnall - user_name: pwnall + serial_number: arn:aws:iam::123456789012:mfa/example + user_name: example - enable_date: "2016-03-11T23:25:37+00:00" - serial_number: arn:aws:iam::085120003702:mfa/pwnall - user_name: pwnall + serial_number: arn:aws:iam::123456789012:mfa/example + user_name: example """ EXAMPLES = r''' diff --git a/iam_server_certificate_info.py b/iam_server_certificate_info.py index 1356a5ec15e..cbe2ab5459c 100644 --- a/iam_server_certificate_info.py +++ b/iam_server_certificate_info.py @@ -58,7 +58,7 @@ description: The Amazon resource name of the server certificate returned: success type: str - sample: "arn:aws:iam::911277865346:server-certificate/server-cert-name" + sample: "arn:aws:iam::123456789012:server-certificate/server-cert-name" path: description: The path of the server certificate returned: success @@ -106,7 +106,7 @@ def get_server_certs(iam, name=None): "server_certificate_name": "server-cert-name", "expiration": "2017-06-15T12:00:00+00:00", "path": "/", - "arn": "arn:aws:iam::911277865346:server-certificate/server-cert-name" + "arn": "arn:aws:iam::123456789012:server-certificate/server-cert-name" } """ results = dict() diff --git a/lightsail.py b/lightsail.py index 75796774580..40e058219ce 100644 --- a/lightsail.py +++ b/lightsail.py @@ -107,7 +107,7 @@ returned: always type: dict sample: - arn: "arn:aws:lightsail:us-east-1:448830907657:Instance/1fef0175-d6c8-480e-84fa-214f969cda87" + arn: "arn:aws:lightsail:us-east-1:123456789012:Instance/1fef0175-d6c8-480e-84fa-214f969cda87" blueprint_id: "ubuntu_16_04" blueprint_name: "Ubuntu" bundle_id: "nano_1_0" @@ -145,7 +145,7 @@ state: code: 16 name: running - support_code: "588307843083/i-0997c97831ee21e33" + support_code: "123456789012/i-0997c97831ee21e33" username: "ubuntu" ''' diff --git a/lightsail_static_ip.py b/lightsail_static_ip.py index 7f5d5377c0a..4f3463652b4 100644 --- a/lightsail_static_ip.py +++ b/lightsail_static_ip.py @@ -53,7 +53,7 @@ returned: always type: dict sample: - arn: "arn:aws:lightsail:ap-southeast-2:184297340509:StaticIp/d8f47672-c261-4443-a484-4a2ec983db9a" + arn: "arn:aws:lightsail:ap-southeast-2:123456789012:StaticIp/d8f47672-c261-4443-a484-4a2ec983db9a" created_at: "2021-02-28T00:04:05.202000+10:30" ip_address: "192.0.2.5" is_attached: false @@ -62,7 +62,7 @@ region_name: ap-southeast-2 name: "static_ip" resource_type: StaticIp - support_code: "677585553206/192.0.2.5" + support_code: "123456789012/192.0.2.5" ''' try: diff --git a/msk_cluster.py b/msk_cluster.py index 8a1774b25ef..1dccf4558f3 100644 --- a/msk_cluster.py +++ b/msk_cluster.py @@ -225,7 +225,7 @@ - subnet-d9fbeaf46c54bfab6 wait: true wait_timeout: 1800 - configuration_arn: arn:aws:kafka:us-east-1:000000000001:configuration/kafka-cluster-configuration/aaaaaaaa-bbbb-4444-3333-ccccccccc-1 + configuration_arn: arn:aws:kafka:us-east-1:123456789012:configuration/kafka-cluster-configuration/aaaaaaaa-bbbb-4444-3333-ccccccccc-1 configuration_revision: 1 - community.aws.msk_cluster: diff --git a/s3_bucket_notification.py b/s3_bucket_notification.py index ee876405b20..21b598d3bd9 100644 --- a/s3_bucket_notification.py +++ b/s3_bucket_notification.py @@ -112,7 +112,7 @@ state: present event_name: on_file_add_or_remove bucket_name: test-bucket - lambda_function_arn: arn:aws:lambda:us-east-2:526810320200:function:test-lambda + lambda_function_arn: arn:aws:lambda:us-east-2:123456789012:function:test-lambda events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"] prefix: images/ suffix: .jpg @@ -122,7 +122,7 @@ state: present event_name: on_file_add_or_remove bucket_name: test-bucket - queue_arn: arn:aws:sqs:us-east-2:526810320200:test-queue + queue_arn: arn:aws:sqs:us-east-2:123456789012:test-queue events: ["s3:ObjectCreated:*", "s3:ObjectRemoved:*"] prefix: images/ suffix: .jpg diff --git a/sns_topic.py b/sns_topic.py index 59ace8b051d..e569397e88c 100644 --- a/sns_topic.py +++ b/sns_topic.py @@ -210,7 +210,7 @@ description: The ARN of the topic you are modifying type: str returned: always - sample: "arn:aws:sns:us-east-2:111111111111:my_topic_name" + sample: "arn:aws:sns:us-east-2:123456789012:my_topic_name" sns_topic: description: Dict of sns topic details type: complex @@ -247,14 +247,14 @@ description: AWS account that owns the topic returned: when topic is owned by this AWS account type: str - sample: '111111111111' + sample: '123456789012' policy: description: Policy for the SNS topic returned: when topic is owned by this AWS account type: str 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"}}}]} + {"Version":"2012-10-17","Id":"SomePolicyId","Statement":[{"Sid":"ANewSid","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"}, + "Action":"sns:Subscribe","Resource":"arn:aws:sns:us-east-2:123456789012:ansible-test-dummy-topic","Condition":{"StringEquals":{"sns:Protocol":"email"}}}]} state: description: whether the topic is present or absent returned: always @@ -304,7 +304,7 @@ description: ARN of the SNS topic (equivalent to sns_arn) returned: when topic is owned by this AWS account type: str - sample: arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic + sample: arn:aws:sns:us-east-2:123456789012:ansible-test-dummy-topic topic_created: description: Whether the topic was created returned: always diff --git a/sns_topic_info.py b/sns_topic_info.py index 380d712820b..8d5a3d01532 100644 --- a/sns_topic_info.py +++ b/sns_topic_info.py @@ -47,7 +47,7 @@ description: The ARN of the topic. type: str returned: always - sample: "arn:aws:sns:us-east-2:111111111111:my_topic_name" + sample: "arn:aws:sns:us-east-2:123456789012:my_topic_name" sns_topic: description: Dict of sns topic details. type: complex @@ -69,14 +69,14 @@ description: AWS account that owns the topic. returned: when topic is owned by this AWS account type: str - sample: '111111111111' + sample: '123456789012' policy: description: Policy for the SNS topic. returned: when topic is owned by this AWS account type: str 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"}}}]} + {"Version":"2012-10-17","Id":"SomePolicyId","Statement":[{"Sid":"ANewSid","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"}, + "Action":"sns:Subscribe","Resource":"arn:aws:sns:us-east-2:123456789012:ansible-test-dummy-topic","Condition":{"StringEquals":{"sns:Protocol":"email"}}}]} subscriptions: description: List of subscribers to the topic in this AWS account. returned: always @@ -121,7 +121,7 @@ description: ARN of the SNS topic (equivalent to sns_arn). returned: when topic is owned by this AWS account type: str - sample: arn:aws:sns:us-east-2:111111111111:ansible-test-dummy-topic + sample: arn:aws:sns:us-east-2:123456789012:ansible-test-dummy-topic topic_type: description: The type of topic. type: str diff --git a/sqs_queue.py b/sqs_queue.py index d4b159bbab9..3e8931265ab 100644 --- a/sqs_queue.py +++ b/sqs_queue.py @@ -138,7 +138,7 @@ description: The queue's Amazon resource name (ARN). type: str returned: on success - sample: 'arn:aws:sqs:us-east-1:199999999999:queuename-987d2de0' + sample: 'arn:aws:sqs:us-east-1:123456789012:queuename-987d2de0' queue_url: description: URL to access the queue type: str diff --git a/stepfunctions_state_machine.py b/stepfunctions_state_machine.py index 227ec6f86c3..80e617b3e1c 100644 --- a/stepfunctions_state_machine.py +++ b/stepfunctions_state_machine.py @@ -58,7 +58,7 @@ community.aws.stepfunctions_state_machine: name: "HelloWorldStateMachine" definition: "{{ lookup('file','state_machine.json') }}" - role_arn: arn:aws:iam::987654321012:role/service-role/invokeLambdaStepFunctionsRole + role_arn: arn:aws:iam::123456789012:role/service-role/invokeLambdaStepFunctionsRole tags: project: helloWorld @@ -67,7 +67,7 @@ community.aws.stepfunctions_state_machine: name: HelloWorldStateMachine definition: "{{ lookup('file','state_machine.json') }}" - role_arn: arn:aws:iam::987654321012:role/service-role/anotherStepFunctionsRole + role_arn: arn:aws:iam::123456789012:role/service-role/anotherStepFunctionsRole tags: otherTag: aDifferentTag diff --git a/stepfunctions_state_machine_execution.py b/stepfunctions_state_machine_execution.py index 23c47af1d27..fbd2c7b164e 100644 --- a/stepfunctions_state_machine_execution.py +++ b/stepfunctions_state_machine_execution.py @@ -60,12 +60,12 @@ community.aws.stepfunctions_state_machine_execution: name: an_execution_name execution_input: '{ "IsHelloWorldExample": true }' - state_machine_arn: "arn:aws:states:us-west-2:682285639423:stateMachine:HelloWorldStateMachine" + state_machine_arn: "arn:aws:states:us-west-2:123456789012:stateMachine:HelloWorldStateMachine" - name: Stop an execution of a state machine community.aws.stepfunctions_state_machine_execution: action: stop - execution_arn: "arn:aws:states:us-west-2:682285639423:execution:HelloWorldStateMachineCopy:a1e8e2b5-5dfe-d40e-d9e3-6201061047c8" + execution_arn: "arn:aws:states:us-west-2:123456789012:execution:HelloWorldStateMachineCopy:a1e8e2b5-5dfe-d40e-d9e3-6201061047c8" cause: "cause of task failure" error: "error code of the failure" ''' @@ -75,7 +75,7 @@ description: ARN of the AWS Step Functions state machine execution. type: str returned: if action == start and changed == True - sample: "arn:aws:states:us-west-2:682285639423:execution:HelloWorldStateMachineCopy:a1e8e2b5-5dfe-d40e-d9e3-6201061047c8" + sample: "arn:aws:states:us-west-2:123456789012:execution:HelloWorldStateMachineCopy:a1e8e2b5-5dfe-d40e-d9e3-6201061047c8" start_date: description: The date the execution is started. type: str diff --git a/storagegateway_info.py b/storagegateway_info.py index 9209dc401b4..87825711e1f 100644 --- a/storagegateway_info.py +++ b/storagegateway_info.py @@ -59,7 +59,7 @@ description: "Storage Gateway ARN" returned: always type: str - sample: "arn:aws:storagegateway:eu-west-1:367709993819:gateway/sgw-9999F888" + sample: "arn:aws:storagegateway:eu-west-1:123456789012:gateway/sgw-9999F888" gateway_id: description: "Storage Gateway ID" returned: always @@ -89,7 +89,7 @@ description: "File share ARN" returned: always type: str - sample: "arn:aws:storagegateway:eu-west-1:399805793479:share/share-AF999C88" + sample: "arn:aws:storagegateway:eu-west-1:123456789012:share/share-AF999C88" file_share_id: description: "File share ID" returned: always @@ -109,7 +109,7 @@ description: "Tape ARN" returned: always type: str - sample: "arn:aws:storagegateway:eu-west-1:399805793479:tape/tape-AF999C88" + sample: "arn:aws:storagegateway:eu-west-1:123456789012:tape/tape-AF999C88" tape_barcode: description: "Tape ARN" returned: always diff --git a/wafv2_web_acl.py b/wafv2_web_acl.py index df4a01b5034..518234bbf5d 100644 --- a/wafv2_web_acl.py +++ b/wafv2_web_acl.py @@ -221,7 +221,7 @@ allow: {} statement: ip_set_reference_statement: - arn: 'arn:aws:wafv2:us-east-1:520789123123:regional/ipset/own-public-ips/1c4bdfc4-0f77-3b23-5222-123123123' + arn: 'arn:aws:wafv2:us-east-1:123456789012:regional/ipset/own-public-ips/1c4bdfc4-0f77-3b23-5222-123123123' visibility_config: sampled_requests_enabled: true cloud_watch_metrics_enabled: true @@ -254,7 +254,7 @@ RETURN = """ arn: description: web acl arn - sample: arn:aws:wafv2:eu-central-1:11111111:regional/webacl/test05/318c1ab9-fa74-4b3b-a974-f92e25106f61 + sample: arn:aws:wafv2:eu-central-1:123456789012:regional/webacl/test05/318c1ab9-fa74-4b3b-a974-f92e25106f61 type: str returned: Always, as long as the web acl exists description: