Skip to content

Commit 8c302b9

Browse files
authored
Revert "Fix updating tags on aws_launch_template (#3687)" (#3908)
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.
1 parent b70960b commit 8c302b9

File tree

7 files changed

+0
-82
lines changed

7 files changed

+0
-82
lines changed

provider/provider_python_test.go

-31
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"time"
1616

1717
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
18-
"github.com/stretchr/testify/assert"
1918
"github.com/stretchr/testify/require"
2019
)
2120

@@ -60,36 +59,6 @@ func TestRegress3887(t *testing.T) {
6059
integration.ProgramTest(t, &test)
6160
}
6261

63-
func TestRegress1504(t *testing.T) {
64-
if testing.Short() {
65-
t.Skipf("Skipping test in -short mode because it needs cloud credentials")
66-
return
67-
}
68-
test := getPythonBaseOptions(t).
69-
With(integration.ProgramTestOptions{
70-
// Not ideal, need investigation:
71-
ExpectRefreshChanges: true,
72-
Dir: filepath.Join("test-programs", "regress-1504", "init"),
73-
EditDirs: []integration.EditDir{
74-
{
75-
Dir: filepath.Join("test-programs", "regress-1504", "step-1"),
76-
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
77-
assert.Equal(t, float64(1), stack.Outputs["launch_template_latest_version"])
78-
},
79-
Additive: true,
80-
},
81-
{
82-
Dir: filepath.Join("test-programs", "regress-1504", "step-2"),
83-
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
84-
assert.Equal(t, float64(2), stack.Outputs["launch_template_latest_version"])
85-
},
86-
Additive: true,
87-
},
88-
},
89-
})
90-
integration.ProgramTest(t, &test)
91-
}
92-
9362
// Make sure that importing an AWS targetGroup succeeds.
9463
func TestRegress2534(t *testing.T) {
9564
ctx := context.Background()

provider/resources.go

-1
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,6 @@ func ProviderFromMeta(metaInfo *tfbridge.MetadataInfo) *tfbridge.ProviderInfo {
803803
switch s {
804804
case "aws_ssm_document",
805805
"aws_wafv2_web_acl",
806-
"aws_launch_template",
807806
"aws_batch_job_definition":
808807
return true
809808
default:

provider/test-programs/regress-1504/init/Pulumi.yaml

-10
This file was deleted.

provider/test-programs/regress-1504/init/__main__.py

-13
This file was deleted.

provider/test-programs/regress-1504/init/requirements.txt

-1
This file was deleted.

provider/test-programs/regress-1504/step-1/__main__.py

-13
This file was deleted.

provider/test-programs/regress-1504/step-2/__main__.py

-13
This file was deleted.

0 commit comments

Comments
 (0)