From ee5d8df85f95f386bb35177687b79828c61a8b1f Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 29 Apr 2020 23:19:49 +0200 Subject: [PATCH] Fix more doc issues where strings are parsed as datetimes by YAML parser. (#55) --- elasticache_snapshot.py | 6 +++--- elb_classic_lb_info.py | 2 +- sts_assume_role.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/elasticache_snapshot.py b/elasticache_snapshot.py index d5f1d0204b1..7bea35dee8c 100644 --- a/elasticache_snapshot.py +++ b/elasticache_snapshot.py @@ -78,7 +78,7 @@ http_headers: content-length: 1490 content-type: text/xml - date: Tue, 07 Feb 2017 16:43:04 GMT + 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 @@ -89,7 +89,7 @@ type: dict sample: auto_minor_version_upgrade: true - cache_cluster_create_time: 2017-02-01T17:43:58.261000+00:00 + 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 @@ -97,7 +97,7 @@ engine: redis engine_version: 3.2.4 node_snapshots: - cache_node_create_time: 2017-02-01T17:43:58.261000+00:00 + cache_node_create_time: '2017-02-01T17:43:58.261000+00:00' cache_node_id: 0001 cache_size: num_cache_nodes: 1 diff --git a/elb_classic_lb_info.py b/elb_classic_lb_info.py index 42be1a2265f..8708aa95b32 100644 --- a/elb_classic_lb_info.py +++ b/elb_classic_lb_info.py @@ -104,7 +104,7 @@ 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 + 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 diff --git a/sts_assume_role.py b/sts_assume_role.py index 8283c49d862..7f86c34a475 100644 --- a/sts_assume_role.py +++ b/sts_assume_role.py @@ -73,7 +73,7 @@ type: dict sample: access_key: XXXXXXXXXXXXXXXXXXXX - expiration: 2017-11-11T11:11:11+00:00 + expiration: '2017-11-11T11:11:11+00:00' secret_key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX session_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX sts_user: