Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update internal/services/containers/kubernetes_fleet_manager_data_sou…
Browse files Browse the repository at this point in the history
…rce_test.go

Co-authored-by: stephybun <steph@hashicorp.com>
sreallymatt and stephybun authored Dec 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d1fd1ab commit c708abd
Showing 1 changed file with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -30,28 +30,11 @@ func TestAccKubernetesFleetManagerDataSource_basic(t *testing.T) {

func (KubernetesFleetManagerDataSource) basic(data acceptance.TestData) string {
return fmt.Sprintf(`
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "test" {
location = "%s"
name = "acctestrg-%d"
}
resource "azurerm_kubernetes_fleet_manager" "test" {
location = azurerm_resource_group.test.location
name = "acctestkfm-%s"
resource_group_name = azurerm_resource_group.test.name
tags = {
environment = "terraform-acctests"
some_key = "some-value"
}
}
%s
data "azurerm_kubernetes_fleet_manager" "test" {
name = azurerm_kubernetes_fleet_manager.test.name
resource_group_name = azurerm_kubernetes_fleet_manager.test.resource_group_name
}
`, data.Locations.Primary, data.RandomInteger, data.RandomString)
`, KubernetesFleetManagerTestResource{}.complete(data))
}

0 comments on commit c708abd

Please sign in to comment.