Skip to content

Commit

Permalink
Revert "Fix updating tags on aws_launch_template (#3687)" (#3908)
Browse files Browse the repository at this point in the history
This reverts commit 670b38d.

This is a temporary revert in order to fix
pulumi/pulumi-terraform-bridge#1932. Once we
have a permanent fix, we will restore this.
  • Loading branch information
corymhall committed May 8, 2024
1 parent b70960b commit 8c302b9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 82 deletions.
31 changes: 0 additions & 31 deletions provider/provider_python_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"time"

"github.com/pulumi/pulumi/pkg/v3/testing/integration"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -60,36 +59,6 @@ func TestRegress3887(t *testing.T) {
integration.ProgramTest(t, &test)
}

func TestRegress1504(t *testing.T) {
if testing.Short() {
t.Skipf("Skipping test in -short mode because it needs cloud credentials")
return
}
test := getPythonBaseOptions(t).
With(integration.ProgramTestOptions{
// Not ideal, need investigation:
ExpectRefreshChanges: true,
Dir: filepath.Join("test-programs", "regress-1504", "init"),
EditDirs: []integration.EditDir{
{
Dir: filepath.Join("test-programs", "regress-1504", "step-1"),
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
assert.Equal(t, float64(1), stack.Outputs["launch_template_latest_version"])
},
Additive: true,
},
{
Dir: filepath.Join("test-programs", "regress-1504", "step-2"),
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
assert.Equal(t, float64(2), stack.Outputs["launch_template_latest_version"])
},
Additive: true,
},
},
})
integration.ProgramTest(t, &test)
}

// Make sure that importing an AWS targetGroup succeeds.
func TestRegress2534(t *testing.T) {
ctx := context.Background()
Expand Down
1 change: 0 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,6 @@ func ProviderFromMeta(metaInfo *tfbridge.MetadataInfo) *tfbridge.ProviderInfo {
switch s {
case "aws_ssm_document",
"aws_wafv2_web_acl",
"aws_launch_template",
"aws_batch_job_definition":
return true
default:
Expand Down
10 changes: 0 additions & 10 deletions provider/test-programs/regress-1504/init/Pulumi.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions provider/test-programs/regress-1504/init/__main__.py

This file was deleted.

1 change: 0 additions & 1 deletion provider/test-programs/regress-1504/init/requirements.txt

This file was deleted.

13 changes: 0 additions & 13 deletions provider/test-programs/regress-1504/step-1/__main__.py

This file was deleted.

13 changes: 0 additions & 13 deletions provider/test-programs/regress-1504/step-2/__main__.py

This file was deleted.

0 comments on commit 8c302b9

Please sign in to comment.