miasma 0.2.16 → 0.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/miasma/models/storage.rb +2 -2
  4. data/lib/miasma/types/api.rb +32 -25
  5. data/lib/miasma/version.rb +1 -1
  6. data/miasma.gemspec +1 -1
  7. data/test/spec.rb +20 -0
  8. data/test/specs/cassettes/aws_buckets_all.yml +45 -0
  9. data/test/specs/cassettes/aws_load_balancer_balancer_after_destroy.yml +85 -0
  10. data/test/specs/cassettes/aws_load_balancer_balancer_before_create.yml +271 -0
  11. data/test/specs/cassettes/aws_load_balancer_balancer_direct_fetch.yml +89 -0
  12. data/test/specs/cassettes/aws_load_balancer_balancers_all.yml +45 -0
  13. data/test/specs/cassettes/aws_server_after_destroy.yml +155 -0
  14. data/test/specs/cassettes/aws_server_before_create.yml +470 -0
  15. data/test/specs/cassettes/aws_servers_all.yml +44 -0
  16. data/test/specs/cassettes/aws_servers_create.yml +824 -0
  17. data/test/specs/cassettes/aws_stack_create.yml +603 -0
  18. data/test/specs/cassettes/aws_stacks_after_destroy.yml +148 -0
  19. data/test/specs/cassettes/aws_stacks_all.yml +99 -0
  20. data/test/specs/cassettes/aws_stacks_before_create.yml +300 -0
  21. data/test/specs/cassettes/aws_stacks_direct_fetch.yml +108 -0
  22. data/test/specs/cassettes/aws_storage_bucket.yml +429 -0
  23. data/test/specs/cassettes/open_stack_server_after_destroy.yml +83 -0
  24. data/test/specs/cassettes/open_stack_server_before_create.yml +138 -0
  25. data/test/specs/cassettes/open_stack_servers_all.yml +34 -0
  26. data/test/specs/cassettes/open_stack_servers_create.yml +296 -0
  27. data/test/specs/cassettes/open_stack_stack_create.yml +338 -0
  28. data/test/specs/cassettes/open_stack_stacks_after_destroy.yml +73 -0
  29. data/test/specs/cassettes/open_stack_stacks_all.yml +34 -0
  30. data/test/specs/cassettes/open_stack_stacks_before_create.yml +227 -0
  31. data/test/specs/cassettes/open_stack_stacks_direct_fetch.yml +39 -0
  32. data/test/specs/cassettes/rackspace_identity_seed.yml +38 -0
  33. data/test/specs/cassettes/rackspace_server_after_destroy.yml +88 -0
  34. data/test/specs/cassettes/rackspace_server_before_create.yml +143 -0
  35. data/test/specs/cassettes/rackspace_servers_create.yml +313 -0
  36. data/test/specs/cassettes/rackspace_stack_create.yml +289 -0
  37. data/test/specs/cassettes/rackspace_stacks_after_destroy.yml +79 -0
  38. data/test/specs/cassettes/rackspace_stacks_all.yml +81 -0
  39. data/test/specs/cassettes/rackspace_stacks_before_create.yml +211 -0
  40. data/test/specs/cassettes/rackspace_stacks_direct_fetch.yml +38 -0
  41. data/test/specs/miasma_spec.rb +33 -0
  42. data/test/specs/models/compute_abstract.rb +118 -0
  43. data/test/specs/models/load_balancer_abstract.rb +88 -0
  44. data/test/specs/models/orchestration_abstract.rb +123 -0
  45. data/test/specs/models/storage_abstract.rb +120 -0
  46. data/test/specs/utils/animal_strings_spec.rb +15 -0
  47. data/test/specs/utils/memoization_spec.rb +83 -0
  48. data/test/specs/utils/smash_spec.rb +107 -0
  49. metadata +44 -2
