-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add original astro runtime version to deployment resource creation #58
Add original astro runtime version to deployment resource creation #58
Conversation
… github.com:astronomer/terraform-provider-astro into add-astro-runtime-version-to-deployment-resource-v2
@@ -12,7 +12,7 @@ OAPI_CODEGEN ?= $(ENVTEST_ASSETS_DIR)/oapi-codegen | |||
# Run acceptance tests | |||
.PHONY: testacc | |||
testacc: | |||
TF_ACC=1 go test ./... -v -run TestAcc $(TESTARGS) -timeout 120m | |||
TF_ACC=1 go test ./... -v -run TestAcc $(TESTARGS) -timeout 180m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious about the increase here, is this due to the resource tests being added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Hybrid deployment specific fields | ||
TaskPodNodePoolId types.String `tfsdk:"task_pod_node_pool_id"` | ||
|
||
// Hosted deployment specific fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: since you mentioned dedicated above, so that we don't have to infer what you mean by hosted below
// Hosted deployment specific fields | |
// Hosted (shared and dedicated) deployment specific fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will add
return diags | ||
} | ||
data.Executor = types.StringPointerValue((*string)(deployment.Executor)) | ||
if deployment.SchedulerAu != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're starting by reading common fields, should we move this lower, in the hybrid only section? Perhaps with the TaskPodNodePoolId
? Might've missed it, but this comment is just based off how you re-organized the deployment resource fields to read from the response!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do
Description
🎟 Issue(s)
#astro
🧪 Functional Testing
original_astro_runtime_version
set, with it not set and also importing an existing deployment📸 Screenshots
📋 Checklist
examples/
directory