aws-deadline / deadline-cloud-test-fixtures

This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages
Apache License 2.0
9 stars 13 forks source link

fix: apply CreateQueue API changes #49

Closed jusiskin closed 9 months ago

jusiskin commented 9 months ago

What was the problem/requirement? (What/Why)

The CreateQueue API has changed and now requires a new "jobRunAsUser""runAs" field in the request (one of two values: QUEUE_CONFIGURED_USER or WORKER_AGENT_USER).

What was the solution? (How)

Updated the test fixtures to pass this new API request field.

What is the impact of this change?

Consumers of deadline-cloud-test-fixtures can now create queues using the new API shape.

How was this change tested?

Tested this with casillas2/deadline-cloud-worker-agent#133 and confirmed that this change uses the new API fields when making CreateQueue requests.

Was this change documented?

No

Is this a breaking change?

No