@@ -0,0 +1,148 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=DeleteStack&StackName=arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6&Version=2010-05-15
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - miasma/v0.1.0
12
+ Host:
13
+ - cloudformation.us-west-1.amazonaws.com
14
+ X-Amz-Date:
15
+ - 20141115T181733Z
16
+ Authorization:
17
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
18
+ SignedHeaders=host;user-agent;x-amz-date, Signature=96136a31c7704dd98bec9de0c630e0ba48d49981b8b43c1dbe5669ef41c833cc
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ X-Amzn-Requestid:
25
+ - b5257158-6cf3-11e4-b7ef-e9f5e53a77cf
26
+ Content-Type:
27
+ - text/xml
28
+ Content-Length:
29
+ - '212'
30
+ Date:
31
+ - Sat, 15 Nov 2014 18:17:50 GMT
32
+ body:
33
+ encoding: UTF-8
34
+ string: |
35
+ <DeleteStackResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
36
+ <ResponseMetadata>
37
+ <RequestId>b5257158-6cf3-11e4-b7ef-e9f5e53a77cf</RequestId>
38
+ </ResponseMetadata>
39
+ </DeleteStackResponse>
40
+ http_version:
41
+ recorded_at: Sat, 15 Nov 2014 18:17:36 GMT
42
+ - request:
43
+ method: get
44
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=DescribeStacks&StackName=arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6&Version=2010-05-15
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ User-Agent:
50
+ - miasma/v0.1.0
51
+ Host:
52
+ - cloudformation.us-west-1.amazonaws.com
53
+ X-Amz-Date:
54
+ - 20141115T181736Z
55
+ Authorization:
56
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
57
+ SignedHeaders=host;user-agent;x-amz-date, Signature=f77107455272723a6ef8698e6ccb1ac7e3047866f504a7619f521955883833e5
58
+ response:
59
+ status:
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ X-Amzn-Requestid:
64
+ - b768d1bb-6cf3-11e4-a4ab-af8750751d5b
65
+ Content-Type:
66
+ - text/xml
67
+ Content-Length:
68
+ - '834'
69
+ Date:
70
+ - Sat, 15 Nov 2014 18:17:54 GMT
71
+ body:
72
+ encoding: UTF-8
73
+ string: |
74
+ <DescribeStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
75
+ <DescribeStacksResult>
76
+ <Stacks>
77
+ <member>
78
+ <Tags/>
79
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
80
+ <StackStatus>DELETE_IN_PROGRESS</StackStatus>
81
+ <StackName>miasma-test-stack</StackName>
82
+ <StackStatusReason>User Initiated</StackStatusReason>
83
+ <Description>Miasma test stack</Description>
84
+ <NotificationARNs/>
85
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
86
+ <DisableRollback>false</DisableRollback>
87
+ </member>
88
+ </Stacks>
89
+ </DescribeStacksResult>
90
+ <ResponseMetadata>
91
+ <RequestId>b768d1bb-6cf3-11e4-a4ab-af8750751d5b</RequestId>
92
+ </ResponseMetadata>
93
+ </DescribeStacksResponse>
94
+ http_version:
95
+ recorded_at: Sat, 15 Nov 2014 18:17:40 GMT
96
+ - request:
97
+ method: get
98
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=ListStacks&StackStatusFilter.member.1=CREATE_COMPLETE&StackStatusFilter.member.10=UPDATE_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.11=UPDATE_IN_PROGRESS&StackStatusFilter.member.12=UPDATE_ROLLBACK_COMPLETE&StackStatusFilter.member.13=UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.14=UPDATE_ROLLBACK_FAILED&StackStatusFilter.member.15=UPDATE_ROLLBACK_IN_PROGRESS&StackStatusFilter.member.2=CREATE_FAILED&StackStatusFilter.member.3=CREATE_IN_PROGRESS&StackStatusFilter.member.4=DELETE_FAILED&StackStatusFilter.member.5=DELETE_IN_PROGRESS&StackStatusFilter.member.6=ROLLBACK_COMPLETE&StackStatusFilter.member.7=ROLLBACK_FAILED&StackStatusFilter.member.8=ROLLBACK_IN_PROGRESS&StackStatusFilter.member.9=UPDATE_COMPLETE&Version=2010-05-15
99
+ body:
100
+ encoding: US-ASCII
101
+ string: ''
102
+ headers:
103
+ User-Agent:
104
+ - miasma/v0.1.0
105
+ Host:
106
+ - cloudformation.us-west-1.amazonaws.com
107
+ X-Amz-Date:
108
+ - 20141115T181740Z
109
+ Authorization:
110
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
111
+ SignedHeaders=host;user-agent;x-amz-date, Signature=4c2d69873b336b4e4ad5bfc9391b9a50b586b0082e67f406e34a0deddea334de
112
+ response:
113
+ status:
114
+ code: 200
115
+ message: OK
116
+ headers:
117
+ X-Amzn-Requestid:
118
+ - b9d53e0b-6cf3-11e4-8d9e-0d45455a7e5a
119
+ Content-Type:
120
+ - text/xml
121
+ Content-Length:
122
+ - '819'
123
+ Date:
124
+ - Sat, 15 Nov 2014 18:17:56 GMT
125
+ body:
126
+ encoding: UTF-8
127
+ string: |
128
+ <ListStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
129
+ <ListStacksResult>
130
+ <StackSummaries>
131
+ <member>
132
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
133
+ <StackStatus>DELETE_IN_PROGRESS</StackStatus>
134
+ <DeletionTime>2014-11-15T18:17:50.095Z</DeletionTime>
135
+ <StackName>miasma-test-stack</StackName>
136
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
137
+ <TemplateDescription>Miasma test stack</TemplateDescription>
138
+ <StackStatusReason>User Initiated</StackStatusReason>
139
+ </member>
140
+ </StackSummaries>
141
+ </ListStacksResult>
142
+ <ResponseMetadata>
143
+ <RequestId>b9d53e0b-6cf3-11e4-8d9e-0d45455a7e5a</RequestId>
144
+ </ResponseMetadata>
145
+ </ListStacksResponse>
146
+ http_version:
147
+ recorded_at: Sat, 15 Nov 2014 18:17:44 GMT
148
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=DescribeStacks&Version=2010-05-15
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - miasma/v0.1.0
12
+ Host:
13
+ - cloudformation.us-west-1.amazonaws.com
14
+ X-Amz-Date:
15
+ - 20141115T181744Z
16
+ Authorization:
17
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
18
+ SignedHeaders=host;user-agent;x-amz-date, Signature=da3553a7d33680da2630584c7a678afabbc63f29ce2f2c41076f44a836fae4e2
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ X-Amzn-Requestid:
25
+ - bc4a34db-6cf3-11e4-b42b-6b375495c624
26
+ Content-Type:
27
+ - text/xml
28
+ Content-Length:
29
+ - '834'
30
+ Date:
31
+ - Sat, 15 Nov 2014 18:18:02 GMT
32
+ body:
33
+ encoding: UTF-8
34
+ string: |
35
+ <DescribeStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
36
+ <DescribeStacksResult>
37
+ <Stacks>
38
+ <member>
39
+ <Tags/>
40
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
41
+ <StackStatus>DELETE_IN_PROGRESS</StackStatus>
42
+ <StackName>miasma-test-stack</StackName>
43
+ <StackStatusReason>User Initiated</StackStatusReason>
44
+ <Description>Miasma test stack</Description>
45
+ <NotificationARNs/>
46
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
47
+ <DisableRollback>false</DisableRollback>
48
+ </member>
49
+ </Stacks>
50
+ </DescribeStacksResult>
51
+ <ResponseMetadata>
52
+ <RequestId>bc4a34db-6cf3-11e4-b42b-6b375495c624</RequestId>
53
+ </ResponseMetadata>
54
+ </DescribeStacksResponse>
55
+ http_version:
56
+ recorded_at: Sat, 15 Nov 2014 18:17:48 GMT
57
+ - request:
58
+ method: get
59
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=ListStacks&StackStatusFilter.member.1=CREATE_COMPLETE&StackStatusFilter.member.10=UPDATE_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.11=UPDATE_IN_PROGRESS&StackStatusFilter.member.12=UPDATE_ROLLBACK_COMPLETE&StackStatusFilter.member.13=UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.14=UPDATE_ROLLBACK_FAILED&StackStatusFilter.member.15=UPDATE_ROLLBACK_IN_PROGRESS&StackStatusFilter.member.2=CREATE_FAILED&StackStatusFilter.member.3=CREATE_IN_PROGRESS&StackStatusFilter.member.4=DELETE_FAILED&StackStatusFilter.member.5=DELETE_IN_PROGRESS&StackStatusFilter.member.6=ROLLBACK_COMPLETE&StackStatusFilter.member.7=ROLLBACK_FAILED&StackStatusFilter.member.8=ROLLBACK_IN_PROGRESS&StackStatusFilter.member.9=UPDATE_COMPLETE&Version=2010-05-15
60
+ body:
61
+ encoding: US-ASCII
62
+ string: ''
63
+ headers:
64
+ User-Agent:
65
+ - miasma/v0.1.0
66
+ Host:
67
+ - cloudformation.us-west-1.amazonaws.com
68
+ X-Amz-Date:
69
+ - 20141115T181748Z
70
+ Authorization:
71
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
72
+ SignedHeaders=host;user-agent;x-amz-date, Signature=5be3c38bce38a178a3a2aef3e888b219246e738fc57585efd0e49a57c70d6f10
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ X-Amzn-Requestid:
79
+ - bede9c07-6cf3-11e4-a4ab-af8750751d5b
80
+ Content-Type:
81
+ - text/xml
82
+ Content-Length:
83
+ - '275'
84
+ Date:
85
+ - Sat, 15 Nov 2014 18:18:06 GMT
86
+ body:
87
+ encoding: UTF-8
88
+ string: |
89
+ <ListStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
90
+ <ListStacksResult>
91
+ <StackSummaries/>
92
+ </ListStacksResult>
93
+ <ResponseMetadata>
94
+ <RequestId>bede9c07-6cf3-11e4-a4ab-af8750751d5b</RequestId>
95
+ </ResponseMetadata>
96
+ </ListStacksResponse>
97
+ http_version:
98
+ recorded_at: Sat, 15 Nov 2014 18:17:52 GMT
99
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,300 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://cloudformation.us-west-1.amazonaws.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: Action=CreateStack&DisableRollback=false&StackName=miasma-test-stack&TemplateBody=%7B%22AWSTemplateFormatVersion%22%3A%222010-09-09%22%2C%22Description%22%3A%22Miasma+test+stack%22%2C%22Resources%22%3A%7B%22MiasmaTestHandle%22%3A%7B%22Type%22%3A%22AWS%3A%3ACloudFormation%3A%3AWaitConditionHandle%22%7D%7D%7D&Version=2010-05-15
9
+ headers:
10
+ User-Agent:
11
+ - miasma/v0.1.0
12
+ Host:
13
+ - cloudformation.us-west-1.amazonaws.com
14
+ X-Amz-Date:
15
+ - 20141115T181602Z
16
+ Authorization:
17
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
18
+ SignedHeaders=host;user-agent;x-amz-date, Signature=c3520232c0e3104be523f651c7f59bf77db7fda10902f46a82a151ae2e2b7287
19
+ Content-Type:
20
+ - application/x-www-form-urlencoded
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Amzn-Requestid:
27
+ - 7ff62db8-6cf3-11e4-a2e8-0feee947805d
28
+ Content-Type:
29
+ - text/xml
30
+ Content-Length:
31
+ - '387'
32
+ Date:
33
+ - Sat, 15 Nov 2014 18:16:21 GMT
34
+ body:
35
+ encoding: UTF-8
36
+ string: |
37
+ <CreateStackResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
38
+ <CreateStackResult>
39
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
40
+ </CreateStackResult>
41
+ <ResponseMetadata>
42
+ <RequestId>7ff62db8-6cf3-11e4-a2e8-0feee947805d</RequestId>
43
+ </ResponseMetadata>
44
+ </CreateStackResponse>
45
+ http_version:
46
+ recorded_at: Sat, 15 Nov 2014 18:16:08 GMT
47
+ - request:
48
+ method: get
49
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=DescribeStacks&StackName=arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6&Version=2010-05-15
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ User-Agent:
55
+ - miasma/v0.1.0
56
+ Host:
57
+ - cloudformation.us-west-1.amazonaws.com
58
+ X-Amz-Date:
59
+ - 20141115T181608Z
60
+ Authorization:
61
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
62
+ SignedHeaders=host;user-agent;x-amz-date, Signature=4ffbf80274489a22487b4ceec84b00a08374356a0bd58936ced19e0e47bc9d14
63
+ response:
64
+ status:
65
+ code: 200
66
+ message: OK
67
+ headers:
68
+ X-Amzn-Requestid:
69
+ - 82ed2602-6cf3-11e4-997a-37de93589fc0
70
+ Content-Type:
71
+ - text/xml
72
+ Content-Length:
73
+ - '834'
74
+ Date:
75
+ - Sat, 15 Nov 2014 18:16:25 GMT
76
+ body:
77
+ encoding: UTF-8
78
+ string: |
79
+ <DescribeStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
80
+ <DescribeStacksResult>
81
+ <Stacks>
82
+ <member>
83
+ <Tags/>
84
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
85
+ <StackStatus>CREATE_IN_PROGRESS</StackStatus>
86
+ <StackName>miasma-test-stack</StackName>
87
+ <StackStatusReason>User Initiated</StackStatusReason>
88
+ <Description>Miasma test stack</Description>
89
+ <NotificationARNs/>
90
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
91
+ <DisableRollback>false</DisableRollback>
92
+ </member>
93
+ </Stacks>
94
+ </DescribeStacksResult>
95
+ <ResponseMetadata>
96
+ <RequestId>82ed2602-6cf3-11e4-997a-37de93589fc0</RequestId>
97
+ </ResponseMetadata>
98
+ </DescribeStacksResponse>
99
+ http_version:
100
+ recorded_at: Sat, 15 Nov 2014 18:16:11 GMT
101
+ - request:
102
+ method: get
103
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=ListStacks&StackStatusFilter.member.1=CREATE_COMPLETE&StackStatusFilter.member.10=UPDATE_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.11=UPDATE_IN_PROGRESS&StackStatusFilter.member.12=UPDATE_ROLLBACK_COMPLETE&StackStatusFilter.member.13=UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.14=UPDATE_ROLLBACK_FAILED&StackStatusFilter.member.15=UPDATE_ROLLBACK_IN_PROGRESS&StackStatusFilter.member.2=CREATE_FAILED&StackStatusFilter.member.3=CREATE_IN_PROGRESS&StackStatusFilter.member.4=DELETE_FAILED&StackStatusFilter.member.5=DELETE_IN_PROGRESS&StackStatusFilter.member.6=ROLLBACK_COMPLETE&StackStatusFilter.member.7=ROLLBACK_FAILED&StackStatusFilter.member.8=ROLLBACK_IN_PROGRESS&StackStatusFilter.member.9=UPDATE_COMPLETE&Version=2010-05-15
104
+ body:
105
+ encoding: US-ASCII
106
+ string: ''
107
+ headers:
108
+ User-Agent:
109
+ - miasma/v0.1.0
110
+ Host:
111
+ - cloudformation.us-west-1.amazonaws.com
112
+ X-Amz-Date:
113
+ - 20141115T181611Z
114
+ Authorization:
115
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
116
+ SignedHeaders=host;user-agent;x-amz-date, Signature=92ed5a633c825bcfcd996fa5dde855364f46afd195f11d984904c5b86c31654d
117
+ response:
118
+ status:
119
+ code: 200
120
+ message: OK
121
+ headers:
122
+ X-Amzn-Requestid:
123
+ - 83dc67dd-6cf3-11e4-8dc2-dfd024436d2e
124
+ Content-Type:
125
+ - text/xml
126
+ Content-Length:
127
+ - '757'
128
+ Date:
129
+ - Sat, 15 Nov 2014 18:16:27 GMT
130
+ body:
131
+ encoding: UTF-8
132
+ string: |
133
+ <ListStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
134
+ <ListStacksResult>
135
+ <StackSummaries>
136
+ <member>
137
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
138
+ <StackStatus>CREATE_IN_PROGRESS</StackStatus>
139
+ <StackName>miasma-test-stack</StackName>
140
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
141
+ <TemplateDescription>Miasma test stack</TemplateDescription>
142
+ <StackStatusReason>User Initiated</StackStatusReason>
143
+ </member>
144
+ </StackSummaries>
145
+ </ListStacksResult>
146
+ <ResponseMetadata>
147
+ <RequestId>83dc67dd-6cf3-11e4-8dc2-dfd024436d2e</RequestId>
148
+ </ResponseMetadata>
149
+ </ListStacksResponse>
150
+ http_version:
151
+ recorded_at: Sat, 15 Nov 2014 18:16:13 GMT
152
+ - request:
153
+ method: get
154
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=DescribeStacks&StackName=arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6&Version=2010-05-15
155
+ body:
156
+ encoding: US-ASCII
157
+ string: ''
158
+ headers:
159
+ User-Agent:
160
+ - miasma/v0.1.0
161
+ Host:
162
+ - cloudformation.us-west-1.amazonaws.com
163
+ X-Amz-Date:
164
+ - 20141115T181713Z
165
+ Authorization:
166
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
167
+ SignedHeaders=host;user-agent;x-amz-date, Signature=92567f99b5612ae125633f68c71616e05308f5f5d5262ae7b6ad9b9fe0d7dd40
168
+ response:
169
+ status:
170
+ code: 200
171
+ message: OK
172
+ headers:
173
+ X-Amzn-Requestid:
174
+ - a9f277f0-6cf3-11e4-99a4-53da341d18a4
175
+ Content-Type:
176
+ - text/xml
177
+ Content-Length:
178
+ - '798'
179
+ Date:
180
+ - Sat, 15 Nov 2014 18:17:31 GMT
181
+ body:
182
+ encoding: UTF-8
183
+ string: |
184
+ <DescribeStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
185
+ <DescribeStacksResult>
186
+ <Stacks>
187
+ <member>
188
+ <Tags/>
189
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
190
+ <StackStatus>CREATE_COMPLETE</StackStatus>
191
+ <StackName>miasma-test-stack</StackName>
192
+ <StackStatusReason/>
193
+ <Description>Miasma test stack</Description>
194
+ <NotificationARNs/>
195
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
196
+ <DisableRollback>false</DisableRollback>
197
+ </member>
198
+ </Stacks>
199
+ </DescribeStacksResult>
200
+ <ResponseMetadata>
201
+ <RequestId>a9f277f0-6cf3-11e4-99a4-53da341d18a4</RequestId>
202
+ </ResponseMetadata>
203
+ </DescribeStacksResponse>
204
+ http_version:
205
+ recorded_at: Sat, 15 Nov 2014 18:17:17 GMT
206
+ - request:
207
+ method: get
208
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=ListStacks&StackStatusFilter.member.1=CREATE_COMPLETE&StackStatusFilter.member.10=UPDATE_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.11=UPDATE_IN_PROGRESS&StackStatusFilter.member.12=UPDATE_ROLLBACK_COMPLETE&StackStatusFilter.member.13=UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS&StackStatusFilter.member.14=UPDATE_ROLLBACK_FAILED&StackStatusFilter.member.15=UPDATE_ROLLBACK_IN_PROGRESS&StackStatusFilter.member.2=CREATE_FAILED&StackStatusFilter.member.3=CREATE_IN_PROGRESS&StackStatusFilter.member.4=DELETE_FAILED&StackStatusFilter.member.5=DELETE_IN_PROGRESS&StackStatusFilter.member.6=ROLLBACK_COMPLETE&StackStatusFilter.member.7=ROLLBACK_FAILED&StackStatusFilter.member.8=ROLLBACK_IN_PROGRESS&StackStatusFilter.member.9=UPDATE_COMPLETE&Version=2010-05-15
209
+ body:
210
+ encoding: US-ASCII
211
+ string: ''
212
+ headers:
213
+ User-Agent:
214
+ - miasma/v0.1.0
215
+ Host:
216
+ - cloudformation.us-west-1.amazonaws.com
217
+ X-Amz-Date:
218
+ - 20141115T181717Z
219
+ Authorization:
220
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
221
+ SignedHeaders=host;user-agent;x-amz-date, Signature=a30b6de860c493eb4fe5bf50c6cdefcaa4a4793d85c2178ce6e7217b95137d8a
222
+ response:
223
+ status:
224
+ code: 200
225
+ message: OK
226
+ headers:
227
+ X-Amzn-Requestid:
228
+ - ac28dff4-6cf3-11e4-b7ef-e9f5e53a77cf
229
+ Content-Type:
230
+ - text/xml
231
+ Content-Length:
232
+ - '721'
233
+ Date:
234
+ - Sat, 15 Nov 2014 18:17:35 GMT
235
+ body:
236
+ encoding: UTF-8
237
+ string: |
238
+ <ListStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
239
+ <ListStacksResult>
240
+ <StackSummaries>
241
+ <member>
242
+ <StackId>arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6</StackId>
243
+ <StackStatus>CREATE_COMPLETE</StackStatus>
244
+ <StackName>miasma-test-stack</StackName>
245
+ <CreationTime>2014-11-15T18:16:21.628Z</CreationTime>
246
+ <TemplateDescription>Miasma test stack</TemplateDescription>
247
+ <StackStatusReason/>
248
+ </member>
249
+ </StackSummaries>
250
+ </ListStacksResult>
251
+ <ResponseMetadata>
252
+ <RequestId>ac28dff4-6cf3-11e4-b7ef-e9f5e53a77cf</RequestId>
253
+ </ResponseMetadata>
254
+ </ListStacksResponse>
255
+ http_version:
256
+ recorded_at: Sat, 15 Nov 2014 18:17:21 GMT
257
+ - request:
258
+ method: get
259
+ uri: https://cloudformation.us-west-1.amazonaws.com/?Action=GetTemplate&StackName=arn:aws:cloudformation:us-west-1:921689585014:stack/miasma-test-stack/80717750-6cf3-11e4-b18f-5044330dbaa6&Version=2010-05-15
260
+ body:
261
+ encoding: US-ASCII
262
+ string: ''
263
+ headers:
264
+ User-Agent:
265
+ - miasma/v0.1.0
266
+ Host:
267
+ - cloudformation.us-west-1.amazonaws.com
268
+ X-Amz-Date:
269
+ - 20141115T181721Z
270
+ Authorization:
271
+ - AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141115/us-west-1/cloudformation/aws4_request,
272
+ SignedHeaders=host;user-agent;x-amz-date, Signature=28d979bf17d19f44c0d7902ab176c26bf87e04c30dc0b78e30e48ccbf800e6c7
273
+ response:
274
+ status:
275
+ code: 200
276
+ message: OK
277
+ headers:
278
+ X-Amzn-Requestid:
279
+ - aea9e58a-6cf3-11e4-b7ef-e9f5e53a77cf
280
+ Content-Type:
281
+ - text/xml
282
+ Content-Length:
283
+ - '532'
284
+ Date:
285
+ - Sat, 15 Nov 2014 18:17:39 GMT
286
+ body:
287
+ encoding: UTF-8
288
+ string: |
289
+ <GetTemplateResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
290
+ <GetTemplateResult>
291
+ <TemplateBody>{&quot;AWSTemplateFormatVersion&quot;:&quot;2010-09-09&quot;,&quot;Description&quot;:&quot;Miasma test stack&quot;,&quot;Resources&quot;:{&quot;MiasmaTestHandle&quot;:{&quot;Type&quot;:&quot;AWS::CloudFormation::WaitConditionHandle&quot;}}}
292
+ </TemplateBody>
293
+ </GetTemplateResult>
294
+ <ResponseMetadata>
295
+ <RequestId>aea9e58a-6cf3-11e4-b7ef-e9f5e53a77cf</RequestId>
296
+ </ResponseMetadata>
297
+ </GetTemplateResponse>
298
+ http_version:
299
+ recorded_at: Sat, 15 Nov 2014 18:17:25 GMT
300
+ recorded_with: VCR 2.9.3