Skip to content

Commit c42e9d0

Browse files
committed
add resource identity for cloudfoundry domain
1 parent 4adbcbb commit c42e9d0

File tree

5 files changed

+458
-2
lines changed

5 files changed

+458
-2
lines changed
Lines changed: 343 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,343 @@
1+
---
2+
version: 2
3+
interactions:
4+
- id: 0
5+
request:
6+
proto: HTTP/1.1
7+
proto_major: 1
8+
proto_minor: 1
9+
content_length: 247
10+
transfer_encoding: []
11+
trailer: {}
12+
host: api.x.x.x.x.com
13+
remote_addr: ""
14+
request_uri: ""
15+
body: |
16+
{"name":"test.cfapps.stagingazure.hanavlab.ondemand.com","internal":false,"relationships":{"organization":{"data":{"guid":"b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"}}},"metadata":{"labels":{"landscape":"test","purpose":"testing"},"annotations":null}}
17+
form: {}
18+
headers:
19+
Authorization:
20+
- Bearer redacted
21+
Content-Type:
22+
- application/json
23+
User-Agent:
24+
- Terraform/1.13.3 terraform-provider-cloudfoundry/dev
25+
url: https://api.x.x.x.x.com/v3/domains
26+
method: POST
27+
response:
28+
proto: HTTP/2.0
29+
proto_major: 2
30+
proto_minor: 0
31+
transfer_encoding: []
32+
trailer: {}
33+
content_length: 972
34+
uncompressed: false
35+
body: '{"guid":"2f570e5c-050a-4e6c-8d12-75aea05a27b0","created_at":"2026-01-30T11:59:34Z","updated_at":"2026-01-30T11:59:34Z","name":"test.cfapps.stagingazure.hanavlab.ondemand.com","internal":false,"router_group":null,"supported_protocols":["http"],"relationships":{"organization":{"data":{"guid":"b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"}},"shared_organizations":{"data":[]}},"metadata":{"labels":{"landscape":"test","purpose":"testing"},"annotations":{}},"links":{"self":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0"},"route_reservations":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0/route_reservations"},"organization":{"href":"https://api.x.x.x.x.com/v3/organizations/b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"},"shared_organizations":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0/relationships/shared_organizations"}}}'
36+
headers:
37+
Content-Length:
38+
- "972"
39+
Content-Type:
40+
- application/json; charset=utf-8
41+
Date:
42+
- Fri, 30 Jan 2026 11:59:34 GMT
43+
Referrer-Policy:
44+
- strict-origin-when-cross-origin
45+
Strict-Transport-Security:
46+
- max-age=31536000; includeSubDomains; preload;
47+
X-B3-Spanid:
48+
- 559a0e97aabe6937
49+
X-B3-Traceid:
50+
- 3c427e84f28c4c1e559a0e97aabe6937
51+
X-Content-Type-Options:
52+
- nosniff
53+
X-Download-Options:
54+
- noopen
55+
X-Frame-Options:
56+
- SAMEORIGIN
57+
X-Permitted-Cross-Domain-Policies:
58+
- none
59+
X-Ratelimit-Limit:
60+
- "20000"
61+
X-Ratelimit-Remaining:
62+
- "18000"
63+
X-Ratelimit-Reset:
64+
- "1769775506"
65+
X-Runtime:
66+
- "0.040199"
67+
X-Vcap-Request-Id:
68+
- 3c427e84-f28c-4c1e-559a-0e97aabe6937::1e191468-9bc7-4902-9a12-4726e2ea0154
69+
X-Xss-Protection:
70+
- 1; mode=block
71+
status: 201 Created
72+
code: 201
73+
duration: 968.07075ms
74+
- id: 1
75+
request:
76+
proto: HTTP/1.1
77+
proto_major: 1
78+
proto_minor: 1
79+
content_length: 0
80+
transfer_encoding: []
81+
trailer: {}
82+
host: api.x.x.x.x.com
83+
remote_addr: ""
84+
request_uri: ""
85+
body: ""
86+
form: {}
87+
headers:
88+
Authorization:
89+
- Bearer redacted
90+
User-Agent:
91+
- Terraform/1.13.3 terraform-provider-cloudfoundry/dev
92+
url: https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0
93+
method: GET
94+
response:
95+
proto: HTTP/2.0
96+
proto_major: 2
97+
proto_minor: 0
98+
transfer_encoding: []
99+
trailer: {}
100+
content_length: 972
101+
uncompressed: false
102+
body: '{"guid":"2f570e5c-050a-4e6c-8d12-75aea05a27b0","created_at":"2026-01-30T11:59:34Z","updated_at":"2026-01-30T11:59:34Z","name":"test.cfapps.stagingazure.hanavlab.ondemand.com","internal":false,"router_group":null,"supported_protocols":["http"],"relationships":{"organization":{"data":{"guid":"b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"}},"shared_organizations":{"data":[]}},"metadata":{"labels":{"landscape":"test","purpose":"testing"},"annotations":{}},"links":{"self":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0"},"route_reservations":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0/route_reservations"},"organization":{"href":"https://api.x.x.x.x.com/v3/organizations/b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"},"shared_organizations":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0/relationships/shared_organizations"}}}'
103+
headers:
104+
Content-Length:
105+
- "972"
106+
Content-Type:
107+
- application/json; charset=utf-8
108+
Date:
109+
- Fri, 30 Jan 2026 11:59:34 GMT
110+
Referrer-Policy:
111+
- strict-origin-when-cross-origin
112+
Strict-Transport-Security:
113+
- max-age=31536000; includeSubDomains; preload;
114+
X-B3-Spanid:
115+
- 68eeaf1a1def3298
116+
X-B3-Traceid:
117+
- c2813873e59a479468eeaf1a1def3298
118+
X-Content-Type-Options:
119+
- nosniff
120+
X-Download-Options:
121+
- noopen
122+
X-Frame-Options:
123+
- SAMEORIGIN
124+
X-Permitted-Cross-Domain-Policies:
125+
- none
126+
X-Ratelimit-Limit:
127+
- "20000"
128+
X-Ratelimit-Remaining:
129+
- "18000"
130+
X-Ratelimit-Reset:
131+
- "1769775506"
132+
X-Runtime:
133+
- "0.020924"
134+
X-Vcap-Request-Id:
135+
- c2813873-e59a-4794-68ee-af1a1def3298::dd8d90d6-cc29-453d-9de6-dc9eb0c29304
136+
X-Xss-Protection:
137+
- 1; mode=block
138+
status: 200 OK
139+
code: 200
140+
duration: 282.375291ms
141+
- id: 2
142+
request:
143+
proto: HTTP/1.1
144+
proto_major: 1
145+
proto_minor: 1
146+
content_length: 0
147+
transfer_encoding: []
148+
trailer: {}
149+
host: api.x.x.x.x.com
150+
remote_addr: ""
151+
request_uri: ""
152+
body: ""
153+
form: {}
154+
headers:
155+
Authorization:
156+
- Bearer redacted
157+
User-Agent:
158+
- Terraform/1.13.3 terraform-provider-cloudfoundry/dev
159+
url: https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0
160+
method: GET
161+
response:
162+
proto: HTTP/2.0
163+
proto_major: 2
164+
proto_minor: 0
165+
transfer_encoding: []
166+
trailer: {}
167+
content_length: 972
168+
uncompressed: false
169+
body: '{"guid":"2f570e5c-050a-4e6c-8d12-75aea05a27b0","created_at":"2026-01-30T11:59:34Z","updated_at":"2026-01-30T11:59:34Z","name":"test.cfapps.stagingazure.hanavlab.ondemand.com","internal":false,"router_group":null,"supported_protocols":["http"],"relationships":{"organization":{"data":{"guid":"b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"}},"shared_organizations":{"data":[]}},"metadata":{"labels":{"landscape":"test","purpose":"testing"},"annotations":{}},"links":{"self":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0"},"route_reservations":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0/route_reservations"},"organization":{"href":"https://api.x.x.x.x.com/v3/organizations/b4da43cd-2055-4d4d-ae6e-4066ce53a8b9"},"shared_organizations":{"href":"https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0/relationships/shared_organizations"}}}'
170+
headers:
171+
Content-Length:
172+
- "972"
173+
Content-Type:
174+
- application/json; charset=utf-8
175+
Date:
176+
- Fri, 30 Jan 2026 11:59:35 GMT
177+
Referrer-Policy:
178+
- strict-origin-when-cross-origin
179+
Strict-Transport-Security:
180+
- max-age=31536000; includeSubDomains; preload;
181+
X-B3-Spanid:
182+
- 682e7d7170085141
183+
X-B3-Traceid:
184+
- 3bf789a54b8d47c6682e7d7170085141
185+
X-Content-Type-Options:
186+
- nosniff
187+
X-Download-Options:
188+
- noopen
189+
X-Frame-Options:
190+
- SAMEORIGIN
191+
X-Permitted-Cross-Domain-Policies:
192+
- none
193+
X-Ratelimit-Limit:
194+
- "20000"
195+
X-Ratelimit-Remaining:
196+
- "18000"
197+
X-Ratelimit-Reset:
198+
- "1769775506"
199+
X-Runtime:
200+
- "0.018534"
201+
X-Vcap-Request-Id:
202+
- 3bf789a5-4b8d-47c6-682e-7d7170085141::4e14c0ab-9ea5-4927-8a07-be0ba4ae43f6
203+
X-Xss-Protection:
204+
- 1; mode=block
205+
status: 200 OK
206+
code: 200
207+
duration: 289.802792ms
208+
- id: 3
209+
request:
210+
proto: HTTP/1.1
211+
proto_major: 1
212+
proto_minor: 1
213+
content_length: 0
214+
transfer_encoding: []
215+
trailer: {}
216+
host: api.x.x.x.x.com
217+
remote_addr: ""
218+
request_uri: ""
219+
body: ""
220+
form: {}
221+
headers:
222+
Authorization:
223+
- Bearer redacted
224+
User-Agent:
225+
- Terraform/1.13.3 terraform-provider-cloudfoundry/dev
226+
url: https://api.x.x.x.x.com/v3/domains/2f570e5c-050a-4e6c-8d12-75aea05a27b0
227+
method: DELETE
228+
response:
229+
proto: HTTP/2.0
230+
proto_major: 2
231+
proto_minor: 0
232+
transfer_encoding: []
233+
trailer: {}
234+
content_length: 0
235+
uncompressed: false
236+
body: ""
237+
headers:
238+
Content-Length:
239+
- "0"
240+
Content-Type:
241+
- text/html
242+
Date:
243+
- Fri, 30 Jan 2026 11:59:35 GMT
244+
Location:
245+
- https://api.x.x.x.x.com/v3/jobs/5608e8a0-7dd7-46b7-843e-4e62b27bce20
246+
Referrer-Policy:
247+
- strict-origin-when-cross-origin
248+
Strict-Transport-Security:
249+
- max-age=31536000; includeSubDomains; preload;
250+
X-B3-Spanid:
251+
- 5ce65b4bacdfa206
252+
X-B3-Traceid:
253+
- 0e7c356fceea40255ce65b4bacdfa206
254+
X-Content-Type-Options:
255+
- nosniff
256+
X-Download-Options:
257+
- noopen
258+
X-Frame-Options:
259+
- SAMEORIGIN
260+
X-Permitted-Cross-Domain-Policies:
261+
- none
262+
X-Ratelimit-Limit:
263+
- "20000"
264+
X-Ratelimit-Remaining:
265+
- "18000"
266+
X-Ratelimit-Reset:
267+
- "1769775506"
268+
X-Runtime:
269+
- "0.029423"
270+
X-Vcap-Request-Id:
271+
- 0e7c356f-ceea-4025-5ce6-5b4bacdfa206::d672eac6-5e26-4d8c-9957-f386ef4d0cc8
272+
X-Xss-Protection:
273+
- 1; mode=block
274+
status: 202 Accepted
275+
code: 202
276+
duration: 296.643292ms
277+
- id: 4
278+
request:
279+
proto: HTTP/1.1
280+
proto_major: 1
281+
proto_minor: 1
282+
content_length: 0
283+
transfer_encoding: []
284+
trailer: {}
285+
host: api.x.x.x.x.com
286+
remote_addr: ""
287+
request_uri: ""
288+
body: ""
289+
form: {}
290+
headers:
291+
Authorization:
292+
- Bearer redacted
293+
User-Agent:
294+
- Terraform/1.13.3 terraform-provider-cloudfoundry/dev
295+
url: https://api.x.x.x.x.com/v3/jobs/5608e8a0-7dd7-46b7-843e-4e62b27bce20
296+
method: GET
297+
response:
298+
proto: HTTP/2.0
299+
proto_major: 2
300+
proto_minor: 0
301+
transfer_encoding: []
302+
trailer: {}
303+
content_length: 303
304+
uncompressed: false
305+
body: '{"guid":"5608e8a0-7dd7-46b7-843e-4e62b27bce20","created_at":"2026-01-30T11:59:35Z","updated_at":"2026-01-30T11:59:35Z","operation":"domain.delete","state":"COMPLETE","errors":[],"warnings":[],"links":{"self":{"href":"https://api.x.x.x.x.com/v3/jobs/5608e8a0-7dd7-46b7-843e-4e62b27bce20"}}}'
306+
headers:
307+
Content-Length:
308+
- "303"
309+
Content-Type:
310+
- application/json; charset=utf-8
311+
Date:
312+
- Fri, 30 Jan 2026 11:59:37 GMT
313+
Referrer-Policy:
314+
- strict-origin-when-cross-origin
315+
Strict-Transport-Security:
316+
- max-age=31536000; includeSubDomains; preload;
317+
X-B3-Spanid:
318+
- 57c3f37a38df4df0
319+
X-B3-Traceid:
320+
- 1b261f568797419e57c3f37a38df4df0
321+
X-Content-Type-Options:
322+
- nosniff
323+
X-Download-Options:
324+
- noopen
325+
X-Frame-Options:
326+
- SAMEORIGIN
327+
X-Permitted-Cross-Domain-Policies:
328+
- none
329+
X-Ratelimit-Limit:
330+
- "20000"
331+
X-Ratelimit-Remaining:
332+
- "18000"
333+
X-Ratelimit-Reset:
334+
- "1769775506"
335+
X-Runtime:
336+
- "0.007485"
337+
X-Vcap-Request-Id:
338+
- 1b261f56-8797-419e-57c3-f37a38df4df0::cf60f09e-7518-45bf-ac9d-038d15fa0ad3
339+
X-Xss-Protection:
340+
- 1; mode=block
341+
status: 200 OK
342+
code: 200
343+
duration: 246.436333ms

0 commit comments

Comments
 (0)