Skip to content

Commit 44c1a96

Browse files
Cloud: Fix plugin installation test (#1371)
It seems like that AWS plugin doesn't exist anymore
1 parent 28c45ca commit 44c1a96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/resources/cloud/resource_cloud_plugin_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ func TestAccResourcePluginInstallation(t *testing.T) {
1818
var stack gcom.FormattedApiInstance
1919
stackPrefix := "tfplugin"
2020
stackSlug := GetRandomStackName(stackPrefix)
21-
pluginSlug := "aws-datasource-provisioner-app"
22-
pluginVersion := "1.7.0"
21+
pluginSlug := "grafana-googlesheets-datasource" // TODO: Add datasource to find a plugin and use that
22+
pluginVersion := "1.2.5"
2323

2424
resource.ParallelTest(t, resource.TestCase{
2525
PreCheck: func() { testAccDeleteExistingStacks(t, stackPrefix) },
@@ -32,8 +32,8 @@ func TestAccResourcePluginInstallation(t *testing.T) {
3232
testAccCloudPluginInstallationCheckExists(stackSlug, pluginSlug),
3333
resource.TestCheckResourceAttrSet("grafana_cloud_plugin_installation.test-installation", "id"),
3434
resource.TestCheckResourceAttr("grafana_cloud_plugin_installation.test-installation", "stack_slug", stackSlug),
35-
resource.TestCheckResourceAttr("grafana_cloud_plugin_installation.test-installation", "slug", "aws-datasource-provisioner-app"),
36-
resource.TestCheckResourceAttr("grafana_cloud_plugin_installation.test-installation", "version", "1.7.0")),
35+
resource.TestCheckResourceAttr("grafana_cloud_plugin_installation.test-installation", "slug", "grafana-googlesheets-datasource"),
36+
resource.TestCheckResourceAttr("grafana_cloud_plugin_installation.test-installation", "version", "1.2.5")),
3737
},
3838
{
3939
ResourceName: "grafana_cloud_plugin_installation.test-installation",

0 commit comments

Comments
 (0)