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
adding resource azuredevops_environment_resource_kubernetes
#935
Conversation
Signed-off-by: Chris Roemmich <croemmich@bushelpowered.com>
azuredevops_environment_resource_kubernetes
@rdalbuquerque can you help resolve the file conflict |
Done! |
Hi @xuzhang3 , |
@@ -0,0 +1,205 @@ | |||
package taskagent |
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.
rename resource_kubernetes_resource.go
to resource_environment_resource_kubernetes.go
@@ -0,0 +1,254 @@ | |||
//go:build (all || resource_environment_resource_kubernetes) && !exclude_resource_environment_resource_kubernetes |
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.
rename resource_kubernetes_resource_test.go
to resource_environment_resource_kubernetes_test.go
return fmt.Errorf("Error creating Kubernetes resource in Azure DevOps: %+v", err) | ||
} | ||
|
||
flattenKubernetesResource(d, project, createdResource) |
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.
Create function should end with a call to the read function
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.
=== RUN TestAccEnvironmentKubernetes_CreateAndUpdate
=== PAUSE TestAccEnvironmentKubernetes_CreateAndUpdate
=== CONT TestAccEnvironmentKubernetes_CreateAndUpdate
--- PASS: TestAccEnvironmentKubernetes_CreateAndUpdate (145.46s)
PASS
ok github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/acceptancetests 165.251s
All Submissions:
What about the current behavior has changed?
Added the ability to manage Kubernetes environment resources.
Does this introduce a change to
go.mod
,go.sum
orvendor/
?Does this introduce a breaking change?
Other information
This is the continuation of PR #553 , now with default
azure-devops-go-api
taskagent
client