Skip to content
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

2.0: Removing azurerm_container_service #5709

Merged
merged 1 commit into from
Feb 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions azurerm/internal/services/containers/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ import (

type Client struct {
AgentPoolsClient *containerservice.AgentPoolsClient
KubernetesClustersClient *containerservice.ManagedClustersClient
GroupsClient *containerinstance.ContainerGroupsClient
KubernetesClustersClient *containerservice.ManagedClustersClient
RegistriesClient *containerregistry.RegistriesClient
WebhooksClient *containerregistry.WebhooksClient
ReplicationsClient *containerregistry.ReplicationsClient

// TODO: this can be removed in 2.0
ServicesClient *containerservice.ContainerServicesClient
ServicesClient *containerservice.ContainerServicesClient
WebhooksClient *containerregistry.WebhooksClient
}

func NewClient(o *common.ClientOptions) *Client {
Expand All @@ -39,7 +37,6 @@ func NewClient(o *common.ClientOptions) *Client {
agentPoolsClient := containerservice.NewAgentPoolsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&agentPoolsClient.Client, o.ResourceManagerAuthorizer)

// ACS
servicesClient := containerservice.NewContainerServicesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&servicesClient.Client, o.ResourceManagerAuthorizer)

Expand Down
1 change: 0 additions & 1 deletion azurerm/internal/services/containers/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func (r Registration) SupportedResources() map[string]*schema.Resource {
"azurerm_container_group": resourceArmContainerGroup(),
"azurerm_container_registry_webhook": resourceArmContainerRegistryWebhook(),
"azurerm_container_registry": resourceArmContainerRegistry(),
"azurerm_container_service": resourceArmContainerService(),
"azurerm_kubernetes_cluster": resourceArmKubernetesCluster(),
"azurerm_kubernetes_cluster_node_pool": resourceArmKubernetesClusterNodePool(),
}
Expand Down
Loading