From 2d5ad20eb82fdda647c16f5ffdf013b22c51bdc7 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Wed, 3 Apr 2024 08:46:29 -0400 Subject: [PATCH] Move upgrade tests to the new framework (#3772) This change makes tests consistent with the latest API exposed in github.com/pulumi/providertest/pulumitest and unblocks the upstream upgrade and release. --- provider/provider_nodejs_test.go | 79 +- provider/provider_test.go | 135 ++-- provider/provider_yaml_test.go | 124 ++- .../5.42.0/stack.json | 309 ++++++++ .../5.42.0/state.json | 309 -------- .../5.42.0/stack.json | 254 ++++++ .../5.42.0/state.json | 254 ------ .../5.42.0/stack.json | 123 +++ .../5.42.0/state.json | 123 --- .../apigateway-resource/5.42.0/stack.json | 112 +++ .../apigateway-resource/5.42.0/state.json | 112 --- .../bucket-obj/5.42.0/stack.json | 198 +++++ .../bucket-obj/5.42.0/state.json | 198 ----- .../bucket/5.42.0/stack.json | 100 +++ .../bucket/5.42.0/state.json | 100 --- .../cloudfront-distribution/6.10.0/stack.json | 249 ++++++ .../cloudfront-distribution/6.10.0/state.json | 249 ------ .../cloudwatch-eventrule/5.42.0/stack.json | 203 +++++ .../cloudwatch-eventrule/5.42.0/state.json | 203 ----- .../cloudwatch-loggroup/5.42.0/stack.json | 78 ++ .../cloudwatch-loggroup/5.42.0/state.json | 78 -- .../cloudwatch/5.42.0/stack.json | 625 +++++++++++++++ .../cloudwatch/5.42.0/state.json | 625 --------------- .../dynamodb-table/5.42.0/stack.json | 170 ++++ .../dynamodb-table/5.42.0/state.json | 170 ---- .../ec2-instance/5.42.0/stack.json | 150 ++++ .../ec2-instance/5.42.0/state.json | 150 ---- .../ec2-networking/5.42.0/stack.json | 407 ++++++++++ .../ec2-networking/5.42.0/state.json | 407 ---------- .../ecr-lifecyclepolicy/5.42.0/stack.json | 103 +++ .../ecr-lifecyclepolicy/5.42.0/state.json | 103 --- .../ecr-repository/5.42.0/stack.json | 77 ++ .../ecr-repository/5.42.0/state.json | 77 -- .../ecs-service/5.42.0/stack.json | 591 ++++++++++++++ .../ecs-service/5.42.0/state.json | 591 -------------- .../eks-cluster/5.42.0/stack.json | 546 +++++++++++++ .../eks-cluster/5.42.0/state.json | 546 ------------- .../5.42.0/{state.json => stack.json} | 0 .../iam-instanceprofile/5.42.0/stack.json | 121 +++ .../iam-instanceprofile/5.42.0/state.json | 121 --- .../5.42.0/stack.json | 71 ++ .../5.42.0/state.json | 71 -- .../iam-user/5.42.0/stack.json | 101 +++ .../iam-user/5.42.0/state.json | 101 --- .../job-queue/5.42.0/stack.json | 560 +++++++++++++ .../job-queue/5.42.0/state.json | 560 ------------- .../kms-key/5.42.0/stack.json | 80 ++ .../kms-key/5.42.0/state.json | 80 -- .../lambda-layer-new/5.42.0/stack.json | 129 +++ .../lambda-layer-new/5.42.0/state.json | 129 --- .../TestProviderUpgrade/lb/5.42.0/stack.json | 624 +++++++++++++++ .../TestProviderUpgrade/lb/5.42.0/state.json | 624 --------------- .../logGroup/5.42.0/stack.json | 618 +++++++++++++++ .../logGroup/5.42.0/state.json | 618 --------------- .../queue/5.42.0/stack.json | 735 ++++++++++++++++++ .../queue/5.42.0/state.json | 735 ------------------ .../rds-instance/5.42.0/stack.json | 164 ++++ .../rds-instance/5.42.0/state.json | 164 ---- .../5.42.0/stack.json | 400 ++++++++++ .../5.42.0/state.json | 400 ---------- .../route53/5.42.0/stack.json | 160 ++++ .../route53/5.42.0/state.json | 160 ---- .../secretsmanager-secret/5.42.0/stack.json | 72 ++ .../secretsmanager-secret/5.42.0/state.json | 72 -- .../secretversion/5.42.0/stack.json | 115 +++ .../secretversion/5.42.0/state.json | 115 --- .../sns-topic/5.42.0/stack.json | 87 +++ .../sns-topic/5.42.0/state.json | 87 --- .../subnet-group/5.42.0/stack.json | 258 ++++++ .../subnet-group/5.42.0/state.json | 258 ------ 70 files changed, 8739 insertions(+), 8779 deletions(-) create mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/state.json rename provider/testdata/recorded/TestProviderUpgrade/eventbus/5.42.0/{state.json => stack.json} (100%) create mode 100755 provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/state.json create mode 100755 provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/stack.json delete mode 100755 provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/state.json diff --git a/provider/provider_nodejs_test.go b/provider/provider_nodejs_test.go index a173188c40f..a159f5fc4f3 100644 --- a/provider/provider_nodejs_test.go +++ b/provider/provider_nodejs_test.go @@ -6,63 +6,60 @@ package provider import ( - "fmt" + "os" "path/filepath" "testing" - "github.com/pulumi/providertest" - "github.com/stretchr/testify/assert" + "github.com/pulumi/providertest/pulumitest" + "github.com/pulumi/providertest/pulumitest/opttest" + "github.com/stretchr/testify/require" ) -func TestLambdaLayerNew(t *testing.T) { - nodeTest(t, filepath.Join("..", "examples", "lambda-layer-new")) +func TestLambdaLayerNewUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("..", "examples", "lambda-layer-new"), nodeProviderUpgradeOpts()) } -func TestCloudWatch(t *testing.T) { - nodeTest(t, filepath.Join("..", "examples", "cloudwatch")) +func TestCloudWatchUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("..", "examples", "cloudwatch"), nodeProviderUpgradeOpts()) } -func TestLogGroup(t *testing.T) { - nodeTest(t, filepath.Join("..", "examples", "logGroup")) +func TestLogGroupUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("..", "examples", "logGroup"), nodeProviderUpgradeOpts()) } -func TestQueue(t *testing.T) { - nodeTest(t, filepath.Join("..", "examples", "queue"), - providertest.WithSkippedUpgradeTestMode(providertest.UpgradeTestMode_Quick, "Prefer PreviewOnly"), - providertest.WithDiffValidation(providertest.NoReplacements())) +func TestQueueUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("..", "examples", "queue"), nodeProviderUpgradeOpts()) } -func TestRoute53(t *testing.T) { - nodeTest(t, filepath.Join("..", "examples", "route53")) +func TestRoute53Upgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("..", "examples", "route53"), nodeProviderUpgradeOpts()) } -func TestJobQueue(t *testing.T) { - simpleNodeTest(t, filepath.Join("test-programs", "job-queue"), - providertest.WithSkippedUpgradeTestMode(providertest.UpgradeTestMode_Quick, "Prefer PreviewOnly"), - providertest.WithDiffValidation(func(t *testing.T, d providertest.Diffs) { - for _, diff := range d { - if diff.URN.Name() != "testQueue" { - continue - } - assert.Emptyf(t, diff.Replaces, "Unexpected replace plan for testQueue") - for _, changedProp := range diff.Diffs { - // Ignoring benign update from nil to empty-map tags. - if changedProp == "tags" { - continue - } - if changedProp == "tagsAll" { - continue - } - assert.Fail(t, fmt.Sprintf("Unexpected update for testQueue: %s", changedProp)) - } - } - })) +func TestJobQueueUpgrade(t *testing.T) { + opts := nodeProviderUpgradeOpts() + opts.setEnvRegion = false + testProviderUpgrade(t, filepath.Join("test-programs", "job-queue"), opts) +} + +func nodeProviderUpgradeOpts() *testProviderUpgradeOptions { + return &testProviderUpgradeOptions{ + linkNodeSDK: true, + installDeps: true, + setEnvRegion: true, + } } func TestRegress3094(t *testing.T) { - simpleNodeTest(t, - filepath.Join("test-programs", "regress-3094"), - providertest.WithSkippedUpgradeTestMode(providertest.UpgradeTestMode_Quick, "Not testing upgrades"), - providertest.WithSkippedUpgradeTestMode(providertest.UpgradeTestMode_PreviewOnly, "Not testing upgrades"), - ) + skipIfShort(t) + dir := filepath.Join("test-programs", "regress-3094") + cwd, err := os.Getwd() + require.NoError(t, err) + providerName := "aws" + options := []opttest.Option{ + opttest.LocalProviderPath(providerName, filepath.Join(cwd, "..", "bin")), + opttest.YarnLink("@pulumi/aws"), + } + test := pulumitest.NewPulumiTest(t, dir, options...) + upResult := test.Up() + t.Logf("#%v", upResult.Summary) } diff --git a/provider/provider_test.go b/provider/provider_test.go index 4dace82ab06..f37198e893e 100644 --- a/provider/provider_test.go +++ b/provider/provider_test.go @@ -2,108 +2,73 @@ package provider import ( - "context" "os" - "strings" + "path/filepath" "testing" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "github.com/pulumi/providertest" - pfbridge "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge" - pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go" - - "github.com/pulumi/pulumi-aws/provider/v6/pkg/version" + "github.com/pulumi/providertest/optproviderupgrade" + "github.com/pulumi/providertest/pulumitest" + "github.com/pulumi/providertest/pulumitest/assertpreview" + "github.com/pulumi/providertest/pulumitest/opttest" + "github.com/stretchr/testify/require" ) -func providerServer(t *testing.T) pulumirpc.ResourceProviderServer { - ctx := context.Background() - version.Version = "0.0.1" - info := Provider() - p, err := pfbridge.MakeMuxedServer(ctx, info.Name, *info, - /* - * We leave the schema blank. This will result in incorrect calls to - * GetSchema, but otherwise does not effect the provider. It reduces the - * time to test start by minutes. - */ - []byte("{}"), - )(nil) - require.NoError(t, err) - return p +func TestUpgradeCoverage(t *testing.T) { + providertest.ReportUpgradeCoverage(t) } -func skipIfShort(t *testing.T) { - if testing.Short() { - t.Skipf("Skipping in testing.Short() mode, assuming this is a CI run without AWS creds") - return +func getEnvRegion(t *testing.T) string { + envRegion := os.Getenv("AWS_REGION") + if envRegion == "" { + envRegion = "us-west-2" } + return envRegion } -func withNoChangesInResourcesAndNoReplacementsInProvider() providertest.Option { - return providertest.WithDiffValidation(func(t *testing.T, diffs providertest.Diffs) { - for _, d := range diffs { - // For the explicit provider, prohibit replacements. - isProvider := strings.HasSuffix(string(d.URN), "aws::provider") || - strings.Contains(string(d.URN), "pulumi:providers:aws") - if isProvider { - assert.Emptyf(t, d.Replaces, "Unexpected replacement plan for %#v", d) - } else { // For normal resources, prohibit any changes. - assert.Falsef(t, d.HasChanges, "Expected no change for %#v", d) - } - } - }) +type testProviderUpgradeOptions struct { + baselineVersion string + linkNodeSDK bool + installDeps bool + setEnvRegion bool } -func test(t *testing.T, dir, baselineVersion string, opts ...providertest.Option) { - if len(opts) == 0 { - opts = []providertest.Option{withNoChangesInResourcesAndNoReplacementsInProvider()} +func skipIfShort(t *testing.T) { + if testing.Short() { + t.Skipf("Skipping in testing.Short() mode, assuming this is a CI run without credentials") } + +} +func testProviderUpgrade(t *testing.T, dir string, opts *testProviderUpgradeOptions) { skipIfShort(t) - if baselineVersion == "" { - baselineVersion = "5.42.0" - } - opts = append(opts, - providertest.WithProviderName("aws"), - providertest.WithBaselineVersion(baselineVersion), - providertest.WithResourceProviderServer(providerServer(t)), + t.Parallel() + t.Helper() + var ( + providerName string = "aws" + baselineVersion string = "5.42.0" ) - ptest := providertest.NewProviderTest(dir, opts...) - ptest.Run(t) -} - -func nodeTest(t *testing.T, dir string, opts ...providertest.Option) { - if len(opts) == 0 { - opts = []providertest.Option{withNoChangesInResourcesAndNoReplacementsInProvider()} + if opts != nil && opts.baselineVersion != "" { + baselineVersion = opts.baselineVersion } - envRegion := getEnvRegion(t) - opts = append(opts, - providertest.WithConfig("aws:region", "INVALID_REGION"), - providertest.WithConfig("aws:envRegion", envRegion), - ) - test(t, dir, "", opts...) -} - -// This version of nodeTest does not aws:region INVALID_REGION manipulation. -func simpleNodeTest(t *testing.T, dir string, opts ...providertest.Option) { - if len(opts) == 0 { - opts = []providertest.Option{withNoChangesInResourcesAndNoReplacementsInProvider()} + cwd, err := os.Getwd() + require.NoError(t, err) + options := []opttest.Option{ + opttest.DownloadProviderVersion(providerName, baselineVersion), + opttest.LocalProviderPath(providerName, filepath.Join(cwd, "..", "bin")), } - envRegion := getEnvRegion(t) - opts = append(opts, - providertest.WithConfig("aws:region", envRegion), - ) - test(t, dir, "", opts...) -} - -func TestUpgradeCoverage(t *testing.T) { - providertest.ReportUpgradeCoverage(t) -} - -func getEnvRegion(t *testing.T) string { - envRegion := os.Getenv("AWS_REGION") - if envRegion == "" { - envRegion = "us-west-2" + if opts == nil || !opts.installDeps { + options = append(options, opttest.SkipInstall()) } - return envRegion + if opts != nil && opts.linkNodeSDK { + options = append(options, opttest.YarnLink("@pulumi/aws")) + } + test := pulumitest.NewPulumiTest(t, dir, options...) + if opts != nil && opts.setEnvRegion { + test.SetConfig("aws:region", "INVALID_REGION") + test.SetConfig("aws:envRegion", getEnvRegion(t)) + } + result := providertest.PreviewProviderUpgrade( + test, providerName, baselineVersion, optproviderupgrade.DisableAttach(), + ) + assertpreview.HasNoReplacements(t, result) } diff --git a/provider/provider_yaml_test.go b/provider/provider_yaml_test.go index 52c6347a624..853a4e93540 100644 --- a/provider/provider_yaml_test.go +++ b/provider/provider_yaml_test.go @@ -12,130 +12,128 @@ import ( "path/filepath" "testing" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - - "github.com/pulumi/pulumi/sdk/v3/go/common/apitype" - - "github.com/pulumi/providertest" "github.com/pulumi/providertest/pulumitest" "github.com/pulumi/providertest/pulumitest/assertpreview" "github.com/pulumi/providertest/pulumitest/opttest" + "github.com/pulumi/pulumi/sdk/v3/go/common/apitype" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) -func TestBucket(t *testing.T) { - test(t, filepath.Join("test-programs", "bucket"), "") +func TestBucketUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "bucket"), nil) } -func TestEKSCluster(t *testing.T) { - test(t, filepath.Join("test-programs", "eks-cluster"), "") +func TestEKSClusterUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "eks-cluster"), nil) } -func TestRdsInstance(t *testing.T) { - test(t, filepath.Join("test-programs", "rds-instance"), "") +func TestRdsInstanceUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "rds-instance"), nil) } -func TestRoute53ResolverEndpoint(t *testing.T) { - test(t, filepath.Join("test-programs", "route53-resolver-endpoint"), "") +func TestRoute53ResolverEndpointUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "route53-resolver-endpoint"), nil) } -func TestSnsTopic(t *testing.T) { - test(t, filepath.Join("test-programs", "sns-topic"), "") +func TestSnsTopicUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "sns-topic"), nil) } -func TestApiGatewayIntegrationResponse(t *testing.T) { - test(t, filepath.Join("test-programs", "apigateway-integrationresponse"), "") +func TestApiGatewayIntegrationResponseUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "apigateway-integrationresponse"), nil) } -func TestApiGatewayMethodResponse(t *testing.T) { - test(t, filepath.Join("test-programs", "apigateway-methodreponse"), "") +func TestApiGatewayMethodResponseUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "apigateway-methodreponse"), nil) } -func TestApiGatewayResource(t *testing.T) { - test(t, filepath.Join("test-programs", "apigateway-resource"), "") +func TestApiGatewayResourceUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "apigateway-resource"), nil) } -func TestApiGatewayResourceResponse(t *testing.T) { - test(t, filepath.Join("test-programs", "apigateway-resource-response"), "") +func TestApiGatewayResourceResponseUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "apigateway-resource-response"), nil) } -func TestCloudwatchEventRule(t *testing.T) { - test(t, filepath.Join("test-programs", "cloudwatch-eventrule"), "") +func TestCloudwatchEventRuleUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "cloudwatch-eventrule"), nil) } -func TestCloudwatchLogGroup(t *testing.T) { - test(t, filepath.Join("test-programs", "cloudwatch-loggroup"), "") +func TestCloudwatchLogGroupUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "cloudwatch-loggroup"), nil) } -func TestDynamoTable(t *testing.T) { - test(t, filepath.Join("test-programs", "dynamodb-table"), "", - providertest.WithDiffValidation(providertest.NoReplacements())) +func TestDynamoTableUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "dynamodb-table"), nil) } -func TestEcrLifecyclePolicy(t *testing.T) { - test(t, filepath.Join("test-programs", "ecr-lifecyclepolicy"), "") +func TestEcrLifecyclePolicyUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "ecr-lifecyclepolicy"), nil) } -func TestEcrRepository(t *testing.T) { - test(t, filepath.Join("test-programs", "ecr-repository"), "") +func TestEcrRepositoryUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "ecr-repository"), nil) } -func TestIamInstanceProfile(t *testing.T) { - test(t, filepath.Join("test-programs", "iam-instanceprofile"), "") +func TestIamInstanceProfileUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "iam-instanceprofile"), nil) } -func TestIamOpenIDConnectProvider(t *testing.T) { - test(t, filepath.Join("test-programs", "iam-openidconnectprovider"), "") +func TestIamOpenIDConnectProviderUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "iam-openidconnectprovider"), nil) } -func TestKmsKey(t *testing.T) { - test(t, filepath.Join("test-programs", "kms-key"), "") +func TestKmsKeyUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "kms-key"), nil) } -func TestSecretsManagerSecret(t *testing.T) { - test(t, filepath.Join("test-programs", "secretsmanager-secret"), "") +func TestSecretsManagerSecretUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "secretsmanager-secret"), nil) } -func TestEC2Networking(t *testing.T) { - test(t, filepath.Join("test-programs", "ec2-networking"), "") +func TestEC2NetworkingUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "ec2-networking"), nil) } -func TestECSService(t *testing.T) { - test(t, filepath.Join("test-programs", "ecs-service"), "") +func TestECSServiceUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "ecs-service"), nil) } -func TestIAMUser(t *testing.T) { - test(t, filepath.Join("test-programs", "iam-user"), "") +func TestIAMUserUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "iam-user"), nil) } -func TestLB(t *testing.T) { - test(t, filepath.Join("test-programs", "lb"), "") +func TestLBUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "lb"), nil) } -func TestACM(t *testing.T) { +func TestACMUpgrade(t *testing.T) { t.Skip("Blocked by https://github.com/pulumi/pulumi-aws/issues/3617") - test(t, filepath.Join("test-programs", "acm"), "") + testProviderUpgrade(t, filepath.Join("test-programs", "acm"), nil) } -func TestBucketObj(t *testing.T) { - test(t, filepath.Join("test-programs", "bucket-obj"), "") +func TestBucketObjUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "bucket-obj"), nil) } -func TestSubnetGroup(t *testing.T) { - test(t, filepath.Join("test-programs", "subnet-group"), "") +func TestSubnetGroupUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "subnet-group"), nil) } -func TestEC2Instance(t *testing.T) { - test(t, filepath.Join("test-programs", "ec2-instance"), "") +func TestEC2InstanceUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "ec2-instance"), nil) } -func TestCloudfrontDistribution(t *testing.T) { +func TestCloudfrontDistributionUpgrade(t *testing.T) { // Baseline version is needed because of https://github.com/pulumi/providertest/issues/76 - test(t, filepath.Join("test-programs", "cloudfront-distribution"), "6.10.0") + testProviderUpgrade(t, filepath.Join("test-programs", "cloudfront-distribution"), &testProviderUpgradeOptions{ + baselineVersion: "6.10.0", + }) } -func TestSecretVersion(t *testing.T) { - test(t, filepath.Join("test-programs", "secretversion"), "") +func TestSecretVersionUpgrade(t *testing.T) { + testProviderUpgrade(t, filepath.Join("test-programs", "secretversion"), nil) } func TestRdsParameterGroupUnclearDiff(t *testing.T) { diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/stack.json new file mode 100755 index 00000000000..3d1a04345f0 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/stack.json @@ -0,0 +1,309 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:22:44.905155-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:i0/ySZWgBkQ=:v1:Iw74V0fEkgmoX2uG:nchRT/D8aSS2K0sHzjVBfS3e4F0WBw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:22:40.028812Z", + "modified": "2023-11-10T22:22:40.028812Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default", + "custom": true, + "id": "47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:22:41.548744Z", + "modified": "2023-11-10T22:22:41.548744Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI", + "custom": true, + "id": "8090b7t91j", + "type": "aws:apigateway/restApi:RestApi", + "inputs": { + "__defaults": [ + "minimumCompressionSize", + "putRestApiMode" + ], + "description": "This is my API for demonstration purposes", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "putRestApiMode": "overwrite" + }, + "outputs": { + "apiKeySource": "HEADER", + "arn": "arn:aws:apigateway:us-west-2::/restapis/8090b7t91j", + "binaryMediaTypes": [], + "createdDate": "2023-11-10T22:22:43Z", + "description": "This is my API for demonstration purposes", + "disableExecuteApiEndpoint": false, + "endpointConfiguration": { + "types": "EDGE", + "vpcEndpointIds": [] + }, + "executionArn": "arn:aws:execute-api:us-west-2:616138583583:8090b7t91j", + "id": "8090b7t91j", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "policy": "", + "rootResourceId": "xve0jae97i", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "provider": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "propertyDependencies": { + "description": null, + "name": null + }, + "created": "2023-11-10T22:22:43.921565Z", + "modified": "2023-11-10T22:22:43.921565Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "custom": true, + "id": "l6muv6", + "type": "aws:apigateway/resource:Resource", + "inputs": { + "__defaults": [], + "parentId": "xve0jae97i", + "pathPart": "mydemoresource", + "restApi": "8090b7t91j" + }, + "outputs": { + "id": "l6muv6", + "parentId": "xve0jae97i", + "path": "/mydemoresource", + "pathPart": "mydemoresource", + "restApi": "8090b7t91j" + }, + "parent": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "propertyDependencies": { + "parentId": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "pathPart": null, + "restApi": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ] + }, + "created": "2023-11-10T22:22:44.256579Z", + "modified": "2023-11-10T22:22:44.256579Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "custom": true, + "id": "agm-8090b7t91j-l6muv6-GET", + "type": "aws:apigateway/method:Method", + "inputs": { + "__defaults": [ + "apiKeyRequired" + ], + "apiKeyRequired": false, + "authorization": "NONE", + "httpMethod": "GET", + "resourceId": "l6muv6", + "restApi": "8090b7t91j" + }, + "outputs": { + "apiKeyRequired": false, + "authorization": "NONE", + "httpMethod": "GET", + "id": "agm-8090b7t91j-l6muv6-GET", + "resourceId": "l6muv6", + "restApi": "8090b7t91j" + }, + "parent": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "propertyDependencies": { + "authorization": null, + "httpMethod": null, + "resourceId": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "restApi": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ] + }, + "created": "2023-11-10T22:22:44.429046Z", + "modified": "2023-11-10T22:22:44.429046Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200", + "custom": true, + "id": "agmr-8090b7t91j-l6muv6-GET-200", + "type": "aws:apigateway/methodResponse:MethodResponse", + "inputs": { + "__defaults": [], + "httpMethod": "GET", + "resourceId": "l6muv6", + "restApi": "8090b7t91j", + "statusCode": "200" + }, + "outputs": { + "httpMethod": "GET", + "id": "agmr-8090b7t91j-l6muv6-GET-200", + "resourceId": "l6muv6", + "restApi": "8090b7t91j", + "statusCode": "200" + }, + "parent": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "propertyDependencies": { + "httpMethod": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod" + ], + "resourceId": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "restApi": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "statusCode": null + }, + "created": "2023-11-10T22:22:44.594752Z", + "modified": "2023-11-10T22:22:44.594752Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/integration:Integration::MyDemoIntegration", + "custom": true, + "id": "agi-8090b7t91j-l6muv6-GET", + "type": "aws:apigateway/integration:Integration", + "inputs": { + "__defaults": [ + "connectionType", + "timeoutMilliseconds" + ], + "connectionType": "INTERNET", + "httpMethod": "GET", + "resourceId": "l6muv6", + "restApi": "8090b7t91j", + "timeoutMilliseconds": 29000, + "type": "MOCK" + }, + "outputs": { + "cacheKeyParameters": [], + "cacheNamespace": "l6muv6", + "connectionId": "", + "connectionType": "INTERNET", + "contentHandling": "", + "credentials": "", + "httpMethod": "GET", + "id": "agi-8090b7t91j-l6muv6-GET", + "integrationHttpMethod": "", + "passthroughBehavior": "WHEN_NO_MATCH", + "requestParameters": {}, + "requestTemplates": {}, + "resourceId": "l6muv6", + "restApi": "8090b7t91j", + "timeoutMilliseconds": 29000, + "tlsConfig": null, + "type": "MOCK", + "uri": "" + }, + "parent": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "propertyDependencies": { + "httpMethod": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod" + ], + "resourceId": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "restApi": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "type": null + }, + "created": "2023-11-10T22:22:44.733078Z", + "modified": "2023-11-10T22:22:44.733078Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/integrationResponse:IntegrationResponse::MyDemoIntegrationResponse", + "custom": true, + "id": "agir-8090b7t91j-l6muv6-GET-200", + "type": "aws:apigateway/integrationResponse:IntegrationResponse", + "inputs": { + "__defaults": [], + "httpMethod": "GET", + "resourceId": "l6muv6", + "responseTemplates": { + "__defaults": [], + "application/xml": "#set($inputRoot = $input.path('$'))\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cmessage\u003e\n $inputRoot.body\n\u003c/message\u003e\n" + }, + "restApi": "8090b7t91j", + "statusCode": "200" + }, + "outputs": { + "contentHandling": "", + "httpMethod": "GET", + "id": "agir-8090b7t91j-l6muv6-GET-200", + "resourceId": "l6muv6", + "responseParameters": {}, + "responseTemplates": { + "application/xml": "#set($inputRoot = $input.path('$'))\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cmessage\u003e\n $inputRoot.body\n\u003c/message\u003e\n" + }, + "restApi": "8090b7t91j", + "selectionPattern": "", + "statusCode": "200" + }, + "parent": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", + "propertyDependencies": { + "httpMethod": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod" + ], + "resourceId": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "responseTemplates": null, + "restApi": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "statusCode": [ + "urn:pulumi:test::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200" + ] + }, + "created": "2023-11-10T22:22:44.905004Z", + "modified": "2023-11-10T22:22:44.905004Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/state.json deleted file mode 100755 index ba3baa24d36..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/apigateway-integrationresponse/5.42.0/state.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:22:44.905155-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:i0/ySZWgBkQ=:v1:Iw74V0fEkgmoX2uG:nchRT/D8aSS2K0sHzjVBfS3e4F0WBw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:22:40.028812Z", - "modified": "2023-11-10T22:22:40.028812Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default", - "custom": true, - "id": "47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:22:41.548744Z", - "modified": "2023-11-10T22:22:41.548744Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI", - "custom": true, - "id": "8090b7t91j", - "type": "aws:apigateway/restApi:RestApi", - "inputs": { - "__defaults": [ - "minimumCompressionSize", - "putRestApiMode" - ], - "description": "This is my API for demonstration purposes", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "putRestApiMode": "overwrite" - }, - "outputs": { - "apiKeySource": "HEADER", - "arn": "arn:aws:apigateway:us-west-2::/restapis/8090b7t91j", - "binaryMediaTypes": [], - "createdDate": "2023-11-10T22:22:43Z", - "description": "This is my API for demonstration purposes", - "disableExecuteApiEndpoint": false, - "endpointConfiguration": { - "types": "EDGE", - "vpcEndpointIds": [] - }, - "executionArn": "arn:aws:execute-api:us-west-2:616138583583:8090b7t91j", - "id": "8090b7t91j", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "policy": "", - "rootResourceId": "xve0jae97i", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "provider": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "propertyDependencies": { - "description": null, - "name": null - }, - "created": "2023-11-10T22:22:43.921565Z", - "modified": "2023-11-10T22:22:43.921565Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "custom": true, - "id": "l6muv6", - "type": "aws:apigateway/resource:Resource", - "inputs": { - "__defaults": [], - "parentId": "xve0jae97i", - "pathPart": "mydemoresource", - "restApi": "8090b7t91j" - }, - "outputs": { - "id": "l6muv6", - "parentId": "xve0jae97i", - "path": "/mydemoresource", - "pathPart": "mydemoresource", - "restApi": "8090b7t91j" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "propertyDependencies": { - "parentId": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "pathPart": null, - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ] - }, - "created": "2023-11-10T22:22:44.256579Z", - "modified": "2023-11-10T22:22:44.256579Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "custom": true, - "id": "agm-8090b7t91j-l6muv6-GET", - "type": "aws:apigateway/method:Method", - "inputs": { - "__defaults": [ - "apiKeyRequired" - ], - "apiKeyRequired": false, - "authorization": "NONE", - "httpMethod": "GET", - "resourceId": "l6muv6", - "restApi": "8090b7t91j" - }, - "outputs": { - "apiKeyRequired": false, - "authorization": "NONE", - "httpMethod": "GET", - "id": "agm-8090b7t91j-l6muv6-GET", - "resourceId": "l6muv6", - "restApi": "8090b7t91j" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "propertyDependencies": { - "authorization": null, - "httpMethod": null, - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ] - }, - "created": "2023-11-10T22:22:44.429046Z", - "modified": "2023-11-10T22:22:44.429046Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200", - "custom": true, - "id": "agmr-8090b7t91j-l6muv6-GET-200", - "type": "aws:apigateway/methodResponse:MethodResponse", - "inputs": { - "__defaults": [], - "httpMethod": "GET", - "resourceId": "l6muv6", - "restApi": "8090b7t91j", - "statusCode": "200" - }, - "outputs": { - "httpMethod": "GET", - "id": "agmr-8090b7t91j-l6muv6-GET-200", - "resourceId": "l6muv6", - "restApi": "8090b7t91j", - "statusCode": "200" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "propertyDependencies": { - "httpMethod": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod" - ], - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "statusCode": null - }, - "created": "2023-11-10T22:22:44.594752Z", - "modified": "2023-11-10T22:22:44.594752Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/integration:Integration::MyDemoIntegration", - "custom": true, - "id": "agi-8090b7t91j-l6muv6-GET", - "type": "aws:apigateway/integration:Integration", - "inputs": { - "__defaults": [ - "connectionType", - "timeoutMilliseconds" - ], - "connectionType": "INTERNET", - "httpMethod": "GET", - "resourceId": "l6muv6", - "restApi": "8090b7t91j", - "timeoutMilliseconds": 29000, - "type": "MOCK" - }, - "outputs": { - "cacheKeyParameters": [], - "cacheNamespace": "l6muv6", - "connectionId": "", - "connectionType": "INTERNET", - "contentHandling": "", - "credentials": "", - "httpMethod": "GET", - "id": "agi-8090b7t91j-l6muv6-GET", - "integrationHttpMethod": "", - "passthroughBehavior": "WHEN_NO_MATCH", - "requestParameters": {}, - "requestTemplates": {}, - "resourceId": "l6muv6", - "restApi": "8090b7t91j", - "timeoutMilliseconds": 29000, - "tlsConfig": null, - "type": "MOCK", - "uri": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "propertyDependencies": { - "httpMethod": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod" - ], - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "type": null - }, - "created": "2023-11-10T22:22:44.733078Z", - "modified": "2023-11-10T22:22:44.733078Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/integrationResponse:IntegrationResponse::MyDemoIntegrationResponse", - "custom": true, - "id": "agir-8090b7t91j-l6muv6-GET-200", - "type": "aws:apigateway/integrationResponse:IntegrationResponse", - "inputs": { - "__defaults": [], - "httpMethod": "GET", - "resourceId": "l6muv6", - "responseTemplates": { - "__defaults": [], - "application/xml": "#set($inputRoot = $input.path('$'))\n\n\n $inputRoot.body\n\n" - }, - "restApi": "8090b7t91j", - "statusCode": "200" - }, - "outputs": { - "contentHandling": "", - "httpMethod": "GET", - "id": "agir-8090b7t91j-l6muv6-GET-200", - "resourceId": "l6muv6", - "responseParameters": {}, - "responseTemplates": { - "application/xml": "#set($inputRoot = $input.path('$'))\n\n\n $inputRoot.body\n\n" - }, - "restApi": "8090b7t91j", - "selectionPattern": "", - "statusCode": "200" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:pulumi:Stack::aws_apigateway_integrationResponse_IntegrationResponse_1-p-it-antons-mac-apigateway-810f314f", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::pulumi:providers:aws::default::47089dfc-1626-4f86-86ff-e7fe287ad4d1", - "propertyDependencies": { - "httpMethod": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/method:Method::MyDemoMethod" - ], - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "responseTemplates": null, - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "statusCode": [ - "urn:pulumi:p-it-antons-mac-apigateway-810f314f::aws_apigateway_integrationResponse_IntegrationResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200" - ] - }, - "created": "2023-11-10T22:22:44.905004Z", - "modified": "2023-11-10T22:22:44.905004Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/stack.json new file mode 100755 index 00000000000..c93ee487125 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/stack.json @@ -0,0 +1,254 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:23:05.006273-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:6d1Qq1wIc9c=:v1:MzIicgMpnxidEKdL:J7DiXS+xanaSAys5vVuyUOqpYM8ZvQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:23:00.499782Z", + "modified": "2023-11-10T22:23:00.499782Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default", + "custom": true, + "id": "19f04ff8-cf1c-4d97-be78-14613ed05740", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:23:02.025248Z", + "modified": "2023-11-10T22:23:02.025248Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI", + "custom": true, + "id": "v1ve06ocl6", + "type": "aws:apigateway/restApi:RestApi", + "inputs": { + "__defaults": [ + "minimumCompressionSize", + "putRestApiMode" + ], + "description": "This is my API for demonstration purposes", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "putRestApiMode": "overwrite" + }, + "outputs": { + "apiKeySource": "HEADER", + "arn": "arn:aws:apigateway:us-west-2::/restapis/v1ve06ocl6", + "binaryMediaTypes": [], + "createdDate": "2023-11-10T22:23:03Z", + "description": "This is my API for demonstration purposes", + "disableExecuteApiEndpoint": false, + "endpointConfiguration": { + "types": "EDGE", + "vpcEndpointIds": [] + }, + "executionArn": "arn:aws:execute-api:us-west-2:616138583583:v1ve06ocl6", + "id": "v1ve06ocl6", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "policy": "", + "rootResourceId": "6l6ql3hnui", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-test", + "provider": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", + "propertyDependencies": { + "description": null, + "name": null + }, + "created": "2023-11-10T22:23:04.256536Z", + "modified": "2023-11-10T22:23:04.256536Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "custom": true, + "id": "owzlrx", + "type": "aws:apigateway/resource:Resource", + "inputs": { + "__defaults": [], + "parentId": "6l6ql3hnui", + "pathPart": "mydemoresource", + "restApi": "v1ve06ocl6" + }, + "outputs": { + "id": "owzlrx", + "parentId": "6l6ql3hnui", + "path": "/mydemoresource", + "pathPart": "mydemoresource", + "restApi": "v1ve06ocl6" + }, + "parent": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", + "propertyDependencies": { + "parentId": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "pathPart": null, + "restApi": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ] + }, + "created": "2023-11-10T22:23:04.552754Z", + "modified": "2023-11-10T22:23:04.552754Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "custom": true, + "id": "agm-v1ve06ocl6-owzlrx-GET", + "type": "aws:apigateway/method:Method", + "inputs": { + "__defaults": [ + "apiKeyRequired" + ], + "apiKeyRequired": false, + "authorization": "NONE", + "httpMethod": "GET", + "resourceId": "owzlrx", + "restApi": "v1ve06ocl6" + }, + "outputs": { + "apiKeyRequired": false, + "authorization": "NONE", + "httpMethod": "GET", + "id": "agm-v1ve06ocl6-owzlrx-GET", + "resourceId": "owzlrx", + "restApi": "v1ve06ocl6" + }, + "parent": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", + "propertyDependencies": { + "authorization": null, + "httpMethod": null, + "resourceId": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "restApi": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ] + }, + "created": "2023-11-10T22:23:04.713501Z", + "modified": "2023-11-10T22:23:04.713501Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200", + "custom": true, + "id": "agmr-v1ve06ocl6-owzlrx-GET-200", + "type": "aws:apigateway/methodResponse:MethodResponse", + "inputs": { + "__defaults": [], + "httpMethod": "GET", + "resourceId": "owzlrx", + "restApi": "v1ve06ocl6", + "statusCode": "200" + }, + "outputs": { + "httpMethod": "GET", + "id": "agmr-v1ve06ocl6-owzlrx-GET-200", + "resourceId": "owzlrx", + "restApi": "v1ve06ocl6", + "statusCode": "200" + }, + "parent": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", + "propertyDependencies": { + "httpMethod": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod" + ], + "resourceId": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "restApi": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "statusCode": null + }, + "created": "2023-11-10T22:23:04.865088Z", + "modified": "2023-11-10T22:23:04.865088Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/integration:Integration::MyDemoIntegration", + "custom": true, + "id": "agi-v1ve06ocl6-owzlrx-GET", + "type": "aws:apigateway/integration:Integration", + "inputs": { + "__defaults": [ + "connectionType", + "timeoutMilliseconds" + ], + "connectionType": "INTERNET", + "httpMethod": "GET", + "resourceId": "owzlrx", + "restApi": "v1ve06ocl6", + "timeoutMilliseconds": 29000, + "type": "MOCK" + }, + "outputs": { + "cacheKeyParameters": [], + "cacheNamespace": "owzlrx", + "connectionId": "", + "connectionType": "INTERNET", + "contentHandling": "", + "credentials": "", + "httpMethod": "GET", + "id": "agi-v1ve06ocl6-owzlrx-GET", + "integrationHttpMethod": "", + "passthroughBehavior": "WHEN_NO_MATCH", + "requestParameters": {}, + "requestTemplates": {}, + "resourceId": "owzlrx", + "restApi": "v1ve06ocl6", + "timeoutMilliseconds": 29000, + "tlsConfig": null, + "type": "MOCK", + "uri": "" + }, + "parent": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod", + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", + "propertyDependencies": { + "httpMethod": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod" + ], + "resourceId": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource" + ], + "restApi": [ + "urn:pulumi:test::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "type": null + }, + "created": "2023-11-10T22:23:05.006089Z", + "modified": "2023-11-10T22:23:05.006089Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/state.json deleted file mode 100755 index 2606bea0aaf..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/apigateway-methodreponse/5.42.0/state.json +++ /dev/null @@ -1,254 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:23:05.006273-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:6d1Qq1wIc9c=:v1:MzIicgMpnxidEKdL:J7DiXS+xanaSAys5vVuyUOqpYM8ZvQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-p-it-antons-mac-apigateway-bfd86f6a", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:23:00.499782Z", - "modified": "2023-11-10T22:23:00.499782Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default", - "custom": true, - "id": "19f04ff8-cf1c-4d97-be78-14613ed05740", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:23:02.025248Z", - "modified": "2023-11-10T22:23:02.025248Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI", - "custom": true, - "id": "v1ve06ocl6", - "type": "aws:apigateway/restApi:RestApi", - "inputs": { - "__defaults": [ - "minimumCompressionSize", - "putRestApiMode" - ], - "description": "This is my API for demonstration purposes", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "putRestApiMode": "overwrite" - }, - "outputs": { - "apiKeySource": "HEADER", - "arn": "arn:aws:apigateway:us-west-2::/restapis/v1ve06ocl6", - "binaryMediaTypes": [], - "createdDate": "2023-11-10T22:23:03Z", - "description": "This is my API for demonstration purposes", - "disableExecuteApiEndpoint": false, - "endpointConfiguration": { - "types": "EDGE", - "vpcEndpointIds": [] - }, - "executionArn": "arn:aws:execute-api:us-west-2:616138583583:v1ve06ocl6", - "id": "v1ve06ocl6", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "policy": "", - "rootResourceId": "6l6ql3hnui", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-p-it-antons-mac-apigateway-bfd86f6a", - "provider": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", - "propertyDependencies": { - "description": null, - "name": null - }, - "created": "2023-11-10T22:23:04.256536Z", - "modified": "2023-11-10T22:23:04.256536Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "custom": true, - "id": "owzlrx", - "type": "aws:apigateway/resource:Resource", - "inputs": { - "__defaults": [], - "parentId": "6l6ql3hnui", - "pathPart": "mydemoresource", - "restApi": "v1ve06ocl6" - }, - "outputs": { - "id": "owzlrx", - "parentId": "6l6ql3hnui", - "path": "/mydemoresource", - "pathPart": "mydemoresource", - "restApi": "v1ve06ocl6" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-p-it-antons-mac-apigateway-bfd86f6a", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", - "propertyDependencies": { - "parentId": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "pathPart": null, - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ] - }, - "created": "2023-11-10T22:23:04.552754Z", - "modified": "2023-11-10T22:23:04.552754Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "custom": true, - "id": "agm-v1ve06ocl6-owzlrx-GET", - "type": "aws:apigateway/method:Method", - "inputs": { - "__defaults": [ - "apiKeyRequired" - ], - "apiKeyRequired": false, - "authorization": "NONE", - "httpMethod": "GET", - "resourceId": "owzlrx", - "restApi": "v1ve06ocl6" - }, - "outputs": { - "apiKeyRequired": false, - "authorization": "NONE", - "httpMethod": "GET", - "id": "agm-v1ve06ocl6-owzlrx-GET", - "resourceId": "owzlrx", - "restApi": "v1ve06ocl6" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-p-it-antons-mac-apigateway-bfd86f6a", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", - "propertyDependencies": { - "authorization": null, - "httpMethod": null, - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ] - }, - "created": "2023-11-10T22:23:04.713501Z", - "modified": "2023-11-10T22:23:04.713501Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/methodResponse:MethodResponse::response_200", - "custom": true, - "id": "agmr-v1ve06ocl6-owzlrx-GET-200", - "type": "aws:apigateway/methodResponse:MethodResponse", - "inputs": { - "__defaults": [], - "httpMethod": "GET", - "resourceId": "owzlrx", - "restApi": "v1ve06ocl6", - "statusCode": "200" - }, - "outputs": { - "httpMethod": "GET", - "id": "agmr-v1ve06ocl6-owzlrx-GET-200", - "resourceId": "owzlrx", - "restApi": "v1ve06ocl6", - "statusCode": "200" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-p-it-antons-mac-apigateway-bfd86f6a", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", - "propertyDependencies": { - "httpMethod": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod" - ], - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "statusCode": null - }, - "created": "2023-11-10T22:23:04.865088Z", - "modified": "2023-11-10T22:23:04.865088Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/integration:Integration::MyDemoIntegration", - "custom": true, - "id": "agi-v1ve06ocl6-owzlrx-GET", - "type": "aws:apigateway/integration:Integration", - "inputs": { - "__defaults": [ - "connectionType", - "timeoutMilliseconds" - ], - "connectionType": "INTERNET", - "httpMethod": "GET", - "resourceId": "owzlrx", - "restApi": "v1ve06ocl6", - "timeoutMilliseconds": 29000, - "type": "MOCK" - }, - "outputs": { - "cacheKeyParameters": [], - "cacheNamespace": "owzlrx", - "connectionId": "", - "connectionType": "INTERNET", - "contentHandling": "", - "credentials": "", - "httpMethod": "GET", - "id": "agi-v1ve06ocl6-owzlrx-GET", - "integrationHttpMethod": "", - "passthroughBehavior": "WHEN_NO_MATCH", - "requestParameters": {}, - "requestTemplates": {}, - "resourceId": "owzlrx", - "restApi": "v1ve06ocl6", - "timeoutMilliseconds": 29000, - "tlsConfig": null, - "type": "MOCK", - "uri": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:pulumi:Stack::aws_apigateway_methodResponse_MethodResponse_1-p-it-antons-mac-apigateway-bfd86f6a", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod", - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource", - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::pulumi:providers:aws::default::19f04ff8-cf1c-4d97-be78-14613ed05740", - "propertyDependencies": { - "httpMethod": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/method:Method::MyDemoMethod" - ], - "resourceId": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/resource:Resource::MyDemoResource" - ], - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-bfd86f6a::aws_apigateway_methodResponse_MethodResponse_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "type": null - }, - "created": "2023-11-10T22:23:05.006089Z", - "modified": "2023-11-10T22:23:05.006089Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/stack.json new file mode 100755 index 00000000000..4bc11eb39a6 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/stack.json @@ -0,0 +1,123 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:24:05.480481-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:XfYbQeisvfU=:v1:jZtpXu8rm0Ht+u8/:MGRBBzz425cuJYtWyk+mH0FI5PuXlQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_apigateway_response_Response_1::pulumi:pulumi:Stack::aws_apigateway_response_Response_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:24:01.411687Z", + "modified": "2023-11-10T22:24:01.411687Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_response_Response_1::pulumi:providers:aws::default", + "custom": true, + "id": "a28d17c1-daba-45a2-9864-e80dc01b5b6c", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:24:02.916117Z", + "modified": "2023-11-10T22:24:02.916117Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_response_Response_1::aws:apigateway/restApi:RestApi::main", + "custom": true, + "id": "34gp6aak93", + "type": "aws:apigateway/restApi:RestApi", + "inputs": { + "__defaults": [ + "minimumCompressionSize", + "putRestApiMode" + ], + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "putRestApiMode": "overwrite" + }, + "outputs": { + "apiKeySource": "HEADER", + "arn": "arn:aws:apigateway:us-west-2::/restapis/34gp6aak93", + "binaryMediaTypes": [], + "createdDate": "2023-11-10T22:24:04Z", + "description": "", + "disableExecuteApiEndpoint": false, + "endpointConfiguration": { + "types": "EDGE", + "vpcEndpointIds": [] + }, + "executionArn": "arn:aws:execute-api:us-west-2:616138583583:34gp6aak93", + "id": "34gp6aak93", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "policy": "", + "rootResourceId": "v8goeg5ayh", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_apigateway_response_Response_1::pulumi:pulumi:Stack::aws_apigateway_response_Response_1-test", + "provider": "urn:pulumi:test::aws_apigateway_response_Response_1::pulumi:providers:aws::default::a28d17c1-daba-45a2-9864-e80dc01b5b6c", + "propertyDependencies": { + "name": null + }, + "created": "2023-11-10T22:24:05.184982Z", + "modified": "2023-11-10T22:24:05.184982Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_response_Response_1::aws:apigateway/response:Response::test", + "custom": true, + "id": "aggr-34gp6aak93-UNAUTHORIZED", + "type": "aws:apigateway/response:Response", + "inputs": { + "__defaults": [], + "responseParameters": { + "__defaults": [], + "gatewayresponse.header.Authorization": "'Basic'" + }, + "responseTemplates": { + "__defaults": [], + "application/json": "{\"message\":$context.error.messageString}" + }, + "responseType": "UNAUTHORIZED", + "restApiId": "34gp6aak93", + "statusCode": "401" + }, + "outputs": { + "id": "aggr-34gp6aak93-UNAUTHORIZED", + "responseParameters": { + "gatewayresponse.header.Authorization": "'Basic'" + }, + "responseTemplates": { + "application/json": "{\"message\":$context.error.messageString}" + }, + "responseType": "UNAUTHORIZED", + "restApiId": "34gp6aak93", + "statusCode": "401" + }, + "parent": "urn:pulumi:test::aws_apigateway_response_Response_1::pulumi:pulumi:Stack::aws_apigateway_response_Response_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_response_Response_1::aws:apigateway/restApi:RestApi::main" + ], + "provider": "urn:pulumi:test::aws_apigateway_response_Response_1::pulumi:providers:aws::default::a28d17c1-daba-45a2-9864-e80dc01b5b6c", + "propertyDependencies": { + "responseParameters": null, + "responseTemplates": null, + "responseType": null, + "restApiId": [ + "urn:pulumi:test::aws_apigateway_response_Response_1::aws:apigateway/restApi:RestApi::main" + ], + "statusCode": null + }, + "created": "2023-11-10T22:24:05.480246Z", + "modified": "2023-11-10T22:24:05.480246Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/state.json deleted file mode 100755 index 35617b543ad..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource-response/5.42.0/state.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:24:05.480481-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:XfYbQeisvfU=:v1:jZtpXu8rm0Ht+u8/:MGRBBzz425cuJYtWyk+mH0FI5PuXlQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::pulumi:pulumi:Stack::aws_apigateway_response_Response_1-p-it-antons-mac-apigateway-e5364dd4", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:24:01.411687Z", - "modified": "2023-11-10T22:24:01.411687Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::pulumi:providers:aws::default", - "custom": true, - "id": "a28d17c1-daba-45a2-9864-e80dc01b5b6c", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:24:02.916117Z", - "modified": "2023-11-10T22:24:02.916117Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::aws:apigateway/restApi:RestApi::main", - "custom": true, - "id": "34gp6aak93", - "type": "aws:apigateway/restApi:RestApi", - "inputs": { - "__defaults": [ - "minimumCompressionSize", - "putRestApiMode" - ], - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "putRestApiMode": "overwrite" - }, - "outputs": { - "apiKeySource": "HEADER", - "arn": "arn:aws:apigateway:us-west-2::/restapis/34gp6aak93", - "binaryMediaTypes": [], - "createdDate": "2023-11-10T22:24:04Z", - "description": "", - "disableExecuteApiEndpoint": false, - "endpointConfiguration": { - "types": "EDGE", - "vpcEndpointIds": [] - }, - "executionArn": "arn:aws:execute-api:us-west-2:616138583583:34gp6aak93", - "id": "34gp6aak93", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "policy": "", - "rootResourceId": "v8goeg5ayh", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::pulumi:pulumi:Stack::aws_apigateway_response_Response_1-p-it-antons-mac-apigateway-e5364dd4", - "provider": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::pulumi:providers:aws::default::a28d17c1-daba-45a2-9864-e80dc01b5b6c", - "propertyDependencies": { - "name": null - }, - "created": "2023-11-10T22:24:05.184982Z", - "modified": "2023-11-10T22:24:05.184982Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::aws:apigateway/response:Response::test", - "custom": true, - "id": "aggr-34gp6aak93-UNAUTHORIZED", - "type": "aws:apigateway/response:Response", - "inputs": { - "__defaults": [], - "responseParameters": { - "__defaults": [], - "gatewayresponse.header.Authorization": "'Basic'" - }, - "responseTemplates": { - "__defaults": [], - "application/json": "{\"message\":$context.error.messageString}" - }, - "responseType": "UNAUTHORIZED", - "restApiId": "34gp6aak93", - "statusCode": "401" - }, - "outputs": { - "id": "aggr-34gp6aak93-UNAUTHORIZED", - "responseParameters": { - "gatewayresponse.header.Authorization": "'Basic'" - }, - "responseTemplates": { - "application/json": "{\"message\":$context.error.messageString}" - }, - "responseType": "UNAUTHORIZED", - "restApiId": "34gp6aak93", - "statusCode": "401" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::pulumi:pulumi:Stack::aws_apigateway_response_Response_1-p-it-antons-mac-apigateway-e5364dd4", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::aws:apigateway/restApi:RestApi::main" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::pulumi:providers:aws::default::a28d17c1-daba-45a2-9864-e80dc01b5b6c", - "propertyDependencies": { - "responseParameters": null, - "responseTemplates": null, - "responseType": null, - "restApiId": [ - "urn:pulumi:p-it-antons-mac-apigateway-e5364dd4::aws_apigateway_response_Response_1::aws:apigateway/restApi:RestApi::main" - ], - "statusCode": null - }, - "created": "2023-11-10T22:24:05.480246Z", - "modified": "2023-11-10T22:24:05.480246Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/stack.json new file mode 100755 index 00000000000..fa9a95ab9ee --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/stack.json @@ -0,0 +1,112 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:23:45.501178-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:VNQibGisLgo=:v1:YDNWvbCY7UDtxu3V:p8GRd3WZT1bzy6PttoGyn803R6/08A==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_apigateway_resource_Resource_1::pulumi:pulumi:Stack::aws_apigateway_resource_Resource_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:23:41.032446Z", + "modified": "2023-11-10T22:23:41.032446Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_resource_Resource_1::pulumi:providers:aws::default", + "custom": true, + "id": "c4fe7209-5c84-4dac-a340-fe52d0c0c7ee", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:23:42.869571Z", + "modified": "2023-11-10T22:23:42.869571Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI", + "custom": true, + "id": "v28mh7azfa", + "type": "aws:apigateway/restApi:RestApi", + "inputs": { + "__defaults": [ + "minimumCompressionSize", + "putRestApiMode" + ], + "description": "This is my API for demonstration purposes", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "putRestApiMode": "overwrite" + }, + "outputs": { + "apiKeySource": "HEADER", + "arn": "arn:aws:apigateway:us-west-2::/restapis/v28mh7azfa", + "binaryMediaTypes": [], + "createdDate": "2023-11-10T22:23:44Z", + "description": "This is my API for demonstration purposes", + "disableExecuteApiEndpoint": false, + "endpointConfiguration": { + "types": "EDGE", + "vpcEndpointIds": [] + }, + "executionArn": "arn:aws:execute-api:us-west-2:616138583583:v28mh7azfa", + "id": "v28mh7azfa", + "minimumCompressionSize": -1, + "name": "MyDemoAPI", + "policy": "", + "rootResourceId": "6rjd786lw0", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_apigateway_resource_Resource_1::pulumi:pulumi:Stack::aws_apigateway_resource_Resource_1-test", + "provider": "urn:pulumi:test::aws_apigateway_resource_Resource_1::pulumi:providers:aws::default::c4fe7209-5c84-4dac-a340-fe52d0c0c7ee", + "propertyDependencies": { + "description": null, + "name": null + }, + "created": "2023-11-10T22:23:45.212076Z", + "modified": "2023-11-10T22:23:45.212076Z" + }, + { + "urn": "urn:pulumi:test::aws_apigateway_resource_Resource_1::aws:apigateway/resource:Resource::MyDemoResource", + "custom": true, + "id": "jxh625", + "type": "aws:apigateway/resource:Resource", + "inputs": { + "__defaults": [], + "parentId": "6rjd786lw0", + "pathPart": "mydemoresource", + "restApi": "v28mh7azfa" + }, + "outputs": { + "id": "jxh625", + "parentId": "6rjd786lw0", + "path": "/mydemoresource", + "pathPart": "mydemoresource", + "restApi": "v28mh7azfa" + }, + "parent": "urn:pulumi:test::aws_apigateway_resource_Resource_1::pulumi:pulumi:Stack::aws_apigateway_resource_Resource_1-test", + "dependencies": [ + "urn:pulumi:test::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "provider": "urn:pulumi:test::aws_apigateway_resource_Resource_1::pulumi:providers:aws::default::c4fe7209-5c84-4dac-a340-fe52d0c0c7ee", + "propertyDependencies": { + "parentId": [ + "urn:pulumi:test::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ], + "pathPart": null, + "restApi": [ + "urn:pulumi:test::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI" + ] + }, + "created": "2023-11-10T22:23:45.501024Z", + "modified": "2023-11-10T22:23:45.501024Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/state.json deleted file mode 100755 index 3f44668006f..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/apigateway-resource/5.42.0/state.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:23:45.501178-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:VNQibGisLgo=:v1:YDNWvbCY7UDtxu3V:p8GRd3WZT1bzy6PttoGyn803R6/08A==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::pulumi:pulumi:Stack::aws_apigateway_resource_Resource_1-p-it-antons-mac-apigateway-0cb9cc77", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:23:41.032446Z", - "modified": "2023-11-10T22:23:41.032446Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::pulumi:providers:aws::default", - "custom": true, - "id": "c4fe7209-5c84-4dac-a340-fe52d0c0c7ee", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:23:42.869571Z", - "modified": "2023-11-10T22:23:42.869571Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI", - "custom": true, - "id": "v28mh7azfa", - "type": "aws:apigateway/restApi:RestApi", - "inputs": { - "__defaults": [ - "minimumCompressionSize", - "putRestApiMode" - ], - "description": "This is my API for demonstration purposes", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "putRestApiMode": "overwrite" - }, - "outputs": { - "apiKeySource": "HEADER", - "arn": "arn:aws:apigateway:us-west-2::/restapis/v28mh7azfa", - "binaryMediaTypes": [], - "createdDate": "2023-11-10T22:23:44Z", - "description": "This is my API for demonstration purposes", - "disableExecuteApiEndpoint": false, - "endpointConfiguration": { - "types": "EDGE", - "vpcEndpointIds": [] - }, - "executionArn": "arn:aws:execute-api:us-west-2:616138583583:v28mh7azfa", - "id": "v28mh7azfa", - "minimumCompressionSize": -1, - "name": "MyDemoAPI", - "policy": "", - "rootResourceId": "6rjd786lw0", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::pulumi:pulumi:Stack::aws_apigateway_resource_Resource_1-p-it-antons-mac-apigateway-0cb9cc77", - "provider": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::pulumi:providers:aws::default::c4fe7209-5c84-4dac-a340-fe52d0c0c7ee", - "propertyDependencies": { - "description": null, - "name": null - }, - "created": "2023-11-10T22:23:45.212076Z", - "modified": "2023-11-10T22:23:45.212076Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::aws:apigateway/resource:Resource::MyDemoResource", - "custom": true, - "id": "jxh625", - "type": "aws:apigateway/resource:Resource", - "inputs": { - "__defaults": [], - "parentId": "6rjd786lw0", - "pathPart": "mydemoresource", - "restApi": "v28mh7azfa" - }, - "outputs": { - "id": "jxh625", - "parentId": "6rjd786lw0", - "path": "/mydemoresource", - "pathPart": "mydemoresource", - "restApi": "v28mh7azfa" - }, - "parent": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::pulumi:pulumi:Stack::aws_apigateway_resource_Resource_1-p-it-antons-mac-apigateway-0cb9cc77", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "provider": "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::pulumi:providers:aws::default::c4fe7209-5c84-4dac-a340-fe52d0c0c7ee", - "propertyDependencies": { - "parentId": [ - "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ], - "pathPart": null, - "restApi": [ - "urn:pulumi:p-it-antons-mac-apigateway-0cb9cc77::aws_apigateway_resource_Resource_1::aws:apigateway/restApi:RestApi::MyDemoAPI" - ] - }, - "created": "2023-11-10T22:23:45.501024Z", - "modified": "2023-11-10T22:23:45.501024Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/stack.json new file mode 100755 index 00000000000..3cd5ebd87e2 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/stack.json @@ -0,0 +1,198 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T15:26:37.921263Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:h7ra7OMAZi4=:v1:dfDGOOd7v5FNRYKI:F4ICmSGfTA86z30K/bV2StcfXJhn8Q==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::bucket-obj::pulumi:pulumi:Stack::bucket-obj-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T15:26:29.084991Z", + "modified": "2024-03-12T15:26:29.084991Z" + }, + { + "urn": "urn:pulumi:test::bucket-obj::pulumi:providers:aws::default", + "custom": true, + "id": "8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", + "type": "pulumi:providers:aws", + "created": "2024-03-12T15:26:30.804752Z", + "modified": "2024-03-12T15:26:30.804752Z" + }, + { + "urn": "urn:pulumi:test::bucket-obj::aws:s3/bucket:Bucket::myBucket", + "custom": true, + "id": "mybucket-258f2d8", + "type": "aws:s3/bucket:Bucket", + "inputs": { + "__defaults": [ + "acl", + "bucket", + "forceDestroy" + ], + "acl": "private", + "bucket": "mybucket-258f2d8", + "forceDestroy": false, + "website": { + "__defaults": [], + "indexDocument": "index.html" + } + }, + "outputs": { + "accelerationStatus": "", + "acl": "private", + "arn": "arn:aws:s3:::mybucket-258f2d8", + "bucket": "mybucket-258f2d8", + "bucketDomainName": "mybucket-258f2d8.s3.amazonaws.com", + "bucketRegionalDomainName": "mybucket-258f2d8.s3.us-west-2.amazonaws.com", + "corsRules": [], + "forceDestroy": false, + "grants": [], + "hostedZoneId": "Z3BJ6K6RIION7M", + "id": "mybucket-258f2d8", + "lifecycleRules": [], + "loggings": [], + "objectLockConfiguration": null, + "region": "us-west-2", + "replicationConfiguration": null, + "requestPayer": "BucketOwner", + "serverSideEncryptionConfiguration": { + "rule": { + "applyServerSideEncryptionByDefault": { + "kmsMasterKeyId": "", + "sseAlgorithm": "AES256" + }, + "bucketKeyEnabled": false + } + }, + "tags": {}, + "tagsAll": {}, + "versioning": { + "enabled": false, + "mfaDelete": false + }, + "website": { + "errorDocument": "", + "indexDocument": "index.html", + "redirectAllRequestsTo": "", + "routingRules": "" + }, + "websiteDomain": "s3-website-us-west-2.amazonaws.com", + "websiteEndpoint": "mybucket-258f2d8.s3-website-us-west-2.amazonaws.com" + }, + "parent": "urn:pulumi:test::bucket-obj::pulumi:pulumi:Stack::bucket-obj-test", + "provider": "urn:pulumi:test::bucket-obj::pulumi:providers:aws::default::8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", + "propertyDependencies": { + "website": null + }, + "created": "2024-03-12T15:26:37.053076Z", + "modified": "2024-03-12T15:26:37.053076Z" + }, + { + "urn": "urn:pulumi:test::bucket-obj::aws:s3/bucketPublicAccessBlock:BucketPublicAccessBlock::myBucketPublicAccessBlock", + "custom": true, + "id": "mybucket-258f2d8", + "type": "aws:s3/bucketPublicAccessBlock:BucketPublicAccessBlock", + "inputs": { + "__defaults": [], + "blockPublicAcls": true, + "blockPublicPolicy": true, + "bucket": "mybucket-258f2d8", + "ignorePublicAcls": true, + "restrictPublicBuckets": true + }, + "outputs": { + "blockPublicAcls": true, + "blockPublicPolicy": true, + "bucket": "mybucket-258f2d8", + "id": "mybucket-258f2d8", + "ignorePublicAcls": true, + "restrictPublicBuckets": true + }, + "parent": "urn:pulumi:test::bucket-obj::pulumi:pulumi:Stack::bucket-obj-test", + "dependencies": [ + "urn:pulumi:test::bucket-obj::aws:s3/bucket:Bucket::myBucket" + ], + "provider": "urn:pulumi:test::bucket-obj::pulumi:providers:aws::default::8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", + "propertyDependencies": { + "blockPublicAcls": null, + "blockPublicPolicy": null, + "bucket": [ + "urn:pulumi:test::bucket-obj::aws:s3/bucket:Bucket::myBucket" + ], + "ignorePublicAcls": null, + "restrictPublicBuckets": null + }, + "created": "2024-03-12T15:26:37.744659Z", + "modified": "2024-03-12T15:26:37.744659Z" + }, + { + "urn": "urn:pulumi:test::bucket-obj::aws:s3/bucketObject:BucketObject::myBucketIndex", + "custom": true, + "id": "index.html", + "type": "aws:s3/bucketObject:BucketObject", + "inputs": { + "__defaults": [ + "acl", + "forceDestroy" + ], + "acl": "private", + "bucket": "mybucket-258f2d8", + "content": "\u003chtml\u003e\u003cbody\u003e\u003ch1\u003eHello, world!\u003c/h1\u003e\u003c/body\u003e\u003c/html\u003e", + "contentType": "text/html", + "forceDestroy": false, + "key": "index.html" + }, + "outputs": { + "acl": "private", + "bucket": "mybucket-258f2d8", + "bucketKeyEnabled": false, + "cacheControl": "", + "content": "\u003chtml\u003e\u003cbody\u003e\u003ch1\u003eHello, world!\u003c/h1\u003e\u003c/body\u003e\u003c/html\u003e", + "contentDisposition": "", + "contentEncoding": "", + "contentLanguage": "", + "contentType": "text/html", + "etag": "cfd576df6cbe598b91e16908b222e46f", + "forceDestroy": false, + "id": "index.html", + "key": "index.html", + "metadata": {}, + "objectLockLegalHoldStatus": "", + "objectLockMode": "", + "objectLockRetainUntilDate": "", + "serverSideEncryption": "AES256", + "storageClass": "STANDARD", + "tags": {}, + "tagsAll": {}, + "versionId": "", + "websiteRedirect": "" + }, + "parent": "urn:pulumi:test::bucket-obj::pulumi:pulumi:Stack::bucket-obj-test", + "dependencies": [ + "urn:pulumi:test::bucket-obj::aws:s3/bucket:Bucket::myBucket" + ], + "provider": "urn:pulumi:test::bucket-obj::pulumi:providers:aws::default::8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", + "propertyDependencies": { + "bucket": [ + "urn:pulumi:test::bucket-obj::aws:s3/bucket:Bucket::myBucket" + ], + "content": null, + "contentType": null, + "key": null + }, + "created": "2024-03-12T15:26:37.92098Z", + "modified": "2024-03-12T15:26:37.92098Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/state.json deleted file mode 100755 index 5a4bdfc0a5a..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/bucket-obj/5.42.0/state.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T15:26:37.921263Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:h7ra7OMAZi4=:v1:dfDGOOd7v5FNRYKI:F4ICmSGfTA86z30K/bV2StcfXJhn8Q==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:pulumi:Stack::bucket-obj-p-it-venelins-m-bucket-obj-baee0107", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T15:26:29.084991Z", - "modified": "2024-03-12T15:26:29.084991Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:providers:aws::default", - "custom": true, - "id": "8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", - "type": "pulumi:providers:aws", - "created": "2024-03-12T15:26:30.804752Z", - "modified": "2024-03-12T15:26:30.804752Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucket:Bucket::myBucket", - "custom": true, - "id": "mybucket-258f2d8", - "type": "aws:s3/bucket:Bucket", - "inputs": { - "__defaults": [ - "acl", - "bucket", - "forceDestroy" - ], - "acl": "private", - "bucket": "mybucket-258f2d8", - "forceDestroy": false, - "website": { - "__defaults": [], - "indexDocument": "index.html" - } - }, - "outputs": { - "accelerationStatus": "", - "acl": "private", - "arn": "arn:aws:s3:::mybucket-258f2d8", - "bucket": "mybucket-258f2d8", - "bucketDomainName": "mybucket-258f2d8.s3.amazonaws.com", - "bucketRegionalDomainName": "mybucket-258f2d8.s3.us-west-2.amazonaws.com", - "corsRules": [], - "forceDestroy": false, - "grants": [], - "hostedZoneId": "Z3BJ6K6RIION7M", - "id": "mybucket-258f2d8", - "lifecycleRules": [], - "loggings": [], - "objectLockConfiguration": null, - "region": "us-west-2", - "replicationConfiguration": null, - "requestPayer": "BucketOwner", - "serverSideEncryptionConfiguration": { - "rule": { - "applyServerSideEncryptionByDefault": { - "kmsMasterKeyId": "", - "sseAlgorithm": "AES256" - }, - "bucketKeyEnabled": false - } - }, - "tags": {}, - "tagsAll": {}, - "versioning": { - "enabled": false, - "mfaDelete": false - }, - "website": { - "errorDocument": "", - "indexDocument": "index.html", - "redirectAllRequestsTo": "", - "routingRules": "" - }, - "websiteDomain": "s3-website-us-west-2.amazonaws.com", - "websiteEndpoint": "mybucket-258f2d8.s3-website-us-west-2.amazonaws.com" - }, - "parent": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:pulumi:Stack::bucket-obj-p-it-venelins-m-bucket-obj-baee0107", - "provider": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:providers:aws::default::8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", - "propertyDependencies": { - "website": null - }, - "created": "2024-03-12T15:26:37.053076Z", - "modified": "2024-03-12T15:26:37.053076Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucketPublicAccessBlock:BucketPublicAccessBlock::myBucketPublicAccessBlock", - "custom": true, - "id": "mybucket-258f2d8", - "type": "aws:s3/bucketPublicAccessBlock:BucketPublicAccessBlock", - "inputs": { - "__defaults": [], - "blockPublicAcls": true, - "blockPublicPolicy": true, - "bucket": "mybucket-258f2d8", - "ignorePublicAcls": true, - "restrictPublicBuckets": true - }, - "outputs": { - "blockPublicAcls": true, - "blockPublicPolicy": true, - "bucket": "mybucket-258f2d8", - "id": "mybucket-258f2d8", - "ignorePublicAcls": true, - "restrictPublicBuckets": true - }, - "parent": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:pulumi:Stack::bucket-obj-p-it-venelins-m-bucket-obj-baee0107", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucket:Bucket::myBucket" - ], - "provider": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:providers:aws::default::8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", - "propertyDependencies": { - "blockPublicAcls": null, - "blockPublicPolicy": null, - "bucket": [ - "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucket:Bucket::myBucket" - ], - "ignorePublicAcls": null, - "restrictPublicBuckets": null - }, - "created": "2024-03-12T15:26:37.744659Z", - "modified": "2024-03-12T15:26:37.744659Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucketObject:BucketObject::myBucketIndex", - "custom": true, - "id": "index.html", - "type": "aws:s3/bucketObject:BucketObject", - "inputs": { - "__defaults": [ - "acl", - "forceDestroy" - ], - "acl": "private", - "bucket": "mybucket-258f2d8", - "content": "

Hello, world!

", - "contentType": "text/html", - "forceDestroy": false, - "key": "index.html" - }, - "outputs": { - "acl": "private", - "bucket": "mybucket-258f2d8", - "bucketKeyEnabled": false, - "cacheControl": "", - "content": "

Hello, world!

", - "contentDisposition": "", - "contentEncoding": "", - "contentLanguage": "", - "contentType": "text/html", - "etag": "cfd576df6cbe598b91e16908b222e46f", - "forceDestroy": false, - "id": "index.html", - "key": "index.html", - "metadata": {}, - "objectLockLegalHoldStatus": "", - "objectLockMode": "", - "objectLockRetainUntilDate": "", - "serverSideEncryption": "AES256", - "storageClass": "STANDARD", - "tags": {}, - "tagsAll": {}, - "versionId": "", - "websiteRedirect": "" - }, - "parent": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:pulumi:Stack::bucket-obj-p-it-venelins-m-bucket-obj-baee0107", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucket:Bucket::myBucket" - ], - "provider": "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::pulumi:providers:aws::default::8dbc7fcf-64ee-4a60-86ab-a4c5adcfefb9", - "propertyDependencies": { - "bucket": [ - "urn:pulumi:p-it-venelins-m-bucket-obj-baee0107::bucket-obj::aws:s3/bucket:Bucket::myBucket" - ], - "content": null, - "contentType": null, - "key": null - }, - "created": "2024-03-12T15:26:37.92098Z", - "modified": "2024-03-12T15:26:37.92098Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/stack.json new file mode 100755 index 00000000000..4ac7200fdfc --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/stack.json @@ -0,0 +1,100 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-10-05T17:01:10.660615-04:00", + "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", + "version": "v3.86.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:VgKUAy5Wzyc=:v1:vKZX5kpTs6mIib2Q:OrWSRl7hJNOeVXFajgiyu91YLTLyMg==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-10-05T21:01:05.291861Z", + "modified": "2023-10-05T21:01:05.291861Z" + }, + { + "urn": "urn:pulumi:test::test::pulumi:providers:aws::provider", + "custom": true, + "id": "3844c049-dd3a-4d9a-b4db-f476d1680642", + "type": "pulumi:providers:aws", + "inputs": { + "version": "5.42.0" + }, + "outputs": { + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "propertyDependencies": { + "version": [] + }, + "created": "2023-10-05T21:01:06.742806Z", + "modified": "2023-10-05T21:01:06.742806Z" + }, + { + "urn": "urn:pulumi:test::test::aws:s3/bucket:Bucket::tested-resource", + "custom": true, + "id": "testbucket-test", + "type": "aws:s3/bucket:Bucket", + "inputs": { + "__defaults": [ + "acl", + "forceDestroy" + ], + "acl": "private", + "bucket": "testbucket-test", + "forceDestroy": false + }, + "outputs": { + "accelerationStatus": "", + "acl": "private", + "arn": "arn:aws:s3:::testbucket-test", + "bucket": "testbucket-test", + "bucketDomainName": "testbucket-test.s3.amazonaws.com", + "bucketRegionalDomainName": "testbucket-test.s3.us-west-2.amazonaws.com", + "corsRules": [], + "forceDestroy": false, + "grants": [], + "hostedZoneId": "Z3BJ6K6RIION7M", + "id": "testbucket-test", + "lifecycleRules": [], + "loggings": [], + "objectLockConfiguration": null, + "region": "us-west-2", + "replicationConfiguration": null, + "requestPayer": "BucketOwner", + "serverSideEncryptionConfiguration": { + "rule": { + "applyServerSideEncryptionByDefault": { + "kmsMasterKeyId": "", + "sseAlgorithm": "AES256" + }, + "bucketKeyEnabled": false + } + }, + "tags": {}, + "tagsAll": {}, + "versioning": { + "enabled": false, + "mfaDelete": false + }, + "website": null + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::3844c049-dd3a-4d9a-b4db-f476d1680642", + "propertyDependencies": { + "bucket": null + }, + "created": "2023-10-05T21:01:10.660574Z", + "modified": "2023-10-05T21:01:10.660574Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/state.json deleted file mode 100755 index 2f154d526f3..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/bucket/5.42.0/state.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-10-05T17:01:10.660615-04:00", - "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", - "version": "v3.86.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:VgKUAy5Wzyc=:v1:vKZX5kpTs6mIib2Q:OrWSRl7hJNOeVXFajgiyu91YLTLyMg==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-bucket-9f59db4a::test::pulumi:pulumi:Stack::test-p-it-antons-mac-bucket-9f59db4a", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-10-05T21:01:05.291861Z", - "modified": "2023-10-05T21:01:05.291861Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-bucket-9f59db4a::test::pulumi:providers:aws::provider", - "custom": true, - "id": "3844c049-dd3a-4d9a-b4db-f476d1680642", - "type": "pulumi:providers:aws", - "inputs": { - "version": "5.42.0" - }, - "outputs": { - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-bucket-9f59db4a::test::pulumi:pulumi:Stack::test-p-it-antons-mac-bucket-9f59db4a", - "propertyDependencies": { - "version": [] - }, - "created": "2023-10-05T21:01:06.742806Z", - "modified": "2023-10-05T21:01:06.742806Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-bucket-9f59db4a::test::aws:s3/bucket:Bucket::tested-resource", - "custom": true, - "id": "testbucket-p-it-antons-mac-bucket-9f59db4a", - "type": "aws:s3/bucket:Bucket", - "inputs": { - "__defaults": [ - "acl", - "forceDestroy" - ], - "acl": "private", - "bucket": "testbucket-p-it-antons-mac-bucket-9f59db4a", - "forceDestroy": false - }, - "outputs": { - "accelerationStatus": "", - "acl": "private", - "arn": "arn:aws:s3:::testbucket-p-it-antons-mac-bucket-9f59db4a", - "bucket": "testbucket-p-it-antons-mac-bucket-9f59db4a", - "bucketDomainName": "testbucket-p-it-antons-mac-bucket-9f59db4a.s3.amazonaws.com", - "bucketRegionalDomainName": "testbucket-p-it-antons-mac-bucket-9f59db4a.s3.us-west-2.amazonaws.com", - "corsRules": [], - "forceDestroy": false, - "grants": [], - "hostedZoneId": "Z3BJ6K6RIION7M", - "id": "testbucket-p-it-antons-mac-bucket-9f59db4a", - "lifecycleRules": [], - "loggings": [], - "objectLockConfiguration": null, - "region": "us-west-2", - "replicationConfiguration": null, - "requestPayer": "BucketOwner", - "serverSideEncryptionConfiguration": { - "rule": { - "applyServerSideEncryptionByDefault": { - "kmsMasterKeyId": "", - "sseAlgorithm": "AES256" - }, - "bucketKeyEnabled": false - } - }, - "tags": {}, - "tagsAll": {}, - "versioning": { - "enabled": false, - "mfaDelete": false - }, - "website": null - }, - "parent": "urn:pulumi:p-it-antons-mac-bucket-9f59db4a::test::pulumi:pulumi:Stack::test-p-it-antons-mac-bucket-9f59db4a", - "provider": "urn:pulumi:p-it-antons-mac-bucket-9f59db4a::test::pulumi:providers:aws::provider::3844c049-dd3a-4d9a-b4db-f476d1680642", - "propertyDependencies": { - "bucket": null - }, - "created": "2023-10-05T21:01:10.660574Z", - "modified": "2023-10-05T21:01:10.660574Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/stack.json new file mode 100755 index 00000000000..9af9008b1f9 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/stack.json @@ -0,0 +1,249 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-15T12:39:14.384893Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:YL1BLoe4t8Q=:v1:D4n98pzuEdSSTDTa:azLtbtIlQYkUyN6NidfV8pCQX4hQww==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::cloudfront-distribution::pulumi:pulumi:Stack::cloudfront-distribution-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-15T12:35:26.21471Z", + "modified": "2024-03-15T12:35:26.21471Z" + }, + { + "urn": "urn:pulumi:test::cloudfront-distribution::pulumi:providers:aws::default", + "custom": true, + "id": "388cf597-560d-42d6-a796-7325461981bc", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true" + }, + "outputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true" + }, + "created": "2024-03-15T12:35:27.897335Z", + "modified": "2024-03-15T12:35:27.897335Z" + }, + { + "urn": "urn:pulumi:test::cloudfront-distribution::aws:cloudfront/distribution:Distribution::myDistribution", + "custom": true, + "id": "E33VHVOJ1AZA2C", + "type": "aws:cloudfront/distribution:Distribution", + "inputs": { + "__defaults": [ + "httpVersion", + "isIpv6Enabled", + "priceClass", + "retainOnDelete", + "waitForDeployment" + ], + "defaultCacheBehavior": { + "__defaults": [ + "compress", + "minTtl" + ], + "allowedMethods": [ + "GET", + "HEAD", + "OPTIONS" + ], + "cachedMethods": [ + "GET", + "HEAD", + "OPTIONS" + ], + "compress": false, + "forwardedValues": { + "__defaults": [], + "cookies": { + "__defaults": [], + "forward": "none" + }, + "queryString": false + }, + "minTtl": 0, + "targetOriginId": "myS3Origin", + "viewerProtocolPolicy": "allow-all" + }, + "defaultRootObject": "index.html", + "enabled": true, + "httpVersion": "http2", + "isIpv6Enabled": false, + "orderedCacheBehaviors": [], + "origins": [ + { + "__defaults": [ + "connectionAttempts", + "connectionTimeout", + "originPath" + ], + "connectionAttempts": 3, + "connectionTimeout": 10, + "domainName": "mybucket.s3.amazonaws.com", + "originId": "myS3Origin", + "originPath": "" + } + ], + "priceClass": "PriceClass_All", + "restrictions": { + "__defaults": [], + "geoRestriction": { + "__defaults": [], + "restrictionType": "none" + } + }, + "retainOnDelete": false, + "staging": false, + "viewerCertificate": { + "__defaults": [ + "minimumProtocolVersion" + ], + "cloudfrontDefaultCertificate": true, + "minimumProtocolVersion": "TLSv1" + }, + "waitForDeployment": true + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "aliases": [], + "arn": "arn:aws:cloudfront::616138583583:distribution/E33VHVOJ1AZA2C", + "callerReference": "terraform-20240315123528592500000001", + "continuousDeploymentPolicyId": "", + "customErrorResponses": [], + "defaultCacheBehavior": { + "allowedMethods": [ + "GET", + "HEAD", + "OPTIONS" + ], + "cachePolicyId": "", + "cachedMethods": [ + "GET", + "HEAD", + "OPTIONS" + ], + "compress": false, + "defaultTtl": 0, + "fieldLevelEncryptionId": "", + "forwardedValues": { + "cookies": { + "forward": "none", + "whitelistedNames": [] + }, + "headers": [], + "queryString": false, + "queryStringCacheKeys": [] + }, + "functionAssociations": [], + "lambdaFunctionAssociations": [], + "maxTtl": 0, + "minTtl": 0, + "originRequestPolicyId": "", + "realtimeLogConfigArn": "", + "responseHeadersPolicyId": "", + "smoothStreaming": false, + "targetOriginId": "myS3Origin", + "trustedKeyGroups": [], + "trustedSigners": [], + "viewerProtocolPolicy": "allow-all" + }, + "defaultRootObject": "index.html", + "domainName": "d28m8ak5nh9swi.cloudfront.net", + "enabled": true, + "etag": "E2TF3OOFA9G8MP", + "hostedZoneId": "Z2FDTNDATAQYW2", + "httpVersion": "http2", + "id": "E33VHVOJ1AZA2C", + "inProgressValidationBatches": 0, + "isIpv6Enabled": false, + "lastModifiedTime": "2024-03-15 12:35:29.047 +0000 UTC", + "loggingConfig": null, + "orderedCacheBehaviors": [], + "origins": [ + { + "connectionAttempts": 3, + "connectionTimeout": 10, + "customHeaders": [], + "customOriginConfig": null, + "domainName": "mybucket.s3.amazonaws.com", + "originAccessControlId": "", + "originId": "myS3Origin", + "originPath": "", + "originShield": null, + "s3OriginConfig": null + } + ], + "priceClass": "PriceClass_All", + "restrictions": { + "geoRestriction": { + "locations": [], + "restrictionType": "none" + } + }, + "retainOnDelete": false, + "staging": false, + "status": "Deployed", + "tags": {}, + "tagsAll": { + "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", + "ciphertext": "v1:G2f3UL7uFSTI+igU:TVg2ixskCUuaqOy2h7ZkY4o3" + }, + "trustedKeyGroups": [ + { + "enabled": false, + "items": [] + } + ], + "trustedSigners": [ + { + "enabled": false, + "items": [] + } + ], + "viewerCertificate": { + "acmCertificateArn": "", + "cloudfrontDefaultCertificate": true, + "iamCertificateId": "", + "minimumProtocolVersion": "TLSv1", + "sslSupportMethod": "" + }, + "waitForDeployment": true, + "webAclId": "" + }, + "parent": "urn:pulumi:test::cloudfront-distribution::pulumi:pulumi:Stack::cloudfront-distribution-test", + "provider": "urn:pulumi:test::cloudfront-distribution::pulumi:providers:aws::default::388cf597-560d-42d6-a796-7325461981bc", + "propertyDependencies": { + "defaultCacheBehavior": null, + "defaultRootObject": null, + "enabled": null, + "orderedCacheBehaviors": null, + "origins": null, + "restrictions": null, + "staging": null, + "viewerCertificate": null + }, + "additionalSecretOutputs": [ + "tagsAll" + ], + "created": "2024-03-15T12:39:14.383298Z", + "modified": "2024-03-15T12:39:14.383298Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/state.json deleted file mode 100755 index f84024d0b1e..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/cloudfront-distribution/6.10.0/state.json +++ /dev/null @@ -1,249 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-15T12:39:14.384893Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:YL1BLoe4t8Q=:v1:D4n98pzuEdSSTDTa:azLtbtIlQYkUyN6NidfV8pCQX4hQww==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-cloudfront-019a715e::cloudfront-distribution::pulumi:pulumi:Stack::cloudfront-distribution-p-it-venelins-m-cloudfront-019a715e", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-15T12:35:26.21471Z", - "modified": "2024-03-15T12:35:26.21471Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-cloudfront-019a715e::cloudfront-distribution::pulumi:providers:aws::default", - "custom": true, - "id": "388cf597-560d-42d6-a796-7325461981bc", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true" - }, - "outputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true" - }, - "created": "2024-03-15T12:35:27.897335Z", - "modified": "2024-03-15T12:35:27.897335Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-cloudfront-019a715e::cloudfront-distribution::aws:cloudfront/distribution:Distribution::myDistribution", - "custom": true, - "id": "E33VHVOJ1AZA2C", - "type": "aws:cloudfront/distribution:Distribution", - "inputs": { - "__defaults": [ - "httpVersion", - "isIpv6Enabled", - "priceClass", - "retainOnDelete", - "waitForDeployment" - ], - "defaultCacheBehavior": { - "__defaults": [ - "compress", - "minTtl" - ], - "allowedMethods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "cachedMethods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "compress": false, - "forwardedValues": { - "__defaults": [], - "cookies": { - "__defaults": [], - "forward": "none" - }, - "queryString": false - }, - "minTtl": 0, - "targetOriginId": "myS3Origin", - "viewerProtocolPolicy": "allow-all" - }, - "defaultRootObject": "index.html", - "enabled": true, - "httpVersion": "http2", - "isIpv6Enabled": false, - "orderedCacheBehaviors": [], - "origins": [ - { - "__defaults": [ - "connectionAttempts", - "connectionTimeout", - "originPath" - ], - "connectionAttempts": 3, - "connectionTimeout": 10, - "domainName": "mybucket.s3.amazonaws.com", - "originId": "myS3Origin", - "originPath": "" - } - ], - "priceClass": "PriceClass_All", - "restrictions": { - "__defaults": [], - "geoRestriction": { - "__defaults": [], - "restrictionType": "none" - } - }, - "retainOnDelete": false, - "staging": false, - "viewerCertificate": { - "__defaults": [ - "minimumProtocolVersion" - ], - "cloudfrontDefaultCertificate": true, - "minimumProtocolVersion": "TLSv1" - }, - "waitForDeployment": true - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "aliases": [], - "arn": "arn:aws:cloudfront::616138583583:distribution/E33VHVOJ1AZA2C", - "callerReference": "terraform-20240315123528592500000001", - "continuousDeploymentPolicyId": "", - "customErrorResponses": [], - "defaultCacheBehavior": { - "allowedMethods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "cachePolicyId": "", - "cachedMethods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "compress": false, - "defaultTtl": 0, - "fieldLevelEncryptionId": "", - "forwardedValues": { - "cookies": { - "forward": "none", - "whitelistedNames": [] - }, - "headers": [], - "queryString": false, - "queryStringCacheKeys": [] - }, - "functionAssociations": [], - "lambdaFunctionAssociations": [], - "maxTtl": 0, - "minTtl": 0, - "originRequestPolicyId": "", - "realtimeLogConfigArn": "", - "responseHeadersPolicyId": "", - "smoothStreaming": false, - "targetOriginId": "myS3Origin", - "trustedKeyGroups": [], - "trustedSigners": [], - "viewerProtocolPolicy": "allow-all" - }, - "defaultRootObject": "index.html", - "domainName": "d28m8ak5nh9swi.cloudfront.net", - "enabled": true, - "etag": "E2TF3OOFA9G8MP", - "hostedZoneId": "Z2FDTNDATAQYW2", - "httpVersion": "http2", - "id": "E33VHVOJ1AZA2C", - "inProgressValidationBatches": 0, - "isIpv6Enabled": false, - "lastModifiedTime": "2024-03-15 12:35:29.047 +0000 UTC", - "loggingConfig": null, - "orderedCacheBehaviors": [], - "origins": [ - { - "connectionAttempts": 3, - "connectionTimeout": 10, - "customHeaders": [], - "customOriginConfig": null, - "domainName": "mybucket.s3.amazonaws.com", - "originAccessControlId": "", - "originId": "myS3Origin", - "originPath": "", - "originShield": null, - "s3OriginConfig": null - } - ], - "priceClass": "PriceClass_All", - "restrictions": { - "geoRestriction": { - "locations": [], - "restrictionType": "none" - } - }, - "retainOnDelete": false, - "staging": false, - "status": "Deployed", - "tags": {}, - "tagsAll": { - "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", - "ciphertext": "v1:G2f3UL7uFSTI+igU:TVg2ixskCUuaqOy2h7ZkY4o3" - }, - "trustedKeyGroups": [ - { - "enabled": false, - "items": [] - } - ], - "trustedSigners": [ - { - "enabled": false, - "items": [] - } - ], - "viewerCertificate": { - "acmCertificateArn": "", - "cloudfrontDefaultCertificate": true, - "iamCertificateId": "", - "minimumProtocolVersion": "TLSv1", - "sslSupportMethod": "" - }, - "waitForDeployment": true, - "webAclId": "" - }, - "parent": "urn:pulumi:p-it-venelins-m-cloudfront-019a715e::cloudfront-distribution::pulumi:pulumi:Stack::cloudfront-distribution-p-it-venelins-m-cloudfront-019a715e", - "provider": "urn:pulumi:p-it-venelins-m-cloudfront-019a715e::cloudfront-distribution::pulumi:providers:aws::default::388cf597-560d-42d6-a796-7325461981bc", - "propertyDependencies": { - "defaultCacheBehavior": null, - "defaultRootObject": null, - "enabled": null, - "orderedCacheBehaviors": null, - "origins": null, - "restrictions": null, - "staging": null, - "viewerCertificate": null - }, - "additionalSecretOutputs": [ - "tagsAll" - ], - "created": "2024-03-15T12:39:14.383298Z", - "modified": "2024-03-15T12:39:14.383298Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/stack.json new file mode 100755 index 00000000000..5924e105d82 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/stack.json @@ -0,0 +1,203 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:24:33.792311-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:08cv8WVAcYA=:v1:wE9PdlmTZZqjr2s9:b3uqSHHyE/7EVaniUFyjB5JvKoXihg==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:24:29.613316Z", + "modified": "2023-11-10T22:24:29.613316Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default", + "custom": true, + "id": "1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:24:31.066316Z", + "modified": "2023-11-10T22:24:31.066316Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventRule:EventRule::console", + "custom": true, + "id": "capture-aws-sign-in", + "type": "aws:cloudwatch/eventRule:EventRule", + "inputs": { + "__defaults": [ + "eventBusName", + "isEnabled" + ], + "description": "Capture each AWS Console Sign In", + "eventBusName": "default", + "eventPattern": "{\"detail-type\":[\"AWS Console Sign In via CloudTrail\"]}", + "isEnabled": true, + "name": "capture-aws-sign-in" + }, + "outputs": { + "arn": "arn:aws:events:us-west-2:616138583583:rule/capture-aws-sign-in", + "description": "Capture each AWS Console Sign In", + "eventBusName": "default", + "eventPattern": "{\"detail-type\":[\"AWS Console Sign In via CloudTrail\"]}", + "id": "capture-aws-sign-in", + "isEnabled": true, + "name": "capture-aws-sign-in", + "namePrefix": "", + "roleArn": "", + "scheduleExpression": "", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-test", + "provider": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", + "propertyDependencies": { + "description": null, + "eventPattern": null, + "name": null + }, + "created": "2023-11-10T22:24:33.060135Z", + "modified": "2023-11-10T22:24:33.060135Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins", + "custom": true, + "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "type": "aws:sns/topic:Topic", + "inputs": { + "__defaults": [ + "contentBasedDeduplication", + "fifoTopic" + ], + "contentBasedDeduplication": false, + "fifoTopic": false, + "name": "aws-console-logins" + }, + "outputs": { + "applicationFailureFeedbackRoleArn": "", + "applicationSuccessFeedbackRoleArn": "", + "applicationSuccessFeedbackSampleRate": 0, + "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "contentBasedDeduplication": false, + "deliveryPolicy": "", + "displayName": "", + "fifoTopic": false, + "firehoseFailureFeedbackRoleArn": "", + "firehoseSuccessFeedbackRoleArn": "", + "firehoseSuccessFeedbackSampleRate": 0, + "httpFailureFeedbackRoleArn": "", + "httpSuccessFeedbackRoleArn": "", + "httpSuccessFeedbackSampleRate": 0, + "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "kmsMasterKeyId": "", + "lambdaFailureFeedbackRoleArn": "", + "lambdaSuccessFeedbackRoleArn": "", + "lambdaSuccessFeedbackSampleRate": 0, + "name": "aws-console-logins", + "namePrefix": "", + "owner": "616138583583", + "policy": "{\"Id\":\"__default_policy_ID\",\"Statement\":[{\"Action\":[\"SNS:GetTopicAttributes\",\"SNS:SetTopicAttributes\",\"SNS:AddPermission\",\"SNS:RemovePermission\",\"SNS:DeleteTopic\",\"SNS:Subscribe\",\"SNS:ListSubscriptionsByTopic\",\"SNS:Publish\"],\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"616138583583\"}},\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:us-west-2:616138583583:aws-console-logins\",\"Sid\":\"__default_statement_ID\"}],\"Version\":\"2008-10-17\"}", + "signatureVersion": 0, + "sqsFailureFeedbackRoleArn": "", + "sqsSuccessFeedbackRoleArn": "", + "sqsSuccessFeedbackSampleRate": 0, + "tags": {}, + "tagsAll": {}, + "tracingConfig": "" + }, + "parent": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-test", + "provider": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", + "propertyDependencies": { + "name": null + }, + "created": "2023-11-10T22:24:33.547564Z", + "modified": "2023-11-10T22:24:33.547564Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topicPolicy:TopicPolicy::default", + "custom": true, + "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "type": "aws:sns/topicPolicy:TopicPolicy", + "inputs": { + "__defaults": [], + "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"SNS:Publish\",\n \"Resource\": \"arn:aws:sns:us-west-2:616138583583:aws-console-logins\",\n \"Principal\": {\n \"Service\": \"events.amazonaws.com\"\n }\n }\n ]\n}" + }, + "outputs": { + "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "owner": "616138583583", + "policy": "{\"Statement\":[{\"Action\":\"SNS:Publish\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Resource\":\"arn:aws:sns:us-west-2:616138583583:aws-console-logins\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" + }, + "parent": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-test", + "dependencies": [ + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" + ], + "provider": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", + "propertyDependencies": { + "arn": [ + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" + ], + "policy": [ + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" + ] + }, + "created": "2023-11-10T22:24:33.788164Z", + "modified": "2023-11-10T22:24:33.788164Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventTarget:EventTarget::sns", + "custom": true, + "id": "capture-aws-sign-in-SendToSNS", + "type": "aws:cloudwatch/eventTarget:EventTarget", + "inputs": { + "__defaults": [ + "eventBusName" + ], + "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "eventBusName": "default", + "rule": "capture-aws-sign-in", + "targetId": "SendToSNS" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", + "eventBusName": "default", + "httpTarget": null, + "id": "capture-aws-sign-in-SendToSNS", + "input": "", + "inputPath": "", + "roleArn": "", + "rule": "capture-aws-sign-in", + "targetId": "SendToSNS" + }, + "parent": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-test", + "dependencies": [ + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventRule:EventRule::console", + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" + ], + "provider": "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", + "propertyDependencies": { + "arn": [ + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" + ], + "rule": [ + "urn:pulumi:test::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventRule:EventRule::console" + ], + "targetId": null + }, + "created": "2023-11-10T22:24:33.791653Z", + "modified": "2023-11-10T22:24:33.791653Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/state.json deleted file mode 100755 index fb47172d94d..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-eventrule/5.42.0/state.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:24:33.792311-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:08cv8WVAcYA=:v1:wE9PdlmTZZqjr2s9:b3uqSHHyE/7EVaniUFyjB5JvKoXihg==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-p-it-antons-mac-cloudwatch-44efe95c", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:24:29.613316Z", - "modified": "2023-11-10T22:24:29.613316Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default", - "custom": true, - "id": "1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:24:31.066316Z", - "modified": "2023-11-10T22:24:31.066316Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventRule:EventRule::console", - "custom": true, - "id": "capture-aws-sign-in", - "type": "aws:cloudwatch/eventRule:EventRule", - "inputs": { - "__defaults": [ - "eventBusName", - "isEnabled" - ], - "description": "Capture each AWS Console Sign In", - "eventBusName": "default", - "eventPattern": "{\"detail-type\":[\"AWS Console Sign In via CloudTrail\"]}", - "isEnabled": true, - "name": "capture-aws-sign-in" - }, - "outputs": { - "arn": "arn:aws:events:us-west-2:616138583583:rule/capture-aws-sign-in", - "description": "Capture each AWS Console Sign In", - "eventBusName": "default", - "eventPattern": "{\"detail-type\":[\"AWS Console Sign In via CloudTrail\"]}", - "id": "capture-aws-sign-in", - "isEnabled": true, - "name": "capture-aws-sign-in", - "namePrefix": "", - "roleArn": "", - "scheduleExpression": "", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-p-it-antons-mac-cloudwatch-44efe95c", - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", - "propertyDependencies": { - "description": null, - "eventPattern": null, - "name": null - }, - "created": "2023-11-10T22:24:33.060135Z", - "modified": "2023-11-10T22:24:33.060135Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins", - "custom": true, - "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "type": "aws:sns/topic:Topic", - "inputs": { - "__defaults": [ - "contentBasedDeduplication", - "fifoTopic" - ], - "contentBasedDeduplication": false, - "fifoTopic": false, - "name": "aws-console-logins" - }, - "outputs": { - "applicationFailureFeedbackRoleArn": "", - "applicationSuccessFeedbackRoleArn": "", - "applicationSuccessFeedbackSampleRate": 0, - "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "contentBasedDeduplication": false, - "deliveryPolicy": "", - "displayName": "", - "fifoTopic": false, - "firehoseFailureFeedbackRoleArn": "", - "firehoseSuccessFeedbackRoleArn": "", - "firehoseSuccessFeedbackSampleRate": 0, - "httpFailureFeedbackRoleArn": "", - "httpSuccessFeedbackRoleArn": "", - "httpSuccessFeedbackSampleRate": 0, - "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "kmsMasterKeyId": "", - "lambdaFailureFeedbackRoleArn": "", - "lambdaSuccessFeedbackRoleArn": "", - "lambdaSuccessFeedbackSampleRate": 0, - "name": "aws-console-logins", - "namePrefix": "", - "owner": "616138583583", - "policy": "{\"Id\":\"__default_policy_ID\",\"Statement\":[{\"Action\":[\"SNS:GetTopicAttributes\",\"SNS:SetTopicAttributes\",\"SNS:AddPermission\",\"SNS:RemovePermission\",\"SNS:DeleteTopic\",\"SNS:Subscribe\",\"SNS:ListSubscriptionsByTopic\",\"SNS:Publish\"],\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"616138583583\"}},\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:us-west-2:616138583583:aws-console-logins\",\"Sid\":\"__default_statement_ID\"}],\"Version\":\"2008-10-17\"}", - "signatureVersion": 0, - "sqsFailureFeedbackRoleArn": "", - "sqsSuccessFeedbackRoleArn": "", - "sqsSuccessFeedbackSampleRate": 0, - "tags": {}, - "tagsAll": {}, - "tracingConfig": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-p-it-antons-mac-cloudwatch-44efe95c", - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", - "propertyDependencies": { - "name": null - }, - "created": "2023-11-10T22:24:33.547564Z", - "modified": "2023-11-10T22:24:33.547564Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topicPolicy:TopicPolicy::default", - "custom": true, - "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "type": "aws:sns/topicPolicy:TopicPolicy", - "inputs": { - "__defaults": [], - "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"SNS:Publish\",\n \"Resource\": \"arn:aws:sns:us-west-2:616138583583:aws-console-logins\",\n \"Principal\": {\n \"Service\": \"events.amazonaws.com\"\n }\n }\n ]\n}" - }, - "outputs": { - "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "id": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "owner": "616138583583", - "policy": "{\"Statement\":[{\"Action\":\"SNS:Publish\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Resource\":\"arn:aws:sns:us-west-2:616138583583:aws-console-logins\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-p-it-antons-mac-cloudwatch-44efe95c", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", - "propertyDependencies": { - "arn": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" - ], - "policy": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" - ] - }, - "created": "2023-11-10T22:24:33.788164Z", - "modified": "2023-11-10T22:24:33.788164Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventTarget:EventTarget::sns", - "custom": true, - "id": "capture-aws-sign-in-SendToSNS", - "type": "aws:cloudwatch/eventTarget:EventTarget", - "inputs": { - "__defaults": [ - "eventBusName" - ], - "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "eventBusName": "default", - "rule": "capture-aws-sign-in", - "targetId": "SendToSNS" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:sns:us-west-2:616138583583:aws-console-logins", - "eventBusName": "default", - "httpTarget": null, - "id": "capture-aws-sign-in-SendToSNS", - "input": "", - "inputPath": "", - "roleArn": "", - "rule": "capture-aws-sign-in", - "targetId": "SendToSNS" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:pulumi:Stack::aws_cloudwatch_eventRule_EventRule_1-p-it-antons-mac-cloudwatch-44efe95c", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventRule:EventRule::console", - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::pulumi:providers:aws::default::1bfcf61f-8ebf-4444-bd17-6314fdaa6a19", - "propertyDependencies": { - "arn": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:sns/topic:Topic::aws_logins" - ], - "rule": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-44efe95c::aws_cloudwatch_eventRule_EventRule_1::aws:cloudwatch/eventRule:EventRule::console" - ], - "targetId": null - }, - "created": "2023-11-10T22:24:33.791653Z", - "modified": "2023-11-10T22:24:33.791653Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/stack.json new file mode 100755 index 00000000000..ebc6030a421 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/stack.json @@ -0,0 +1,78 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:24:52.29672-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:ZayQNed0iQU=:v1:H6kCBKDPFhwfbHSQ:YjolxFZ6IlxQBtqQDdMEgp4o64n0Nw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_cloudwatch_logGroup_LogGroup_1::pulumi:pulumi:Stack::aws_cloudwatch_logGroup_LogGroup_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:24:48.90178Z", + "modified": "2023-11-10T22:24:48.90178Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_logGroup_LogGroup_1::pulumi:providers:aws::default", + "custom": true, + "id": "32c3abb7-4395-4129-a204-c84f1ebd1004", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:24:50.425896Z", + "modified": "2023-11-10T22:24:50.425896Z" + }, + { + "urn": "urn:pulumi:test::aws_cloudwatch_logGroup_LogGroup_1::aws:cloudwatch/logGroup:LogGroup::yada", + "custom": true, + "id": "Yada", + "type": "aws:cloudwatch/logGroup:LogGroup", + "inputs": { + "__defaults": [ + "retentionInDays", + "skipDestroy" + ], + "name": "Yada", + "retentionInDays": 0, + "skipDestroy": false, + "tags": { + "__defaults": [], + "application": "serviceA", + "environment": "production" + } + }, + "outputs": { + "arn": "arn:aws:logs:us-west-2:616138583583:log-group:Yada", + "id": "Yada", + "kmsKeyId": "", + "name": "Yada", + "namePrefix": "", + "retentionInDays": 0, + "skipDestroy": false, + "tags": { + "application": "serviceA", + "environment": "production" + }, + "tagsAll": { + "application": "serviceA", + "environment": "production" + } + }, + "parent": "urn:pulumi:test::aws_cloudwatch_logGroup_LogGroup_1::pulumi:pulumi:Stack::aws_cloudwatch_logGroup_LogGroup_1-test", + "provider": "urn:pulumi:test::aws_cloudwatch_logGroup_LogGroup_1::pulumi:providers:aws::default::32c3abb7-4395-4129-a204-c84f1ebd1004", + "propertyDependencies": { + "name": null, + "tags": null + }, + "created": "2023-11-10T22:24:52.296479Z", + "modified": "2023-11-10T22:24:52.296479Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/state.json deleted file mode 100755 index 5c80da86bb4..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch-loggroup/5.42.0/state.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:24:52.29672-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:ZayQNed0iQU=:v1:H6kCBKDPFhwfbHSQ:YjolxFZ6IlxQBtqQDdMEgp4o64n0Nw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-ab39949d::aws_cloudwatch_logGroup_LogGroup_1::pulumi:pulumi:Stack::aws_cloudwatch_logGroup_LogGroup_1-p-it-antons-mac-cloudwatch-ab39949d", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:24:48.90178Z", - "modified": "2023-11-10T22:24:48.90178Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-ab39949d::aws_cloudwatch_logGroup_LogGroup_1::pulumi:providers:aws::default", - "custom": true, - "id": "32c3abb7-4395-4129-a204-c84f1ebd1004", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:24:50.425896Z", - "modified": "2023-11-10T22:24:50.425896Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-ab39949d::aws_cloudwatch_logGroup_LogGroup_1::aws:cloudwatch/logGroup:LogGroup::yada", - "custom": true, - "id": "Yada", - "type": "aws:cloudwatch/logGroup:LogGroup", - "inputs": { - "__defaults": [ - "retentionInDays", - "skipDestroy" - ], - "name": "Yada", - "retentionInDays": 0, - "skipDestroy": false, - "tags": { - "__defaults": [], - "application": "serviceA", - "environment": "production" - } - }, - "outputs": { - "arn": "arn:aws:logs:us-west-2:616138583583:log-group:Yada", - "id": "Yada", - "kmsKeyId": "", - "name": "Yada", - "namePrefix": "", - "retentionInDays": 0, - "skipDestroy": false, - "tags": { - "application": "serviceA", - "environment": "production" - }, - "tagsAll": { - "application": "serviceA", - "environment": "production" - } - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-ab39949d::aws_cloudwatch_logGroup_LogGroup_1::pulumi:pulumi:Stack::aws_cloudwatch_logGroup_LogGroup_1-p-it-antons-mac-cloudwatch-ab39949d", - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-ab39949d::aws_cloudwatch_logGroup_LogGroup_1::pulumi:providers:aws::default::32c3abb7-4395-4129-a204-c84f1ebd1004", - "propertyDependencies": { - "name": null, - "tags": null - }, - "created": "2023-11-10T22:24:52.296479Z", - "modified": "2023-11-10T22:24:52.296479Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/stack.json new file mode 100755 index 00000000000..f48fd75061a --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/stack.json @@ -0,0 +1,625 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T18:00:28.740214-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:enJnxC24qZ8=:v1:Brh3kotqnC91Z8dZ:lSErKTz1wggm92iJELo1a6YNbBkkLg==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T23:00:10.384067Z", + "modified": "2023-11-10T23:00:10.384067Z", + "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" + }, + { + "urn": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov", + "custom": true, + "id": "5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "outputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "propertyDependencies": { + "region": null, + "skipCredentialsValidation": null, + "skipMetadataApiCheck": null, + "skipRegionValidation": null + }, + "created": "2023-11-10T23:00:12.022859Z", + "modified": "2023-11-10T23:00:12.022859Z", + "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "custom": false, + "type": "aws:cloudwatch:EventRuleEventSubscription", + "parent": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "created": "2023-11-10T23:00:12.035768Z", + "modified": "2023-11-10T23:00:12.035768Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#81,9" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute", + "custom": true, + "id": "everyMinute-071dbe3", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\",\"Sid\":\"\"}]}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "everyMinute-071dbe3", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/everyMinute-071dbe3", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-11-10T23:00:13Z", + "description": "", + "forceDetachPolicies": false, + "id": "everyMinute-071dbe3", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "everyMinute-071dbe3", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYPX7O2HHQOC" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2023-11-10T23:00:13.472278Z", + "modified": "2023-11-10T23:00:13.472278Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#304,20" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-74d12784", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013578900000001", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013578900000001", + "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.634371Z", + "modified": "2023-11-10T23:00:13.634371Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-b5aeb6b6", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013634700000002", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013634700000002", + "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.687665Z", + "modified": "2023-11-10T23:00:13.687665Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-a1de8170", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013657000000003", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013657000000003", + "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.698931Z", + "modified": "2023-11-10T23:00:13.698931Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-019020e7", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013662100000004", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013662100000004", + "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.707188Z", + "modified": "2023-11-10T23:00:13.707188Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-7cd09230", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013662100000005", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013662100000005", + "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.713707Z", + "modified": "2023-11-10T23:00:13.713707Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-4aaabb8e", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013662100000006", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013662100000006", + "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.714417Z", + "modified": "2023-11-10T23:00:13.714417Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-6c156834", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013663400000008", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013663400000008", + "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.716518Z", + "modified": "2023-11-10T23:00:13.716518Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-1b4caae3", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013662100000007", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013662100000007", + "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.718532Z", + "modified": "2023-11-10T23:00:13.718532Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-e1a3786d", + "custom": true, + "id": "everyMinute-071dbe3-20231110230013698200000009", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", + "role": "everyMinute-071dbe3" + }, + "outputs": { + "id": "everyMinute-071dbe3-20231110230013698200000009", + "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", + "role": "everyMinute-071dbe3" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ] + }, + "created": "2023-11-10T23:00:13.746945Z", + "modified": "2023-11-10T23:00:13.746945Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute", + "custom": true, + "id": "everyMinute-b661836", + "type": "aws:cloudwatch/eventRule:EventRule", + "inputs": { + "__defaults": [ + "eventBusName", + "isEnabled", + "name" + ], + "eventBusName": "default", + "isEnabled": true, + "name": "everyMinute-b661836", + "scheduleExpression": "rate(1 minute)" + }, + "outputs": { + "arn": "arn:aws:events:us-west-2:616138583583:rule/everyMinute-b661836", + "description": "", + "eventBusName": "default", + "id": "everyMinute-b661836", + "isEnabled": true, + "name": "everyMinute-b661836", + "namePrefix": "", + "roleArn": "", + "scheduleExpression": "rate(1 minute)", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "scheduleExpression": null + }, + "created": "2023-11-10T23:00:13.96518Z", + "modified": "2023-11-10T23:00:13.96518Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#88,30" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute", + "custom": true, + "id": "everyMinute-854f21d", + "type": "aws:lambda/function:Function", + "inputs": { + "__defaults": [ + "memorySize", + "name", + "packageType", + "publish", + "reservedConcurrentExecutions", + "skipDestroy" + ], + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "__index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "b77c2abec22b46abeea39d1c6f9cb64130e50f8f121089c31dcbf70471c6e750", + "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) =\u003e __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" + } + }, + "hash": "062c399c84837eaff0d7126e5d58e9baf3819ec4dd159aa87f207d8b3a17e473" + }, + "handler": "__index.handler", + "memorySize": 128, + "name": "everyMinute-854f21d", + "packageType": "Zip", + "publish": false, + "reservedConcurrentExecutions": -1, + "role": "arn:aws:iam::616138583583:role/everyMinute-071dbe3", + "runtime": "nodejs16.x", + "skipDestroy": false, + "timeout": 180 + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", + "architectures": [ + "x86_64" + ], + "arn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d", + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "__index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "b77c2abec22b46abeea39d1c6f9cb64130e50f8f121089c31dcbf70471c6e750", + "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) =\u003e __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" + } + }, + "hash": "062c399c84837eaff0d7126e5d58e9baf3819ec4dd159aa87f207d8b3a17e473" + }, + "codeSigningConfigArn": "", + "deadLetterConfig": null, + "description": "", + "environment": null, + "ephemeralStorage": { + "size": 512 + }, + "fileSystemConfig": null, + "handler": "__index.handler", + "id": "everyMinute-854f21d", + "imageConfig": null, + "imageUri": "", + "invokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d/invocations", + "kmsKeyArn": "", + "lastModified": "2023-11-10T23:00:22.300+0000", + "layers": [], + "memorySize": 128, + "name": "everyMinute-854f21d", + "packageType": "Zip", + "publish": false, + "qualifiedArn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d:$LATEST", + "qualifiedInvokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d:$LATEST/invocations", + "reservedConcurrentExecutions": -1, + "role": "arn:aws:iam::616138583583:role/everyMinute-071dbe3", + "runtime": "nodejs16.x", + "signingJobArn": "", + "signingProfileVersionArn": "", + "skipDestroy": false, + "snapStart": null, + "sourceCodeHash": "svtvEP/ItsjABD7yrz4gHErWMIp5qS1evQuX9bfFyLo=", + "sourceCodeSize": 610, + "tags": {}, + "tagsAll": {}, + "timeout": 180, + "tracingConfig": { + "mode": "PassThrough" + }, + "version": "$LATEST", + "vpcConfig": null + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "code": null, + "handler": null, + "role": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" + ], + "runtime": null, + "timeout": null + }, + "created": "2023-11-10T23:00:28.15285Z", + "modified": "2023-11-10T23:00:28.15285Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#389,9" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventTarget:EventTarget::everyMinute", + "custom": true, + "id": "everyMinute-b661836-everyMinute", + "type": "aws:cloudwatch/eventTarget:EventTarget", + "inputs": { + "__defaults": [], + "arn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d", + "eventBusName": "default", + "rule": "everyMinute-b661836", + "targetId": "everyMinute" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d", + "eventBusName": "default", + "httpTarget": null, + "id": "everyMinute-b661836-everyMinute", + "input": "", + "inputPath": "", + "roleArn": "", + "rule": "everyMinute-b661836", + "targetId": "everyMinute" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute", + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "arn": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute" + ], + "eventBusName": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" + ], + "rule": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" + ], + "targetId": null + }, + "created": "2023-11-10T23:00:28.733396Z", + "modified": "2023-11-10T23:00:28.733396Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#106,23" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/permission:Permission::everyMinute", + "custom": true, + "id": "everyMinute-9ac3563", + "type": "aws:lambda/permission:Permission", + "inputs": { + "__defaults": [ + "statementId" + ], + "action": "lambda:invokeFunction", + "function": "everyMinute-854f21d", + "principal": "events.amazonaws.com", + "sourceArn": "arn:aws:events:us-west-2:616138583583:rule/everyMinute-b661836", + "statementId": "everyMinute-9ac3563" + }, + "outputs": { + "action": "lambda:invokeFunction", + "function": "everyMinute-854f21d", + "id": "everyMinute-9ac3563", + "principal": "events.amazonaws.com", + "qualifier": "", + "sourceArn": "arn:aws:events:us-west-2:616138583583:rule/everyMinute-b661836", + "statementId": "everyMinute-9ac3563", + "statementIdPrefix": "" + }, + "parent": "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute", + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", + "propertyDependencies": { + "action": null, + "function": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute" + ], + "principal": null, + "sourceArn": [ + "urn:pulumi:test::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" + ] + }, + "created": "2023-11-10T23:00:28.740143Z", + "modified": "2023-11-10T23:00:28.740143Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#99,27" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/state.json deleted file mode 100755 index e2f390acc2d..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/cloudwatch/5.42.0/state.json +++ /dev/null @@ -1,625 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T18:00:28.740214-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:enJnxC24qZ8=:v1:Brh3kotqnC91Z8dZ:lSErKTz1wggm92iJELo1a6YNbBkkLg==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-cloudwatch-950a8d4d", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T23:00:10.384067Z", - "modified": "2023-11-10T23:00:10.384067Z", - "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov", - "custom": true, - "id": "5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "outputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-cloudwatch-950a8d4d", - "propertyDependencies": { - "region": null, - "skipCredentialsValidation": null, - "skipMetadataApiCheck": null, - "skipRegionValidation": null - }, - "created": "2023-11-10T23:00:12.022859Z", - "modified": "2023-11-10T23:00:12.022859Z", - "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "custom": false, - "type": "aws:cloudwatch:EventRuleEventSubscription", - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-cloudwatch-950a8d4d", - "created": "2023-11-10T23:00:12.035768Z", - "modified": "2023-11-10T23:00:12.035768Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#81,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute", - "custom": true, - "id": "everyMinute-071dbe3", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\",\"Sid\":\"\"}]}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "everyMinute-071dbe3", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/everyMinute-071dbe3", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-11-10T23:00:13Z", - "description": "", - "forceDetachPolicies": false, - "id": "everyMinute-071dbe3", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "everyMinute-071dbe3", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYPX7O2HHQOC" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2023-11-10T23:00:13.472278Z", - "modified": "2023-11-10T23:00:13.472278Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#304,20" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-74d12784", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013578900000001", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013578900000001", - "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.634371Z", - "modified": "2023-11-10T23:00:13.634371Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-b5aeb6b6", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013634700000002", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013634700000002", - "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.687665Z", - "modified": "2023-11-10T23:00:13.687665Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-a1de8170", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013657000000003", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013657000000003", - "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.698931Z", - "modified": "2023-11-10T23:00:13.698931Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-019020e7", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013662100000004", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013662100000004", - "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.707188Z", - "modified": "2023-11-10T23:00:13.707188Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-7cd09230", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013662100000005", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013662100000005", - "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.713707Z", - "modified": "2023-11-10T23:00:13.713707Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-4aaabb8e", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013662100000006", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013662100000006", - "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.714417Z", - "modified": "2023-11-10T23:00:13.714417Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-6c156834", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013663400000008", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013663400000008", - "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.716518Z", - "modified": "2023-11-10T23:00:13.716518Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-1b4caae3", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013662100000007", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013662100000007", - "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.718532Z", - "modified": "2023-11-10T23:00:13.718532Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::everyMinute-e1a3786d", - "custom": true, - "id": "everyMinute-071dbe3-20231110230013698200000009", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", - "role": "everyMinute-071dbe3" - }, - "outputs": { - "id": "everyMinute-071dbe3-20231110230013698200000009", - "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", - "role": "everyMinute-071dbe3" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ] - }, - "created": "2023-11-10T23:00:13.746945Z", - "modified": "2023-11-10T23:00:13.746945Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute", - "custom": true, - "id": "everyMinute-b661836", - "type": "aws:cloudwatch/eventRule:EventRule", - "inputs": { - "__defaults": [ - "eventBusName", - "isEnabled", - "name" - ], - "eventBusName": "default", - "isEnabled": true, - "name": "everyMinute-b661836", - "scheduleExpression": "rate(1 minute)" - }, - "outputs": { - "arn": "arn:aws:events:us-west-2:616138583583:rule/everyMinute-b661836", - "description": "", - "eventBusName": "default", - "id": "everyMinute-b661836", - "isEnabled": true, - "name": "everyMinute-b661836", - "namePrefix": "", - "roleArn": "", - "scheduleExpression": "rate(1 minute)", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "scheduleExpression": null - }, - "created": "2023-11-10T23:00:13.96518Z", - "modified": "2023-11-10T23:00:13.96518Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#88,30" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute", - "custom": true, - "id": "everyMinute-854f21d", - "type": "aws:lambda/function:Function", - "inputs": { - "__defaults": [ - "memorySize", - "name", - "packageType", - "publish", - "reservedConcurrentExecutions", - "skipDestroy" - ], - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "__index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "b77c2abec22b46abeea39d1c6f9cb64130e50f8f121089c31dcbf70471c6e750", - "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) => __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" - } - }, - "hash": "062c399c84837eaff0d7126e5d58e9baf3819ec4dd159aa87f207d8b3a17e473" - }, - "handler": "__index.handler", - "memorySize": 128, - "name": "everyMinute-854f21d", - "packageType": "Zip", - "publish": false, - "reservedConcurrentExecutions": -1, - "role": "arn:aws:iam::616138583583:role/everyMinute-071dbe3", - "runtime": "nodejs16.x", - "skipDestroy": false, - "timeout": 180 - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d", - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "__index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "b77c2abec22b46abeea39d1c6f9cb64130e50f8f121089c31dcbf70471c6e750", - "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) => __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" - } - }, - "hash": "062c399c84837eaff0d7126e5d58e9baf3819ec4dd159aa87f207d8b3a17e473" - }, - "codeSigningConfigArn": "", - "deadLetterConfig": null, - "description": "", - "environment": null, - "ephemeralStorage": { - "size": 512 - }, - "fileSystemConfig": null, - "handler": "__index.handler", - "id": "everyMinute-854f21d", - "imageConfig": null, - "imageUri": "", - "invokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d/invocations", - "kmsKeyArn": "", - "lastModified": "2023-11-10T23:00:22.300+0000", - "layers": [], - "memorySize": 128, - "name": "everyMinute-854f21d", - "packageType": "Zip", - "publish": false, - "qualifiedArn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d:$LATEST", - "qualifiedInvokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d:$LATEST/invocations", - "reservedConcurrentExecutions": -1, - "role": "arn:aws:iam::616138583583:role/everyMinute-071dbe3", - "runtime": "nodejs16.x", - "signingJobArn": "", - "signingProfileVersionArn": "", - "skipDestroy": false, - "snapStart": null, - "sourceCodeHash": "svtvEP/ItsjABD7yrz4gHErWMIp5qS1evQuX9bfFyLo=", - "sourceCodeSize": 610, - "tags": {}, - "tagsAll": {}, - "timeout": 180, - "tracingConfig": { - "mode": "PassThrough" - }, - "version": "$LATEST", - "vpcConfig": null - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "code": null, - "handler": null, - "role": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:iam/role:Role::everyMinute" - ], - "runtime": null, - "timeout": null - }, - "created": "2023-11-10T23:00:28.15285Z", - "modified": "2023-11-10T23:00:28.15285Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#389,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventTarget:EventTarget::everyMinute", - "custom": true, - "id": "everyMinute-b661836-everyMinute", - "type": "aws:cloudwatch/eventTarget:EventTarget", - "inputs": { - "__defaults": [], - "arn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d", - "eventBusName": "default", - "rule": "everyMinute-b661836", - "targetId": "everyMinute" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:lambda:us-west-2:616138583583:function:everyMinute-854f21d", - "eventBusName": "default", - "httpTarget": null, - "id": "everyMinute-b661836-everyMinute", - "input": "", - "inputPath": "", - "roleArn": "", - "rule": "everyMinute-b661836", - "targetId": "everyMinute" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute", - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "arn": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute" - ], - "eventBusName": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" - ], - "rule": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" - ], - "targetId": null - }, - "created": "2023-11-10T23:00:28.733396Z", - "modified": "2023-11-10T23:00:28.733396Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#106,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/permission:Permission::everyMinute", - "custom": true, - "id": "everyMinute-9ac3563", - "type": "aws:lambda/permission:Permission", - "inputs": { - "__defaults": [ - "statementId" - ], - "action": "lambda:invokeFunction", - "function": "everyMinute-854f21d", - "principal": "events.amazonaws.com", - "sourceArn": "arn:aws:events:us-west-2:616138583583:rule/everyMinute-b661836", - "statementId": "everyMinute-9ac3563" - }, - "outputs": { - "action": "lambda:invokeFunction", - "function": "everyMinute-854f21d", - "id": "everyMinute-9ac3563", - "principal": "events.amazonaws.com", - "qualifier": "", - "sourceArn": "arn:aws:events:us-west-2:616138583583:rule/everyMinute-b661836", - "statementId": "everyMinute-9ac3563", - "statementIdPrefix": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription::everyMinute", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute", - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" - ], - "provider": "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::pulumi:providers:aws::prov::5c5717cc-2a5c-4e0a-95b3-0c37ba09036a", - "propertyDependencies": { - "action": null, - "function": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:lambda/function:Function::everyMinute" - ], - "principal": null, - "sourceArn": [ - "urn:pulumi:p-it-antons-mac-cloudwatch-950a8d4d::CloudWatch::aws:cloudwatch:EventRuleEventSubscription$aws:cloudwatch/eventRule:EventRule::everyMinute" - ] - }, - "created": "2023-11-10T23:00:28.740143Z", - "modified": "2023-11-10T23:00:28.740143Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/eventRuleMixins.ts#99,27" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/stack.json new file mode 100755 index 00000000000..b1cb55cd3fd --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/stack.json @@ -0,0 +1,170 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:25:34.429157-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:2M1q459VsZw=:v1:0xBa7u3UP0AANw0F:1yXC+mhS/LB6M/mT/rdG216WLQWySw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_dynamodb_table_Table_1::pulumi:pulumi:Stack::aws_dynamodb_table_Table_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:25:07.207847Z", + "modified": "2023-11-10T22:25:07.207847Z" + }, + { + "urn": "urn:pulumi:test::aws_dynamodb_table_Table_1::pulumi:providers:aws::default", + "custom": true, + "id": "abc0e33d-0d06-4113-9383-a8375d8e3ab3", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:25:08.698334Z", + "modified": "2023-11-10T22:25:08.698334Z" + }, + { + "urn": "urn:pulumi:test::aws_dynamodb_table_Table_1::aws:dynamodb/table:Table::basic-dynamodb-table", + "custom": true, + "id": "GameScores", + "type": "aws:dynamodb/table:Table", + "inputs": { + "__defaults": [ + "tableClass" + ], + "attributes": [ + { + "__defaults": [], + "name": "UserId", + "type": "S" + }, + { + "__defaults": [], + "name": "GameTitle", + "type": "S" + }, + { + "__defaults": [], + "name": "TopScore", + "type": "N" + } + ], + "billingMode": "PROVISIONED", + "globalSecondaryIndexes": [ + { + "__defaults": [], + "hashKey": "GameTitle", + "name": "GameTitleIndex", + "nonKeyAttributes": [ + "UserId" + ], + "projectionType": "INCLUDE", + "rangeKey": "TopScore", + "readCapacity": 10, + "writeCapacity": 10 + } + ], + "hashKey": "UserId", + "name": "GameScores", + "rangeKey": "GameTitle", + "readCapacity": 20, + "tableClass": "STANDARD", + "tags": { + "__defaults": [], + "environment": "production", + "name": "dynamodb-table-1" + }, + "ttl": { + "__defaults": [], + "attributeName": "TimeToExist", + "enabled": false + }, + "writeCapacity": 20 + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1800000000000,\"delete\":600000000000,\"update\":3600000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:dynamodb:us-west-2:616138583583:table/GameScores", + "attributes": [ + { + "name": "TopScore", + "type": "N" + }, + { + "name": "GameTitle", + "type": "S" + }, + { + "name": "UserId", + "type": "S" + } + ], + "billingMode": "PROVISIONED", + "deletionProtectionEnabled": false, + "globalSecondaryIndexes": [ + { + "hashKey": "GameTitle", + "name": "GameTitleIndex", + "nonKeyAttributes": [ + "UserId" + ], + "projectionType": "INCLUDE", + "rangeKey": "TopScore", + "readCapacity": 10, + "writeCapacity": 10 + } + ], + "hashKey": "UserId", + "id": "GameScores", + "localSecondaryIndexes": [], + "name": "GameScores", + "pointInTimeRecovery": { + "enabled": false + }, + "rangeKey": "GameTitle", + "readCapacity": 20, + "replicas": [], + "serverSideEncryption": null, + "streamArn": "", + "streamEnabled": false, + "streamLabel": "", + "streamViewType": "", + "tableClass": "STANDARD", + "tags": { + "environment": "production", + "name": "dynamodb-table-1" + }, + "tagsAll": { + "environment": "production", + "name": "dynamodb-table-1" + }, + "ttl": { + "attributeName": "", + "enabled": false + }, + "writeCapacity": 20 + }, + "parent": "urn:pulumi:test::aws_dynamodb_table_Table_1::pulumi:pulumi:Stack::aws_dynamodb_table_Table_1-test", + "provider": "urn:pulumi:test::aws_dynamodb_table_Table_1::pulumi:providers:aws::default::abc0e33d-0d06-4113-9383-a8375d8e3ab3", + "propertyDependencies": { + "attributes": null, + "billingMode": null, + "globalSecondaryIndexes": null, + "hashKey": null, + "name": null, + "rangeKey": null, + "readCapacity": null, + "tags": null, + "ttl": null, + "writeCapacity": null + }, + "created": "2023-11-10T22:25:34.428735Z", + "modified": "2023-11-10T22:25:34.428735Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/state.json deleted file mode 100755 index bee7bcd14c1..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/dynamodb-table/5.42.0/state.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:25:34.429157-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:2M1q459VsZw=:v1:0xBa7u3UP0AANw0F:1yXC+mhS/LB6M/mT/rdG216WLQWySw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-dynamodb-t-10164fc0::aws_dynamodb_table_Table_1::pulumi:pulumi:Stack::aws_dynamodb_table_Table_1-p-it-antons-mac-dynamodb-t-10164fc0", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:25:07.207847Z", - "modified": "2023-11-10T22:25:07.207847Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-dynamodb-t-10164fc0::aws_dynamodb_table_Table_1::pulumi:providers:aws::default", - "custom": true, - "id": "abc0e33d-0d06-4113-9383-a8375d8e3ab3", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:25:08.698334Z", - "modified": "2023-11-10T22:25:08.698334Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-dynamodb-t-10164fc0::aws_dynamodb_table_Table_1::aws:dynamodb/table:Table::basic-dynamodb-table", - "custom": true, - "id": "GameScores", - "type": "aws:dynamodb/table:Table", - "inputs": { - "__defaults": [ - "tableClass" - ], - "attributes": [ - { - "__defaults": [], - "name": "UserId", - "type": "S" - }, - { - "__defaults": [], - "name": "GameTitle", - "type": "S" - }, - { - "__defaults": [], - "name": "TopScore", - "type": "N" - } - ], - "billingMode": "PROVISIONED", - "globalSecondaryIndexes": [ - { - "__defaults": [], - "hashKey": "GameTitle", - "name": "GameTitleIndex", - "nonKeyAttributes": [ - "UserId" - ], - "projectionType": "INCLUDE", - "rangeKey": "TopScore", - "readCapacity": 10, - "writeCapacity": 10 - } - ], - "hashKey": "UserId", - "name": "GameScores", - "rangeKey": "GameTitle", - "readCapacity": 20, - "tableClass": "STANDARD", - "tags": { - "__defaults": [], - "environment": "production", - "name": "dynamodb-table-1" - }, - "ttl": { - "__defaults": [], - "attributeName": "TimeToExist", - "enabled": false - }, - "writeCapacity": 20 - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1800000000000,\"delete\":600000000000,\"update\":3600000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:dynamodb:us-west-2:616138583583:table/GameScores", - "attributes": [ - { - "name": "TopScore", - "type": "N" - }, - { - "name": "GameTitle", - "type": "S" - }, - { - "name": "UserId", - "type": "S" - } - ], - "billingMode": "PROVISIONED", - "deletionProtectionEnabled": false, - "globalSecondaryIndexes": [ - { - "hashKey": "GameTitle", - "name": "GameTitleIndex", - "nonKeyAttributes": [ - "UserId" - ], - "projectionType": "INCLUDE", - "rangeKey": "TopScore", - "readCapacity": 10, - "writeCapacity": 10 - } - ], - "hashKey": "UserId", - "id": "GameScores", - "localSecondaryIndexes": [], - "name": "GameScores", - "pointInTimeRecovery": { - "enabled": false - }, - "rangeKey": "GameTitle", - "readCapacity": 20, - "replicas": [], - "serverSideEncryption": null, - "streamArn": "", - "streamEnabled": false, - "streamLabel": "", - "streamViewType": "", - "tableClass": "STANDARD", - "tags": { - "environment": "production", - "name": "dynamodb-table-1" - }, - "tagsAll": { - "environment": "production", - "name": "dynamodb-table-1" - }, - "ttl": { - "attributeName": "", - "enabled": false - }, - "writeCapacity": 20 - }, - "parent": "urn:pulumi:p-it-antons-mac-dynamodb-t-10164fc0::aws_dynamodb_table_Table_1::pulumi:pulumi:Stack::aws_dynamodb_table_Table_1-p-it-antons-mac-dynamodb-t-10164fc0", - "provider": "urn:pulumi:p-it-antons-mac-dynamodb-t-10164fc0::aws_dynamodb_table_Table_1::pulumi:providers:aws::default::abc0e33d-0d06-4113-9383-a8375d8e3ab3", - "propertyDependencies": { - "attributes": null, - "billingMode": null, - "globalSecondaryIndexes": null, - "hashKey": null, - "name": null, - "rangeKey": null, - "readCapacity": null, - "tags": null, - "ttl": null, - "writeCapacity": null - }, - "created": "2023-11-10T22:25:34.428735Z", - "modified": "2023-11-10T22:25:34.428735Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/stack.json new file mode 100755 index 00000000000..6a2b0dc8c7d --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/stack.json @@ -0,0 +1,150 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T15:49:53.046918Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:8yUB6sYzrlI=:v1:/K0mS2j40MUllkyx:LsWmONelhOE2JOw8CT/xqHyn+kLCLQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::ec2-instance::pulumi:pulumi:Stack::ec2-instance-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T15:49:25.123219Z", + "modified": "2024-03-12T15:49:25.123219Z" + }, + { + "urn": "urn:pulumi:test::ec2-instance::pulumi:providers:aws::default", + "custom": true, + "id": "69f9eb7e-8d61-4d14-8bb1-0b4e1c1169b4", + "type": "pulumi:providers:aws", + "created": "2024-03-12T15:49:26.841042Z", + "modified": "2024-03-12T15:49:26.841042Z" + }, + { + "urn": "urn:pulumi:test::ec2-instance::aws:ec2/instance:Instance::my-ec2-instance", + "custom": true, + "id": "i-0ecb41f78d825dd80", + "type": "aws:ec2/instance:Instance", + "inputs": { + "__defaults": [ + "getPasswordData", + "sourceDestCheck", + "userDataReplaceOnChange" + ], + "ami": "ami-a0cfeed8", + "getPasswordData": false, + "instanceType": "t2.micro", + "sourceDestCheck": true, + "userDataReplaceOnChange": false + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000,\"update\":600000000000},\"schema_version\":\"1\"}", + "ami": "ami-a0cfeed8", + "arn": "arn:aws:ec2:us-west-2:616138583583:instance/i-0ecb41f78d825dd80", + "associatePublicIpAddress": true, + "availabilityZone": "us-west-2b", + "capacityReservationSpecification": { + "capacityReservationPreference": "open", + "capacityReservationTarget": null + }, + "cpuCoreCount": 1, + "cpuOptions": { + "amdSevSnp": "", + "coreCount": 1, + "threadsPerCore": 1 + }, + "cpuThreadsPerCore": 1, + "creditSpecification": { + "cpuCredits": "standard" + }, + "disableApiStop": false, + "disableApiTermination": false, + "ebsBlockDevices": [], + "ebsOptimized": false, + "enclaveOptions": { + "enabled": false + }, + "ephemeralBlockDevices": [], + "getPasswordData": false, + "hibernation": false, + "hostId": "", + "iamInstanceProfile": "", + "id": "i-0ecb41f78d825dd80", + "instanceInitiatedShutdownBehavior": "stop", + "instanceState": "running", + "instanceType": "t2.micro", + "ipv6AddressCount": 0, + "ipv6Addresses": [], + "keyName": "", + "launchTemplate": null, + "maintenanceOptions": { + "autoRecovery": "default" + }, + "metadataOptions": { + "httpEndpoint": "enabled", + "httpPutResponseHopLimit": 1, + "httpTokens": "optional", + "instanceMetadataTags": "disabled" + }, + "monitoring": false, + "networkInterfaces": [], + "outpostArn": "", + "passwordData": "", + "placementGroup": "", + "placementPartitionNumber": 0, + "primaryNetworkInterfaceId": "eni-07e423ae588f4603d", + "privateDns": "ip-172-31-17-30.us-west-2.compute.internal", + "privateDnsNameOptions": { + "enableResourceNameDnsARecord": false, + "enableResourceNameDnsAaaaRecord": false, + "hostnameType": "ip-name" + }, + "privateIp": "172.31.17.30", + "publicDns": "ec2-35-87-117-102.us-west-2.compute.amazonaws.com", + "publicIp": "35.87.117.102", + "rootBlockDevice": { + "deleteOnTermination": true, + "deviceName": "/dev/xvda", + "encrypted": false, + "iops": 100, + "kmsKeyId": "", + "tags": {}, + "throughput": 0, + "volumeId": "vol-0f2ad9480c0f04bad", + "volumeSize": 8, + "volumeType": "gp2" + }, + "secondaryPrivateIps": [], + "securityGroups": [ + "default" + ], + "sourceDestCheck": true, + "subnetId": "subnet-c7d926bf", + "tags": {}, + "tagsAll": {}, + "tenancy": "default", + "userDataReplaceOnChange": false, + "vpcSecurityGroupIds": [ + "sg-4d436f12" + ] + }, + "parent": "urn:pulumi:test::ec2-instance::pulumi:pulumi:Stack::ec2-instance-test", + "provider": "urn:pulumi:test::ec2-instance::pulumi:providers:aws::default::69f9eb7e-8d61-4d14-8bb1-0b4e1c1169b4", + "propertyDependencies": { + "ami": null, + "instanceType": null + }, + "created": "2024-03-12T15:49:53.046292Z", + "modified": "2024-03-12T15:49:53.046292Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/state.json deleted file mode 100755 index a942320c086..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/ec2-instance/5.42.0/state.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T15:49:53.046918Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:8yUB6sYzrlI=:v1:/K0mS2j40MUllkyx:LsWmONelhOE2JOw8CT/xqHyn+kLCLQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-instan-4aca9ab2::ec2-instance::pulumi:pulumi:Stack::ec2-instance-p-it-venelins-m-ec2-instan-4aca9ab2", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T15:49:25.123219Z", - "modified": "2024-03-12T15:49:25.123219Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-instan-4aca9ab2::ec2-instance::pulumi:providers:aws::default", - "custom": true, - "id": "69f9eb7e-8d61-4d14-8bb1-0b4e1c1169b4", - "type": "pulumi:providers:aws", - "created": "2024-03-12T15:49:26.841042Z", - "modified": "2024-03-12T15:49:26.841042Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-instan-4aca9ab2::ec2-instance::aws:ec2/instance:Instance::my-ec2-instance", - "custom": true, - "id": "i-0ecb41f78d825dd80", - "type": "aws:ec2/instance:Instance", - "inputs": { - "__defaults": [ - "getPasswordData", - "sourceDestCheck", - "userDataReplaceOnChange" - ], - "ami": "ami-a0cfeed8", - "getPasswordData": false, - "instanceType": "t2.micro", - "sourceDestCheck": true, - "userDataReplaceOnChange": false - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000,\"update\":600000000000},\"schema_version\":\"1\"}", - "ami": "ami-a0cfeed8", - "arn": "arn:aws:ec2:us-west-2:616138583583:instance/i-0ecb41f78d825dd80", - "associatePublicIpAddress": true, - "availabilityZone": "us-west-2b", - "capacityReservationSpecification": { - "capacityReservationPreference": "open", - "capacityReservationTarget": null - }, - "cpuCoreCount": 1, - "cpuOptions": { - "amdSevSnp": "", - "coreCount": 1, - "threadsPerCore": 1 - }, - "cpuThreadsPerCore": 1, - "creditSpecification": { - "cpuCredits": "standard" - }, - "disableApiStop": false, - "disableApiTermination": false, - "ebsBlockDevices": [], - "ebsOptimized": false, - "enclaveOptions": { - "enabled": false - }, - "ephemeralBlockDevices": [], - "getPasswordData": false, - "hibernation": false, - "hostId": "", - "iamInstanceProfile": "", - "id": "i-0ecb41f78d825dd80", - "instanceInitiatedShutdownBehavior": "stop", - "instanceState": "running", - "instanceType": "t2.micro", - "ipv6AddressCount": 0, - "ipv6Addresses": [], - "keyName": "", - "launchTemplate": null, - "maintenanceOptions": { - "autoRecovery": "default" - }, - "metadataOptions": { - "httpEndpoint": "enabled", - "httpPutResponseHopLimit": 1, - "httpTokens": "optional", - "instanceMetadataTags": "disabled" - }, - "monitoring": false, - "networkInterfaces": [], - "outpostArn": "", - "passwordData": "", - "placementGroup": "", - "placementPartitionNumber": 0, - "primaryNetworkInterfaceId": "eni-07e423ae588f4603d", - "privateDns": "ip-172-31-17-30.us-west-2.compute.internal", - "privateDnsNameOptions": { - "enableResourceNameDnsARecord": false, - "enableResourceNameDnsAaaaRecord": false, - "hostnameType": "ip-name" - }, - "privateIp": "172.31.17.30", - "publicDns": "ec2-35-87-117-102.us-west-2.compute.amazonaws.com", - "publicIp": "35.87.117.102", - "rootBlockDevice": { - "deleteOnTermination": true, - "deviceName": "/dev/xvda", - "encrypted": false, - "iops": 100, - "kmsKeyId": "", - "tags": {}, - "throughput": 0, - "volumeId": "vol-0f2ad9480c0f04bad", - "volumeSize": 8, - "volumeType": "gp2" - }, - "secondaryPrivateIps": [], - "securityGroups": [ - "default" - ], - "sourceDestCheck": true, - "subnetId": "subnet-c7d926bf", - "tags": {}, - "tagsAll": {}, - "tenancy": "default", - "userDataReplaceOnChange": false, - "vpcSecurityGroupIds": [ - "sg-4d436f12" - ] - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-instan-4aca9ab2::ec2-instance::pulumi:pulumi:Stack::ec2-instance-p-it-venelins-m-ec2-instan-4aca9ab2", - "provider": "urn:pulumi:p-it-venelins-m-ec2-instan-4aca9ab2::ec2-instance::pulumi:providers:aws::default::69f9eb7e-8d61-4d14-8bb1-0b4e1c1169b4", - "propertyDependencies": { - "ami": null, - "instanceType": null - }, - "created": "2024-03-12T15:49:53.046292Z", - "modified": "2024-03-12T15:49:53.046292Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/stack.json new file mode 100755 index 00000000000..71449f4979e --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/stack.json @@ -0,0 +1,407 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T12:20:03.864934Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:7zYbSEVWKZw=:v1:EIKc93uAODE5Qeab:k67m1pCk7vx1+7/NfOlMt8ppjyOwOg==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "outputs": { + "eipId": "eipalloc-01c9ffd2c77115e63", + "internetGatewayId": "igw-09d3c416e9f3c46bf", + "natGatewayId": "nat-0d9d80723d1954396", + "routeId": "r-rtb-0c4e1dbf8c3de39a21080289494", + "routeTableAssociationId": "rtbassoc-0d0d944b9ec21251c", + "routeTableId": "rtb-0c4e1dbf8c3de39a2", + "subnetId": "subnet-05cab3ea9b19c4232", + "vpcId": "vpc-0ca0287536af52635" + }, + "created": "2024-03-12T12:18:08.467251Z", + "modified": "2024-03-12T12:18:08.467251Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default", + "custom": true, + "id": "29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2" + }, + "outputs": { + "region": "us-west-2" + }, + "created": "2024-03-12T12:18:10.151653Z", + "modified": "2024-03-12T12:18:10.151653Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/internetGateway:InternetGateway::MyInternetGateway", + "custom": true, + "id": "igw-09d3c416e9f3c46bf", + "type": "aws:ec2/internetGateway:InternetGateway", + "inputs": { + "__defaults": [] + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000}}", + "arn": "arn:aws:ec2:us-west-2:616138583583:internet-gateway/igw-09d3c416e9f3c46bf", + "id": "igw-09d3c416e9f3c46bf", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {}, + "vpcId": "" + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "created": "2024-03-12T12:18:12.64196Z", + "modified": "2024-03-12T12:18:12.64196Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/eip:Eip::MyEIP", + "custom": true, + "id": "eipalloc-01c9ffd2c77115e63", + "type": "aws:ec2/eip:Eip", + "inputs": { + "__defaults": [] + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"delete\":180000000000,\"read\":900000000000,\"update\":300000000000}}", + "allocationId": "eipalloc-01c9ffd2c77115e63", + "associationId": "", + "carrierIp": "", + "customerOwnedIp": "", + "customerOwnedIpv4Pool": "", + "domain": "vpc", + "id": "eipalloc-01c9ffd2c77115e63", + "instance": "", + "networkBorderGroup": "us-west-2", + "networkInterface": "", + "privateIp": "", + "publicDns": "ec2-44-226-163-70.us-west-2.compute.amazonaws.com", + "publicIp": "44.226.163.70", + "publicIpv4Pool": "amazon", + "tags": {}, + "tagsAll": {}, + "vpc": true + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "created": "2024-03-12T12:18:13.0873Z", + "modified": "2024-03-12T12:18:13.0873Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC", + "custom": true, + "id": "vpc-0ca0287536af52635", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "enableDnsSupport", + "instanceTenancy" + ], + "cidrBlock": "10.0.0.0/16", + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-0ca0287536af52635", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.0.0.0/16", + "defaultNetworkAclId": "acl-03a6646b96de6f7c5", + "defaultRouteTableId": "rtb-0307ebcaf089aab54", + "defaultSecurityGroupId": "sg-0797902773519a9ba", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": false, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-0ca0287536af52635", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-0307ebcaf089aab54", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "cidrBlock": null + }, + "created": "2024-03-12T12:18:14.814067Z", + "modified": "2024-03-12T12:18:14.814067Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/internetGatewayAttachment:InternetGatewayAttachment::MyGatewayAttachment", + "custom": true, + "id": "igw-09d3c416e9f3c46bf:vpc-0ca0287536af52635", + "type": "aws:ec2/internetGatewayAttachment:InternetGatewayAttachment", + "inputs": { + "__defaults": [], + "internetGatewayId": "igw-09d3c416e9f3c46bf", + "vpcId": "vpc-0ca0287536af52635" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000}}", + "id": "igw-09d3c416e9f3c46bf:vpc-0ca0287536af52635", + "internetGatewayId": "igw-09d3c416e9f3c46bf", + "vpcId": "vpc-0ca0287536af52635" + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "dependencies": [ + "urn:pulumi:test::ec2-networking::aws:ec2/internetGateway:InternetGateway::MyInternetGateway", + "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" + ], + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "internetGatewayId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/internetGateway:InternetGateway::MyInternetGateway" + ], + "vpcId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" + ] + }, + "created": "2024-03-12T12:18:15.561484Z", + "modified": "2024-03-12T12:18:15.561484Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/subnet:Subnet::MySubnet", + "custom": true, + "id": "subnet-05cab3ea9b19c4232", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "cidrBlock": "10.0.1.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-0ca0287536af52635" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-05cab3ea9b19c4232", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2d", + "availabilityZoneId": "usw2-az4", + "cidrBlock": "10.0.1.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-05cab3ea9b19c4232", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0ca0287536af52635" + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "dependencies": [ + "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" + ], + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" + ] + }, + "created": "2024-03-12T12:18:15.765948Z", + "modified": "2024-03-12T12:18:15.765948Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable", + "custom": true, + "id": "rtb-0c4e1dbf8c3de39a2", + "type": "aws:ec2/routeTable:RouteTable", + "inputs": { + "__defaults": [], + "vpcId": "vpc-0ca0287536af52635" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000,\"delete\":300000000000,\"update\":120000000000}}", + "arn": "arn:aws:ec2:us-west-2:616138583583:route-table/rtb-0c4e1dbf8c3de39a2", + "id": "rtb-0c4e1dbf8c3de39a2", + "ownerId": "616138583583", + "propagatingVgws": [], + "routes": [], + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0ca0287536af52635" + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "dependencies": [ + "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" + ], + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "vpcId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" + ] + }, + "created": "2024-03-12T12:18:15.887811Z", + "modified": "2024-03-12T12:18:15.887811Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/routeTableAssociation:RouteTableAssociation::MyRouteTableAssociation", + "custom": true, + "id": "rtbassoc-0d0d944b9ec21251c", + "type": "aws:ec2/routeTableAssociation:RouteTableAssociation", + "inputs": { + "__defaults": [], + "routeTableId": "rtb-0c4e1dbf8c3de39a2", + "subnetId": "subnet-05cab3ea9b19c4232" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000,\"delete\":300000000000,\"update\":120000000000}}", + "gatewayId": "", + "id": "rtbassoc-0d0d944b9ec21251c", + "routeTableId": "rtb-0c4e1dbf8c3de39a2", + "subnetId": "subnet-05cab3ea9b19c4232" + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "dependencies": [ + "urn:pulumi:test::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable", + "urn:pulumi:test::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" + ], + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "routeTableId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable" + ], + "subnetId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" + ] + }, + "created": "2024-03-12T12:18:16.621607Z", + "modified": "2024-03-12T12:18:16.621607Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/natGateway:NatGateway::MyNatGateway", + "custom": true, + "id": "nat-0d9d80723d1954396", + "type": "aws:ec2/natGateway:NatGateway", + "inputs": { + "__defaults": [ + "connectivityType" + ], + "allocationId": "eipalloc-01c9ffd2c77115e63", + "connectivityType": "public", + "subnetId": "subnet-05cab3ea9b19c4232" + }, + "outputs": { + "allocationId": "eipalloc-01c9ffd2c77115e63", + "associationId": "eipassoc-079083a0906cf7abb", + "connectivityType": "public", + "id": "nat-0d9d80723d1954396", + "networkInterfaceId": "eni-0a72bb3816fb4f0d7", + "privateIp": "10.0.1.111", + "publicIp": "44.226.163.70", + "subnetId": "subnet-05cab3ea9b19c4232", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "dependencies": [ + "urn:pulumi:test::ec2-networking::aws:ec2/eip:Eip::MyEIP", + "urn:pulumi:test::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" + ], + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "allocationId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/eip:Eip::MyEIP" + ], + "subnetId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" + ] + }, + "created": "2024-03-12T12:20:02.332759Z", + "modified": "2024-03-12T12:20:02.332759Z" + }, + { + "urn": "urn:pulumi:test::ec2-networking::aws:ec2/route:Route::MyRoute", + "custom": true, + "id": "r-rtb-0c4e1dbf8c3de39a21080289494", + "type": "aws:ec2/route:Route", + "inputs": { + "__defaults": [], + "destinationCidrBlock": "0.0.0.0/0", + "natGatewayId": "nat-0d9d80723d1954396", + "routeTableId": "rtb-0c4e1dbf8c3de39a2" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000,\"delete\":300000000000,\"update\":120000000000}}", + "carrierGatewayId": "", + "coreNetworkArn": "", + "destinationCidrBlock": "0.0.0.0/0", + "destinationIpv6CidrBlock": "", + "destinationPrefixListId": "", + "egressOnlyGatewayId": "", + "gatewayId": "", + "id": "r-rtb-0c4e1dbf8c3de39a21080289494", + "instanceId": "", + "instanceOwnerId": "", + "localGatewayId": "", + "natGatewayId": "nat-0d9d80723d1954396", + "networkInterfaceId": "", + "origin": "CreateRoute", + "routeTableId": "rtb-0c4e1dbf8c3de39a2", + "state": "active", + "transitGatewayId": "", + "vpcEndpointId": "", + "vpcPeeringConnectionId": "" + }, + "parent": "urn:pulumi:test::ec2-networking::pulumi:pulumi:Stack::ec2-networking-test", + "dependencies": [ + "urn:pulumi:test::ec2-networking::aws:ec2/natGateway:NatGateway::MyNatGateway", + "urn:pulumi:test::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable" + ], + "provider": "urn:pulumi:test::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", + "propertyDependencies": { + "destinationCidrBlock": null, + "natGatewayId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/natGateway:NatGateway::MyNatGateway" + ], + "routeTableId": [ + "urn:pulumi:test::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable" + ] + }, + "created": "2024-03-12T12:20:03.86229Z", + "modified": "2024-03-12T12:20:03.86229Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/state.json deleted file mode 100755 index 1e5f9f6b729..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/ec2-networking/5.42.0/state.json +++ /dev/null @@ -1,407 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T12:20:03.864934Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:7zYbSEVWKZw=:v1:EIKc93uAODE5Qeab:k67m1pCk7vx1+7/NfOlMt8ppjyOwOg==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "custom": false, - "type": "pulumi:pulumi:Stack", - "outputs": { - "eipId": "eipalloc-01c9ffd2c77115e63", - "internetGatewayId": "igw-09d3c416e9f3c46bf", - "natGatewayId": "nat-0d9d80723d1954396", - "routeId": "r-rtb-0c4e1dbf8c3de39a21080289494", - "routeTableAssociationId": "rtbassoc-0d0d944b9ec21251c", - "routeTableId": "rtb-0c4e1dbf8c3de39a2", - "subnetId": "subnet-05cab3ea9b19c4232", - "vpcId": "vpc-0ca0287536af52635" - }, - "created": "2024-03-12T12:18:08.467251Z", - "modified": "2024-03-12T12:18:08.467251Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default", - "custom": true, - "id": "29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2" - }, - "outputs": { - "region": "us-west-2" - }, - "created": "2024-03-12T12:18:10.151653Z", - "modified": "2024-03-12T12:18:10.151653Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/internetGateway:InternetGateway::MyInternetGateway", - "custom": true, - "id": "igw-09d3c416e9f3c46bf", - "type": "aws:ec2/internetGateway:InternetGateway", - "inputs": { - "__defaults": [] - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000}}", - "arn": "arn:aws:ec2:us-west-2:616138583583:internet-gateway/igw-09d3c416e9f3c46bf", - "id": "igw-09d3c416e9f3c46bf", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {}, - "vpcId": "" - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "created": "2024-03-12T12:18:12.64196Z", - "modified": "2024-03-12T12:18:12.64196Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/eip:Eip::MyEIP", - "custom": true, - "id": "eipalloc-01c9ffd2c77115e63", - "type": "aws:ec2/eip:Eip", - "inputs": { - "__defaults": [] - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"delete\":180000000000,\"read\":900000000000,\"update\":300000000000}}", - "allocationId": "eipalloc-01c9ffd2c77115e63", - "associationId": "", - "carrierIp": "", - "customerOwnedIp": "", - "customerOwnedIpv4Pool": "", - "domain": "vpc", - "id": "eipalloc-01c9ffd2c77115e63", - "instance": "", - "networkBorderGroup": "us-west-2", - "networkInterface": "", - "privateIp": "", - "publicDns": "ec2-44-226-163-70.us-west-2.compute.amazonaws.com", - "publicIp": "44.226.163.70", - "publicIpv4Pool": "amazon", - "tags": {}, - "tagsAll": {}, - "vpc": true - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "created": "2024-03-12T12:18:13.0873Z", - "modified": "2024-03-12T12:18:13.0873Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC", - "custom": true, - "id": "vpc-0ca0287536af52635", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "enableDnsSupport", - "instanceTenancy" - ], - "cidrBlock": "10.0.0.0/16", - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-0ca0287536af52635", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.0.0.0/16", - "defaultNetworkAclId": "acl-03a6646b96de6f7c5", - "defaultRouteTableId": "rtb-0307ebcaf089aab54", - "defaultSecurityGroupId": "sg-0797902773519a9ba", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": false, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-0ca0287536af52635", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-0307ebcaf089aab54", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "cidrBlock": null - }, - "created": "2024-03-12T12:18:14.814067Z", - "modified": "2024-03-12T12:18:14.814067Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/internetGatewayAttachment:InternetGatewayAttachment::MyGatewayAttachment", - "custom": true, - "id": "igw-09d3c416e9f3c46bf:vpc-0ca0287536af52635", - "type": "aws:ec2/internetGatewayAttachment:InternetGatewayAttachment", - "inputs": { - "__defaults": [], - "internetGatewayId": "igw-09d3c416e9f3c46bf", - "vpcId": "vpc-0ca0287536af52635" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000}}", - "id": "igw-09d3c416e9f3c46bf:vpc-0ca0287536af52635", - "internetGatewayId": "igw-09d3c416e9f3c46bf", - "vpcId": "vpc-0ca0287536af52635" - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/internetGateway:InternetGateway::MyInternetGateway", - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" - ], - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "internetGatewayId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/internetGateway:InternetGateway::MyInternetGateway" - ], - "vpcId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" - ] - }, - "created": "2024-03-12T12:18:15.561484Z", - "modified": "2024-03-12T12:18:15.561484Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/subnet:Subnet::MySubnet", - "custom": true, - "id": "subnet-05cab3ea9b19c4232", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "cidrBlock": "10.0.1.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-0ca0287536af52635" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-05cab3ea9b19c4232", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2d", - "availabilityZoneId": "usw2-az4", - "cidrBlock": "10.0.1.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-05cab3ea9b19c4232", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0ca0287536af52635" - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" - ], - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" - ] - }, - "created": "2024-03-12T12:18:15.765948Z", - "modified": "2024-03-12T12:18:15.765948Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable", - "custom": true, - "id": "rtb-0c4e1dbf8c3de39a2", - "type": "aws:ec2/routeTable:RouteTable", - "inputs": { - "__defaults": [], - "vpcId": "vpc-0ca0287536af52635" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000,\"delete\":300000000000,\"update\":120000000000}}", - "arn": "arn:aws:ec2:us-west-2:616138583583:route-table/rtb-0c4e1dbf8c3de39a2", - "id": "rtb-0c4e1dbf8c3de39a2", - "ownerId": "616138583583", - "propagatingVgws": [], - "routes": [], - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0ca0287536af52635" - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" - ], - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "vpcId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/vpc:Vpc::MyVPC" - ] - }, - "created": "2024-03-12T12:18:15.887811Z", - "modified": "2024-03-12T12:18:15.887811Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/routeTableAssociation:RouteTableAssociation::MyRouteTableAssociation", - "custom": true, - "id": "rtbassoc-0d0d944b9ec21251c", - "type": "aws:ec2/routeTableAssociation:RouteTableAssociation", - "inputs": { - "__defaults": [], - "routeTableId": "rtb-0c4e1dbf8c3de39a2", - "subnetId": "subnet-05cab3ea9b19c4232" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000,\"delete\":300000000000,\"update\":120000000000}}", - "gatewayId": "", - "id": "rtbassoc-0d0d944b9ec21251c", - "routeTableId": "rtb-0c4e1dbf8c3de39a2", - "subnetId": "subnet-05cab3ea9b19c4232" - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable", - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" - ], - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "routeTableId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable" - ], - "subnetId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" - ] - }, - "created": "2024-03-12T12:18:16.621607Z", - "modified": "2024-03-12T12:18:16.621607Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/natGateway:NatGateway::MyNatGateway", - "custom": true, - "id": "nat-0d9d80723d1954396", - "type": "aws:ec2/natGateway:NatGateway", - "inputs": { - "__defaults": [ - "connectivityType" - ], - "allocationId": "eipalloc-01c9ffd2c77115e63", - "connectivityType": "public", - "subnetId": "subnet-05cab3ea9b19c4232" - }, - "outputs": { - "allocationId": "eipalloc-01c9ffd2c77115e63", - "associationId": "eipassoc-079083a0906cf7abb", - "connectivityType": "public", - "id": "nat-0d9d80723d1954396", - "networkInterfaceId": "eni-0a72bb3816fb4f0d7", - "privateIp": "10.0.1.111", - "publicIp": "44.226.163.70", - "subnetId": "subnet-05cab3ea9b19c4232", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/eip:Eip::MyEIP", - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" - ], - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "allocationId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/eip:Eip::MyEIP" - ], - "subnetId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/subnet:Subnet::MySubnet" - ] - }, - "created": "2024-03-12T12:20:02.332759Z", - "modified": "2024-03-12T12:20:02.332759Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/route:Route::MyRoute", - "custom": true, - "id": "r-rtb-0c4e1dbf8c3de39a21080289494", - "type": "aws:ec2/route:Route", - "inputs": { - "__defaults": [], - "destinationCidrBlock": "0.0.0.0/0", - "natGatewayId": "nat-0d9d80723d1954396", - "routeTableId": "rtb-0c4e1dbf8c3de39a2" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000,\"delete\":300000000000,\"update\":120000000000}}", - "carrierGatewayId": "", - "coreNetworkArn": "", - "destinationCidrBlock": "0.0.0.0/0", - "destinationIpv6CidrBlock": "", - "destinationPrefixListId": "", - "egressOnlyGatewayId": "", - "gatewayId": "", - "id": "r-rtb-0c4e1dbf8c3de39a21080289494", - "instanceId": "", - "instanceOwnerId": "", - "localGatewayId": "", - "natGatewayId": "nat-0d9d80723d1954396", - "networkInterfaceId": "", - "origin": "CreateRoute", - "routeTableId": "rtb-0c4e1dbf8c3de39a2", - "state": "active", - "transitGatewayId": "", - "vpcEndpointId": "", - "vpcPeeringConnectionId": "" - }, - "parent": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:pulumi:Stack::ec2-networking-p-it-venelins-m-ec2-networ-9c8762be", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/natGateway:NatGateway::MyNatGateway", - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable" - ], - "provider": "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::pulumi:providers:aws::default::29cccb25-ed4e-4d92-9c1e-abf3eb5cc887", - "propertyDependencies": { - "destinationCidrBlock": null, - "natGatewayId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/natGateway:NatGateway::MyNatGateway" - ], - "routeTableId": [ - "urn:pulumi:p-it-venelins-m-ec2-networ-9c8762be::ec2-networking::aws:ec2/routeTable:RouteTable::MyRouteTable" - ] - }, - "created": "2024-03-12T12:20:03.86229Z", - "modified": "2024-03-12T12:20:03.86229Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/stack.json new file mode 100755 index 00000000000..0d4631891fc --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/stack.json @@ -0,0 +1,103 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:25:53.390036-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:WXU3xi726Qg=:v1:GEF3rcxKA15HpUC/:ZSFjVbw+/l3nSEViLy7EVYiMKumUVw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:pulumi:Stack::aws_ecr_lifecyclePolicy_LifecyclePolicy_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:25:49.722947Z", + "modified": "2023-11-10T22:25:49.722947Z" + }, + { + "urn": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:providers:aws::default", + "custom": true, + "id": "450b84e8-ec86-46bd-ab1b-75692953325c", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:25:51.23072Z", + "modified": "2023-11-10T22:25:51.23072Z" + }, + { + "urn": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/repository:Repository::foo", + "custom": true, + "id": "bar", + "type": "aws:ecr/repository:Repository", + "inputs": { + "__defaults": [ + "imageTagMutability" + ], + "imageTagMutability": "MUTABLE", + "name": "bar" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"delete\":1200000000000}}", + "arn": "arn:aws:ecr:us-west-2:616138583583:repository/bar", + "encryptionConfigurations": [ + { + "encryptionType": "AES256", + "kmsKey": "" + } + ], + "id": "bar", + "imageScanningConfiguration": { + "scanOnPush": false + }, + "imageTagMutability": "MUTABLE", + "name": "bar", + "registryId": "616138583583", + "repositoryUrl": "616138583583.dkr.ecr.us-west-2.amazonaws.com/bar", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:pulumi:Stack::aws_ecr_lifecyclePolicy_LifecyclePolicy_1-test", + "provider": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:providers:aws::default::450b84e8-ec86-46bd-ab1b-75692953325c", + "propertyDependencies": { + "name": null + }, + "created": "2023-11-10T22:25:53.145685Z", + "modified": "2023-11-10T22:25:53.145685Z" + }, + { + "urn": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/lifecyclePolicy:LifecyclePolicy::foopolicy", + "custom": true, + "id": "bar", + "type": "aws:ecr/lifecyclePolicy:LifecyclePolicy", + "inputs": { + "__defaults": [], + "policy": "{\n \"rules\": [\n {\n \"rulePriority\": 1,\n \"description\": \"Expire images older than 14 days\",\n \"selection\": {\n \"tagStatus\": \"untagged\",\n \"countType\": \"sinceImagePushed\",\n \"countUnit\": \"days\",\n \"countNumber\": 14\n },\n \"action\": {\n \"type\": \"expire\"\n }\n }\n ]\n}\n", + "repository": "bar" + }, + "outputs": { + "id": "bar", + "policy": "{\"rules\":[{\"action\":{\"type\":\"expire\"},\"description\":\"Expire images older than 14 days\",\"rulePriority\":1,\"selection\":{\"countNumber\":14,\"countType\":\"sinceImagePushed\",\"countUnit\":\"days\",\"tagStatus\":\"untagged\"}}]}", + "registryId": "616138583583", + "repository": "bar" + }, + "parent": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:pulumi:Stack::aws_ecr_lifecyclePolicy_LifecyclePolicy_1-test", + "dependencies": [ + "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/repository:Repository::foo" + ], + "provider": "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:providers:aws::default::450b84e8-ec86-46bd-ab1b-75692953325c", + "propertyDependencies": { + "policy": null, + "repository": [ + "urn:pulumi:test::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/repository:Repository::foo" + ] + }, + "created": "2023-11-10T22:25:53.389892Z", + "modified": "2023-11-10T22:25:53.389892Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/state.json deleted file mode 100755 index d7de1f06796..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/ecr-lifecyclepolicy/5.42.0/state.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:25:53.390036-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:WXU3xi726Qg=:v1:GEF3rcxKA15HpUC/:ZSFjVbw+/l3nSEViLy7EVYiMKumUVw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:pulumi:Stack::aws_ecr_lifecyclePolicy_LifecyclePolicy_1-p-it-antons-mac-ecr-lifecy-2d6af959", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:25:49.722947Z", - "modified": "2023-11-10T22:25:49.722947Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:providers:aws::default", - "custom": true, - "id": "450b84e8-ec86-46bd-ab1b-75692953325c", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:25:51.23072Z", - "modified": "2023-11-10T22:25:51.23072Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/repository:Repository::foo", - "custom": true, - "id": "bar", - "type": "aws:ecr/repository:Repository", - "inputs": { - "__defaults": [ - "imageTagMutability" - ], - "imageTagMutability": "MUTABLE", - "name": "bar" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"delete\":1200000000000}}", - "arn": "arn:aws:ecr:us-west-2:616138583583:repository/bar", - "encryptionConfigurations": [ - { - "encryptionType": "AES256", - "kmsKey": "" - } - ], - "id": "bar", - "imageScanningConfiguration": { - "scanOnPush": false - }, - "imageTagMutability": "MUTABLE", - "name": "bar", - "registryId": "616138583583", - "repositoryUrl": "616138583583.dkr.ecr.us-west-2.amazonaws.com/bar", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:pulumi:Stack::aws_ecr_lifecyclePolicy_LifecyclePolicy_1-p-it-antons-mac-ecr-lifecy-2d6af959", - "provider": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:providers:aws::default::450b84e8-ec86-46bd-ab1b-75692953325c", - "propertyDependencies": { - "name": null - }, - "created": "2023-11-10T22:25:53.145685Z", - "modified": "2023-11-10T22:25:53.145685Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/lifecyclePolicy:LifecyclePolicy::foopolicy", - "custom": true, - "id": "bar", - "type": "aws:ecr/lifecyclePolicy:LifecyclePolicy", - "inputs": { - "__defaults": [], - "policy": "{\n \"rules\": [\n {\n \"rulePriority\": 1,\n \"description\": \"Expire images older than 14 days\",\n \"selection\": {\n \"tagStatus\": \"untagged\",\n \"countType\": \"sinceImagePushed\",\n \"countUnit\": \"days\",\n \"countNumber\": 14\n },\n \"action\": {\n \"type\": \"expire\"\n }\n }\n ]\n}\n", - "repository": "bar" - }, - "outputs": { - "id": "bar", - "policy": "{\"rules\":[{\"action\":{\"type\":\"expire\"},\"description\":\"Expire images older than 14 days\",\"rulePriority\":1,\"selection\":{\"countNumber\":14,\"countType\":\"sinceImagePushed\",\"countUnit\":\"days\",\"tagStatus\":\"untagged\"}}]}", - "registryId": "616138583583", - "repository": "bar" - }, - "parent": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:pulumi:Stack::aws_ecr_lifecyclePolicy_LifecyclePolicy_1-p-it-antons-mac-ecr-lifecy-2d6af959", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/repository:Repository::foo" - ], - "provider": "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::pulumi:providers:aws::default::450b84e8-ec86-46bd-ab1b-75692953325c", - "propertyDependencies": { - "policy": null, - "repository": [ - "urn:pulumi:p-it-antons-mac-ecr-lifecy-2d6af959::aws_ecr_lifecyclePolicy_LifecyclePolicy_1::aws:ecr/repository:Repository::foo" - ] - }, - "created": "2023-11-10T22:25:53.389892Z", - "modified": "2023-11-10T22:25:53.389892Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/stack.json new file mode 100755 index 00000000000..02a587fee93 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/stack.json @@ -0,0 +1,77 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:26:12.374823-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:dZghmHy8hWE=:v1:88Q0xVK9mtvtr/NT:FR9upeyrqFjuvdrd/J0eMi6qSVJn3g==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_ecr_repository_Repository_1::pulumi:pulumi:Stack::aws_ecr_repository_Repository_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:26:08.939438Z", + "modified": "2023-11-10T22:26:08.939438Z" + }, + { + "urn": "urn:pulumi:test::aws_ecr_repository_Repository_1::pulumi:providers:aws::default", + "custom": true, + "id": "dccdccee-08ec-44d4-a247-0a526e7ed38c", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:26:10.521168Z", + "modified": "2023-11-10T22:26:10.521168Z" + }, + { + "urn": "urn:pulumi:test::aws_ecr_repository_Repository_1::aws:ecr/repository:Repository::foo", + "custom": true, + "id": "bar", + "type": "aws:ecr/repository:Repository", + "inputs": { + "__defaults": [], + "imageScanningConfiguration": { + "__defaults": [], + "scanOnPush": true + }, + "imageTagMutability": "MUTABLE", + "name": "bar" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"delete\":1200000000000}}", + "arn": "arn:aws:ecr:us-west-2:616138583583:repository/bar", + "encryptionConfigurations": [ + { + "encryptionType": "AES256", + "kmsKey": "" + } + ], + "id": "bar", + "imageScanningConfiguration": { + "scanOnPush": true + }, + "imageTagMutability": "MUTABLE", + "name": "bar", + "registryId": "616138583583", + "repositoryUrl": "616138583583.dkr.ecr.us-west-2.amazonaws.com/bar", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_ecr_repository_Repository_1::pulumi:pulumi:Stack::aws_ecr_repository_Repository_1-test", + "provider": "urn:pulumi:test::aws_ecr_repository_Repository_1::pulumi:providers:aws::default::dccdccee-08ec-44d4-a247-0a526e7ed38c", + "propertyDependencies": { + "imageScanningConfiguration": null, + "imageTagMutability": null, + "name": null + }, + "created": "2023-11-10T22:26:12.374647Z", + "modified": "2023-11-10T22:26:12.374647Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/state.json deleted file mode 100755 index 53839f483fd..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/ecr-repository/5.42.0/state.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:26:12.374823-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:dZghmHy8hWE=:v1:88Q0xVK9mtvtr/NT:FR9upeyrqFjuvdrd/J0eMi6qSVJn3g==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-reposi-5c69f7f1::aws_ecr_repository_Repository_1::pulumi:pulumi:Stack::aws_ecr_repository_Repository_1-p-it-antons-mac-ecr-reposi-5c69f7f1", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:26:08.939438Z", - "modified": "2023-11-10T22:26:08.939438Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-reposi-5c69f7f1::aws_ecr_repository_Repository_1::pulumi:providers:aws::default", - "custom": true, - "id": "dccdccee-08ec-44d4-a247-0a526e7ed38c", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:26:10.521168Z", - "modified": "2023-11-10T22:26:10.521168Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-ecr-reposi-5c69f7f1::aws_ecr_repository_Repository_1::aws:ecr/repository:Repository::foo", - "custom": true, - "id": "bar", - "type": "aws:ecr/repository:Repository", - "inputs": { - "__defaults": [], - "imageScanningConfiguration": { - "__defaults": [], - "scanOnPush": true - }, - "imageTagMutability": "MUTABLE", - "name": "bar" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"delete\":1200000000000}}", - "arn": "arn:aws:ecr:us-west-2:616138583583:repository/bar", - "encryptionConfigurations": [ - { - "encryptionType": "AES256", - "kmsKey": "" - } - ], - "id": "bar", - "imageScanningConfiguration": { - "scanOnPush": true - }, - "imageTagMutability": "MUTABLE", - "name": "bar", - "registryId": "616138583583", - "repositoryUrl": "616138583583.dkr.ecr.us-west-2.amazonaws.com/bar", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-ecr-reposi-5c69f7f1::aws_ecr_repository_Repository_1::pulumi:pulumi:Stack::aws_ecr_repository_Repository_1-p-it-antons-mac-ecr-reposi-5c69f7f1", - "provider": "urn:pulumi:p-it-antons-mac-ecr-reposi-5c69f7f1::aws_ecr_repository_Repository_1::pulumi:providers:aws::default::dccdccee-08ec-44d4-a247-0a526e7ed38c", - "propertyDependencies": { - "imageScanningConfiguration": null, - "imageTagMutability": null, - "name": null - }, - "created": "2023-11-10T22:26:12.374647Z", - "modified": "2023-11-10T22:26:12.374647Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/stack.json new file mode 100755 index 00000000000..bdd0c256160 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/stack.json @@ -0,0 +1,591 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T15:06:46.719854Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:9jIeegtPx0o=:v1:dqRqVna9ACicjCey:wV3uQ+aWR0LZH0X/24p6w2a6+4MISg==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T15:06:31.099366Z", + "modified": "2024-03-12T15:06:31.099366Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default", + "custom": true, + "id": "a2acf82f-c806-45f9-a078-a740416f2cf0", + "type": "pulumi:providers:aws", + "created": "2024-03-12T15:06:32.787942Z", + "modified": "2024-03-12T15:06:32.787942Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:iam/role:Role::ecsExecutionRole", + "custom": true, + "id": "ecsExecutionRole-851a24d", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ecs-tasks.amazonaws.com\"\n },\n \"Effect\": \"Allow\",\n \"Sid\": \"\"\n }\n ]\n}\n", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "ecsExecutionRole-851a24d", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/ecsExecutionRole-851a24d", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ecs-tasks.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2024-03-12T15:06:34Z", + "description": "", + "forceDetachPolicies": false, + "id": "ecsExecutionRole-851a24d", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "ecsExecutionRole-851a24d", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYP3GPHOO2WR" + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2024-03-12T15:06:35.18491Z", + "modified": "2024-03-12T15:06:35.18491Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:iam/rolePolicy:RolePolicy::ecsExecutionRolePolicy", + "custom": true, + "id": "ecsExecutionRole-851a24d:ecsExecutionRolePolicy-c65ba24", + "type": "aws:iam/rolePolicy:RolePolicy", + "inputs": { + "__defaults": [ + "name" + ], + "name": "ecsExecutionRolePolicy-c65ba24", + "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": [\n \"logs:*\",\n \"ecs:*\"\n ],\n \"Effect\": \"Allow\",\n \"Resource\": \"*\"\n }\n ]\n}\n", + "role": "ecsExecutionRole-851a24d" + }, + "outputs": { + "id": "ecsExecutionRole-851a24d:ecsExecutionRolePolicy-c65ba24", + "name": "ecsExecutionRolePolicy-c65ba24", + "policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":[\"logs:*\",\"ecs:*\"],\"Effect\":\"Allow\",\"Resource\":\"*\"}]}", + "role": "ecsExecutionRole-851a24d" + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:iam/role:Role::ecsExecutionRole" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "policy": null, + "role": [ + "urn:pulumi:test::ecs-service::aws:iam/role:Role::ecsExecutionRole" + ] + }, + "created": "2024-03-12T15:06:35.437698Z", + "modified": "2024-03-12T15:06:35.437698Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ecs/taskDefinition:TaskDefinition::taskDefinition", + "custom": true, + "id": "fargate-task-definition", + "type": "aws:ecs/taskDefinition:TaskDefinition", + "inputs": { + "__defaults": [ + "skipDestroy" + ], + "containerDefinitions": "[{\n \"name\": \"my-app\",\n \"image\": \"nginx\",\n \"portMappings\": [{\n \"containerPort\": 80,\n \"hostPort\": 80,\n \"protocol\": \"tcp\"\n }]\n}]\n", + "cpu": 256, + "executionRoleArn": "arn:aws:iam::616138583583:role/ecsExecutionRole-851a24d", + "family": "fargate-task-definition", + "memory": 512, + "networkMode": "awsvpc", + "requiresCompatibilities": [ + "FARGATE" + ], + "skipDestroy": false + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition:231", + "arnWithoutRevision": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition", + "containerDefinitions": "[{\"cpu\":0,\"environment\":[],\"essential\":true,\"image\":\"nginx\",\"mountPoints\":[],\"name\":\"my-app\",\"portMappings\":[{\"containerPort\":80,\"hostPort\":80,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]}]", + "cpu": "256", + "ephemeralStorage": null, + "executionRoleArn": "arn:aws:iam::616138583583:role/ecsExecutionRole-851a24d", + "family": "fargate-task-definition", + "id": "fargate-task-definition", + "inferenceAccelerators": [], + "ipcMode": "", + "memory": "512", + "networkMode": "awsvpc", + "pidMode": "", + "placementConstraints": [], + "proxyConfiguration": null, + "requiresCompatibilities": [ + "FARGATE" + ], + "revision": 231, + "runtimePlatform": null, + "skipDestroy": false, + "tags": {}, + "tagsAll": {}, + "taskRoleArn": "", + "volumes": [] + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:iam/role:Role::ecsExecutionRole" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "containerDefinitions": null, + "cpu": null, + "executionRoleArn": [ + "urn:pulumi:test::ecs-service::aws:iam/role:Role::ecsExecutionRole" + ], + "family": null, + "memory": null, + "networkMode": null, + "requiresCompatibilities": null + }, + "created": "2024-03-12T15:06:35.619129Z", + "modified": "2024-03-12T15:06:35.619129Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc", + "custom": true, + "id": "vpc-07688fb937907276f", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "enableDnsSupport", + "instanceTenancy" + ], + "cidrBlock": "10.0.0.0/16", + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-07688fb937907276f", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.0.0.0/16", + "defaultNetworkAclId": "acl-00ab5b74d3eb2b9e0", + "defaultRouteTableId": "rtb-004d8188789b8771a", + "defaultSecurityGroupId": "sg-08d8249615535d7c2", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": false, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-07688fb937907276f", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-004d8188789b8771a", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "cidrBlock": null + }, + "created": "2024-03-12T15:06:37.911347Z", + "modified": "2024-03-12T15:06:37.911347Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ec2/subnet:Subnet::subnet", + "custom": true, + "id": "subnet-0af98e06658f19a18", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "cidrBlock": "10.0.1.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-07688fb937907276f" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0af98e06658f19a18", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "availabilityZoneId": "usw2-az1", + "cidrBlock": "10.0.1.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-0af98e06658f19a18", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-07688fb937907276f" + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ] + }, + "created": "2024-03-12T15:06:39.286252Z", + "modified": "2024-03-12T15:06:39.286252Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ec2/subnet:Subnet::secondSubnet", + "custom": true, + "id": "subnet-0204f14c1117350b2", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "cidrBlock": "10.0.2.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-07688fb937907276f" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0204f14c1117350b2", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "availabilityZoneId": "usw2-az1", + "cidrBlock": "10.0.2.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-0204f14c1117350b2", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-07688fb937907276f" + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ] + }, + "created": "2024-03-12T15:06:39.346092Z", + "modified": "2024-03-12T15:06:39.346092Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", + "custom": true, + "id": "sg-04735a6cf790f376a", + "type": "aws:ec2/securityGroup:SecurityGroup", + "inputs": { + "__defaults": [ + "description", + "name", + "revokeRulesOnDelete" + ], + "description": "Managed by Pulumi", + "name": "ecsSecurityGroup-c6bfe6e", + "revokeRulesOnDelete": false, + "vpcId": "vpc-07688fb937907276f" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-04735a6cf790f376a", + "description": "Managed by Pulumi", + "egress": [], + "id": "sg-04735a6cf790f376a", + "ingress": [], + "name": "ecsSecurityGroup-c6bfe6e", + "namePrefix": "", + "ownerId": "616138583583", + "revokeRulesOnDelete": false, + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-07688fb937907276f" + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "vpcId": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ] + }, + "created": "2024-03-12T15:06:40.776535Z", + "modified": "2024-03-12T15:06:40.776535Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ec2/securityGroupRule:SecurityGroupRule::securityGroupRule", + "custom": true, + "id": "sgrule-3532178785", + "type": "aws:ec2/securityGroupRule:SecurityGroupRule", + "inputs": { + "__defaults": [], + "cidrBlocks": [ + "10.0.0.0/16" + ], + "fromPort": 80, + "protocol": "tcp", + "securityGroupId": "sg-04735a6cf790f376a", + "toPort": 80, + "type": "ingress" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000},\"schema_version\":\"2\"}", + "cidrBlocks": [ + "10.0.0.0/16" + ], + "fromPort": 80, + "id": "sgrule-3532178785", + "protocol": "tcp", + "securityGroupId": "sg-04735a6cf790f376a", + "securityGroupRuleId": "sgr-05843eecd481dbbfe", + "self": false, + "toPort": 80, + "type": "ingress" + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "cidrBlocks": [ + "urn:pulumi:test::ecs-service::aws:ec2/vpc:Vpc::vpc" + ], + "fromPort": null, + "protocol": null, + "securityGroupId": [ + "urn:pulumi:test::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup" + ], + "toPort": null, + "type": null + }, + "created": "2024-03-12T15:06:41.802115Z", + "modified": "2024-03-12T15:06:41.802115Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ecs/cluster:Cluster::ecsCluster", + "custom": true, + "id": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", + "type": "aws:ecs/cluster:Cluster", + "inputs": { + "__defaults": [ + "name" + ], + "name": "ecsCluster-5f32d08" + }, + "outputs": { + "arn": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", + "capacityProviders": [], + "defaultCapacityProviderStrategies": [], + "id": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", + "name": "ecsCluster-5f32d08", + "serviceConnectDefaults": null, + "settings": [ + { + "name": "containerInsights", + "value": "disabled" + } + ], + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "created": "2024-03-12T15:06:45.60288Z", + "modified": "2024-03-12T15:06:45.60288Z" + }, + { + "urn": "urn:pulumi:test::ecs-service::aws:ecs/service:Service::ecsService", + "custom": true, + "id": "arn:aws:ecs:us-west-2:616138583583:service/ecsCluster-5f32d08/ecsService-109150f", + "type": "aws:ecs/service:Service", + "inputs": { + "__defaults": [ + "deploymentMaximumPercent", + "deploymentMinimumHealthyPercent", + "enableEcsManagedTags", + "enableExecuteCommand", + "name", + "schedulingStrategy", + "waitForSteadyState" + ], + "cluster": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", + "deploymentMaximumPercent": 200, + "deploymentMinimumHealthyPercent": 100, + "desiredCount": 1, + "enableEcsManagedTags": false, + "enableExecuteCommand": false, + "launchType": "FARGATE", + "name": "ecsService-109150f", + "networkConfiguration": { + "__defaults": [], + "assignPublicIp": true, + "securityGroups": [ + "sg-04735a6cf790f376a" + ], + "subnets": [ + "subnet-0af98e06658f19a18", + "subnet-0204f14c1117350b2" + ] + }, + "schedulingStrategy": "REPLICA", + "taskDefinition": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition:231", + "waitForSteadyState": false + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000}}", + "alarms": null, + "capacityProviderStrategies": [], + "cluster": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", + "deploymentCircuitBreaker": { + "enable": false, + "rollback": false + }, + "deploymentController": { + "type": "ECS" + }, + "deploymentMaximumPercent": 200, + "deploymentMinimumHealthyPercent": 100, + "desiredCount": 1, + "enableEcsManagedTags": false, + "enableExecuteCommand": false, + "healthCheckGracePeriodSeconds": 0, + "iamRole": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "id": "arn:aws:ecs:us-west-2:616138583583:service/ecsCluster-5f32d08/ecsService-109150f", + "launchType": "FARGATE", + "loadBalancers": [], + "name": "ecsService-109150f", + "networkConfiguration": { + "assignPublicIp": true, + "securityGroups": [ + "sg-04735a6cf790f376a" + ], + "subnets": [ + "subnet-0af98e06658f19a18", + "subnet-0204f14c1117350b2" + ] + }, + "orderedPlacementStrategies": [], + "placementConstraints": [], + "platformVersion": "LATEST", + "propagateTags": "NONE", + "schedulingStrategy": "REPLICA", + "serviceRegistries": null, + "tags": {}, + "tagsAll": {}, + "taskDefinition": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition:231", + "triggers": {}, + "waitForSteadyState": false + }, + "parent": "urn:pulumi:test::ecs-service::pulumi:pulumi:Stack::ecs-service-test", + "dependencies": [ + "urn:pulumi:test::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", + "urn:pulumi:test::ecs-service::aws:ec2/subnet:Subnet::secondSubnet", + "urn:pulumi:test::ecs-service::aws:ec2/subnet:Subnet::subnet", + "urn:pulumi:test::ecs-service::aws:ecs/cluster:Cluster::ecsCluster", + "urn:pulumi:test::ecs-service::aws:ecs/taskDefinition:TaskDefinition::taskDefinition" + ], + "provider": "urn:pulumi:test::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", + "propertyDependencies": { + "cluster": [ + "urn:pulumi:test::ecs-service::aws:ecs/cluster:Cluster::ecsCluster" + ], + "desiredCount": null, + "launchType": null, + "networkConfiguration": [ + "urn:pulumi:test::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", + "urn:pulumi:test::ecs-service::aws:ec2/subnet:Subnet::secondSubnet", + "urn:pulumi:test::ecs-service::aws:ec2/subnet:Subnet::subnet" + ], + "taskDefinition": [ + "urn:pulumi:test::ecs-service::aws:ecs/taskDefinition:TaskDefinition::taskDefinition" + ] + }, + "created": "2024-03-12T15:06:46.719492Z", + "modified": "2024-03-12T15:06:46.719492Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/state.json deleted file mode 100755 index c03784f8d89..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/ecs-service/5.42.0/state.json +++ /dev/null @@ -1,591 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T15:06:46.719854Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:9jIeegtPx0o=:v1:dqRqVna9ACicjCey:wV3uQ+aWR0LZH0X/24p6w2a6+4MISg==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T15:06:31.099366Z", - "modified": "2024-03-12T15:06:31.099366Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default", - "custom": true, - "id": "a2acf82f-c806-45f9-a078-a740416f2cf0", - "type": "pulumi:providers:aws", - "created": "2024-03-12T15:06:32.787942Z", - "modified": "2024-03-12T15:06:32.787942Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:iam/role:Role::ecsExecutionRole", - "custom": true, - "id": "ecsExecutionRole-851a24d", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ecs-tasks.amazonaws.com\"\n },\n \"Effect\": \"Allow\",\n \"Sid\": \"\"\n }\n ]\n}\n", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "ecsExecutionRole-851a24d", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/ecsExecutionRole-851a24d", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ecs-tasks.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2024-03-12T15:06:34Z", - "description": "", - "forceDetachPolicies": false, - "id": "ecsExecutionRole-851a24d", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "ecsExecutionRole-851a24d", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYP3GPHOO2WR" - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2024-03-12T15:06:35.18491Z", - "modified": "2024-03-12T15:06:35.18491Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:iam/rolePolicy:RolePolicy::ecsExecutionRolePolicy", - "custom": true, - "id": "ecsExecutionRole-851a24d:ecsExecutionRolePolicy-c65ba24", - "type": "aws:iam/rolePolicy:RolePolicy", - "inputs": { - "__defaults": [ - "name" - ], - "name": "ecsExecutionRolePolicy-c65ba24", - "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": [\n \"logs:*\",\n \"ecs:*\"\n ],\n \"Effect\": \"Allow\",\n \"Resource\": \"*\"\n }\n ]\n}\n", - "role": "ecsExecutionRole-851a24d" - }, - "outputs": { - "id": "ecsExecutionRole-851a24d:ecsExecutionRolePolicy-c65ba24", - "name": "ecsExecutionRolePolicy-c65ba24", - "policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":[\"logs:*\",\"ecs:*\"],\"Effect\":\"Allow\",\"Resource\":\"*\"}]}", - "role": "ecsExecutionRole-851a24d" - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:iam/role:Role::ecsExecutionRole" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "policy": null, - "role": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:iam/role:Role::ecsExecutionRole" - ] - }, - "created": "2024-03-12T15:06:35.437698Z", - "modified": "2024-03-12T15:06:35.437698Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/taskDefinition:TaskDefinition::taskDefinition", - "custom": true, - "id": "fargate-task-definition", - "type": "aws:ecs/taskDefinition:TaskDefinition", - "inputs": { - "__defaults": [ - "skipDestroy" - ], - "containerDefinitions": "[{\n \"name\": \"my-app\",\n \"image\": \"nginx\",\n \"portMappings\": [{\n \"containerPort\": 80,\n \"hostPort\": 80,\n \"protocol\": \"tcp\"\n }]\n}]\n", - "cpu": 256, - "executionRoleArn": "arn:aws:iam::616138583583:role/ecsExecutionRole-851a24d", - "family": "fargate-task-definition", - "memory": 512, - "networkMode": "awsvpc", - "requiresCompatibilities": [ - "FARGATE" - ], - "skipDestroy": false - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition:231", - "arnWithoutRevision": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition", - "containerDefinitions": "[{\"cpu\":0,\"environment\":[],\"essential\":true,\"image\":\"nginx\",\"mountPoints\":[],\"name\":\"my-app\",\"portMappings\":[{\"containerPort\":80,\"hostPort\":80,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]}]", - "cpu": "256", - "ephemeralStorage": null, - "executionRoleArn": "arn:aws:iam::616138583583:role/ecsExecutionRole-851a24d", - "family": "fargate-task-definition", - "id": "fargate-task-definition", - "inferenceAccelerators": [], - "ipcMode": "", - "memory": "512", - "networkMode": "awsvpc", - "pidMode": "", - "placementConstraints": [], - "proxyConfiguration": null, - "requiresCompatibilities": [ - "FARGATE" - ], - "revision": 231, - "runtimePlatform": null, - "skipDestroy": false, - "tags": {}, - "tagsAll": {}, - "taskRoleArn": "", - "volumes": [] - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:iam/role:Role::ecsExecutionRole" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "containerDefinitions": null, - "cpu": null, - "executionRoleArn": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:iam/role:Role::ecsExecutionRole" - ], - "family": null, - "memory": null, - "networkMode": null, - "requiresCompatibilities": null - }, - "created": "2024-03-12T15:06:35.619129Z", - "modified": "2024-03-12T15:06:35.619129Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc", - "custom": true, - "id": "vpc-07688fb937907276f", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "enableDnsSupport", - "instanceTenancy" - ], - "cidrBlock": "10.0.0.0/16", - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-07688fb937907276f", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.0.0.0/16", - "defaultNetworkAclId": "acl-00ab5b74d3eb2b9e0", - "defaultRouteTableId": "rtb-004d8188789b8771a", - "defaultSecurityGroupId": "sg-08d8249615535d7c2", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": false, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-07688fb937907276f", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-004d8188789b8771a", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "cidrBlock": null - }, - "created": "2024-03-12T15:06:37.911347Z", - "modified": "2024-03-12T15:06:37.911347Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/subnet:Subnet::subnet", - "custom": true, - "id": "subnet-0af98e06658f19a18", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "cidrBlock": "10.0.1.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-07688fb937907276f" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0af98e06658f19a18", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "availabilityZoneId": "usw2-az1", - "cidrBlock": "10.0.1.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-0af98e06658f19a18", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-07688fb937907276f" - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ] - }, - "created": "2024-03-12T15:06:39.286252Z", - "modified": "2024-03-12T15:06:39.286252Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/subnet:Subnet::secondSubnet", - "custom": true, - "id": "subnet-0204f14c1117350b2", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "cidrBlock": "10.0.2.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-07688fb937907276f" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0204f14c1117350b2", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "availabilityZoneId": "usw2-az1", - "cidrBlock": "10.0.2.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-0204f14c1117350b2", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-07688fb937907276f" - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ] - }, - "created": "2024-03-12T15:06:39.346092Z", - "modified": "2024-03-12T15:06:39.346092Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", - "custom": true, - "id": "sg-04735a6cf790f376a", - "type": "aws:ec2/securityGroup:SecurityGroup", - "inputs": { - "__defaults": [ - "description", - "name", - "revokeRulesOnDelete" - ], - "description": "Managed by Pulumi", - "name": "ecsSecurityGroup-c6bfe6e", - "revokeRulesOnDelete": false, - "vpcId": "vpc-07688fb937907276f" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-04735a6cf790f376a", - "description": "Managed by Pulumi", - "egress": [], - "id": "sg-04735a6cf790f376a", - "ingress": [], - "name": "ecsSecurityGroup-c6bfe6e", - "namePrefix": "", - "ownerId": "616138583583", - "revokeRulesOnDelete": false, - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-07688fb937907276f" - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "vpcId": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ] - }, - "created": "2024-03-12T15:06:40.776535Z", - "modified": "2024-03-12T15:06:40.776535Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/securityGroupRule:SecurityGroupRule::securityGroupRule", - "custom": true, - "id": "sgrule-3532178785", - "type": "aws:ec2/securityGroupRule:SecurityGroupRule", - "inputs": { - "__defaults": [], - "cidrBlocks": [ - "10.0.0.0/16" - ], - "fromPort": 80, - "protocol": "tcp", - "securityGroupId": "sg-04735a6cf790f376a", - "toPort": 80, - "type": "ingress" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":300000000000},\"schema_version\":\"2\"}", - "cidrBlocks": [ - "10.0.0.0/16" - ], - "fromPort": 80, - "id": "sgrule-3532178785", - "protocol": "tcp", - "securityGroupId": "sg-04735a6cf790f376a", - "securityGroupRuleId": "sgr-05843eecd481dbbfe", - "self": false, - "toPort": 80, - "type": "ingress" - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "cidrBlocks": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/vpc:Vpc::vpc" - ], - "fromPort": null, - "protocol": null, - "securityGroupId": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup" - ], - "toPort": null, - "type": null - }, - "created": "2024-03-12T15:06:41.802115Z", - "modified": "2024-03-12T15:06:41.802115Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/cluster:Cluster::ecsCluster", - "custom": true, - "id": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", - "type": "aws:ecs/cluster:Cluster", - "inputs": { - "__defaults": [ - "name" - ], - "name": "ecsCluster-5f32d08" - }, - "outputs": { - "arn": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", - "capacityProviders": [], - "defaultCapacityProviderStrategies": [], - "id": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", - "name": "ecsCluster-5f32d08", - "serviceConnectDefaults": null, - "settings": [ - { - "name": "containerInsights", - "value": "disabled" - } - ], - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "created": "2024-03-12T15:06:45.60288Z", - "modified": "2024-03-12T15:06:45.60288Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/service:Service::ecsService", - "custom": true, - "id": "arn:aws:ecs:us-west-2:616138583583:service/ecsCluster-5f32d08/ecsService-109150f", - "type": "aws:ecs/service:Service", - "inputs": { - "__defaults": [ - "deploymentMaximumPercent", - "deploymentMinimumHealthyPercent", - "enableEcsManagedTags", - "enableExecuteCommand", - "name", - "schedulingStrategy", - "waitForSteadyState" - ], - "cluster": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", - "deploymentMaximumPercent": 200, - "deploymentMinimumHealthyPercent": 100, - "desiredCount": 1, - "enableEcsManagedTags": false, - "enableExecuteCommand": false, - "launchType": "FARGATE", - "name": "ecsService-109150f", - "networkConfiguration": { - "__defaults": [], - "assignPublicIp": true, - "securityGroups": [ - "sg-04735a6cf790f376a" - ], - "subnets": [ - "subnet-0af98e06658f19a18", - "subnet-0204f14c1117350b2" - ] - }, - "schedulingStrategy": "REPLICA", - "taskDefinition": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition:231", - "waitForSteadyState": false - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000}}", - "alarms": null, - "capacityProviderStrategies": [], - "cluster": "arn:aws:ecs:us-west-2:616138583583:cluster/ecsCluster-5f32d08", - "deploymentCircuitBreaker": { - "enable": false, - "rollback": false - }, - "deploymentController": { - "type": "ECS" - }, - "deploymentMaximumPercent": 200, - "deploymentMinimumHealthyPercent": 100, - "desiredCount": 1, - "enableEcsManagedTags": false, - "enableExecuteCommand": false, - "healthCheckGracePeriodSeconds": 0, - "iamRole": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", - "id": "arn:aws:ecs:us-west-2:616138583583:service/ecsCluster-5f32d08/ecsService-109150f", - "launchType": "FARGATE", - "loadBalancers": [], - "name": "ecsService-109150f", - "networkConfiguration": { - "assignPublicIp": true, - "securityGroups": [ - "sg-04735a6cf790f376a" - ], - "subnets": [ - "subnet-0af98e06658f19a18", - "subnet-0204f14c1117350b2" - ] - }, - "orderedPlacementStrategies": [], - "placementConstraints": [], - "platformVersion": "LATEST", - "propagateTags": "NONE", - "schedulingStrategy": "REPLICA", - "serviceRegistries": null, - "tags": {}, - "tagsAll": {}, - "taskDefinition": "arn:aws:ecs:us-west-2:616138583583:task-definition/fargate-task-definition:231", - "triggers": {}, - "waitForSteadyState": false - }, - "parent": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:pulumi:Stack::ecs-service-p-it-venelins-m-ecs-servic-9b2a0f2a", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/subnet:Subnet::secondSubnet", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/subnet:Subnet::subnet", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/cluster:Cluster::ecsCluster", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/taskDefinition:TaskDefinition::taskDefinition" - ], - "provider": "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::pulumi:providers:aws::default::a2acf82f-c806-45f9-a078-a740416f2cf0", - "propertyDependencies": { - "cluster": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/cluster:Cluster::ecsCluster" - ], - "desiredCount": null, - "launchType": null, - "networkConfiguration": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/securityGroup:SecurityGroup::ecsSecurityGroup", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/subnet:Subnet::secondSubnet", - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ec2/subnet:Subnet::subnet" - ], - "taskDefinition": [ - "urn:pulumi:p-it-venelins-m-ecs-servic-9b2a0f2a::ecs-service::aws:ecs/taskDefinition:TaskDefinition::taskDefinition" - ] - }, - "created": "2024-03-12T15:06:46.719492Z", - "modified": "2024-03-12T15:06:46.719492Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/stack.json new file mode 100755 index 00000000000..3ec042d5c70 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/stack.json @@ -0,0 +1,546 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-10-05T17:52:20.518094-04:00", + "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", + "version": "v3.86.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:ixGikmZgCrA=:v1:g+7srp+kEf2s5QCg:ZPQ7axNwTO9zt6AyM7lgMYqdCPRu2A==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-10-05T21:44:17.446991Z", + "modified": "2023-10-05T21:44:17.446991Z" + }, + { + "urn": "urn:pulumi:test::test::pulumi:providers:aws::provider", + "custom": true, + "id": "77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "type": "pulumi:providers:aws", + "inputs": { + "version": "5.42.0" + }, + "outputs": { + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "propertyDependencies": { + "version": [] + }, + "created": "2023-10-05T21:44:18.935656Z", + "modified": "2023-10-05T21:44:18.935656Z" + }, + { + "urn": "urn:pulumi:test::test::pulumi:providers:aws::default", + "custom": true, + "id": "58d1cea6-926b-42a5-b85d-59948d0655cc", + "type": "pulumi:providers:aws", + "inputs": { + "version": "5.42.0" + }, + "outputs": { + "version": "5.42.0" + }, + "created": "2023-10-05T21:44:20.16747Z", + "modified": "2023-10-05T21:44:20.16747Z" + }, + { + "urn": "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role", + "custom": true, + "id": "ekscluster1role-6da3f8e", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"eks.amazonaws.com\"\n }\n }\n ]\n}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "ekscluster1role-6da3f8e", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/ekscluster1role-6da3f8e", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"eks.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-10-05T21:44:21Z", + "description": "", + "forceDetachPolicies": false, + "id": "ekscluster1role-6da3f8e", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "ekscluster1role-6da3f8e", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYP4HEAVVX6C" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2023-10-05T21:44:21.672175Z", + "modified": "2023-10-05T21:44:21.672175Z" + }, + { + "urn": "urn:pulumi:test::test::aws:iam/rolePolicyAttachment:RolePolicyAttachment::ekscluster1roleattach2", + "custom": true, + "id": "ekscluster1role-6da3f8e-20231005214421746500000001", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonEKSVPCResourceController", + "role": "ekscluster1role-6da3f8e" + }, + "outputs": { + "id": "ekscluster1role-6da3f8e-20231005214421746500000001", + "policyArn": "arn:aws:iam::aws:policy/AmazonEKSVPCResourceController", + "role": "ekscluster1role-6da3f8e" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role" + ] + }, + "created": "2023-10-05T21:44:21.78037Z", + "modified": "2023-10-05T21:44:21.78037Z" + }, + { + "urn": "urn:pulumi:test::test::aws:iam/rolePolicyAttachment:RolePolicyAttachment::ekscluster1roleattach1", + "custom": true, + "id": "ekscluster1role-6da3f8e-20231005214421788200000002", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy", + "role": "ekscluster1role-6da3f8e" + }, + "outputs": { + "id": "ekscluster1role-6da3f8e-20231005214421788200000002", + "policyArn": "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy", + "role": "ekscluster1role-6da3f8e" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role" + ] + }, + "created": "2023-10-05T21:44:21.827856Z", + "modified": "2023-10-05T21:44:21.827856Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1", + "custom": true, + "id": "vpc-08e15731978bce209", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "enableDnsSupport", + "instanceTenancy" + ], + "cidrBlock": "10.192.0.0/16", + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-08e15731978bce209", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.192.0.0/16", + "defaultNetworkAclId": "acl-0d6f164d7c603ae94", + "defaultRouteTableId": "rtb-00416b91668f38298", + "defaultSecurityGroupId": "sg-0e49263efd28d51d6", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": false, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-08e15731978bce209", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-00416b91668f38298", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "cidrBlock": null + }, + "created": "2023-10-05T21:44:23.943298Z", + "modified": "2023-10-05T21:44:23.943298Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet2", + "custom": true, + "id": "subnet-0569afbec481e91ea", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "cidrBlock": "10.192.21.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-08e15731978bce209" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0569afbec481e91ea", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "availabilityZoneId": "usw2-az1", + "cidrBlock": "10.192.21.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-0569afbec481e91ea", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-08e15731978bce209" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "mapPublicIpOnLaunch": null, + "vpcId": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ] + }, + "created": "2023-10-05T21:44:24.80174Z", + "modified": "2023-10-05T21:44:24.80174Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet1", + "custom": true, + "id": "subnet-01397ef1aa6010338", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "cidrBlock": "10.192.20.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-08e15731978bce209" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-01397ef1aa6010338", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "availabilityZoneId": "usw2-az2", + "cidrBlock": "10.192.20.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-01397ef1aa6010338", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-08e15731978bce209" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "mapPublicIpOnLaunch": null, + "vpcId": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ] + }, + "created": "2023-10-05T21:44:24.814372Z", + "modified": "2023-10-05T21:44:24.814372Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1", + "custom": true, + "id": "sg-0c6e35b90b4d8cb2b", + "type": "aws:ec2/securityGroup:SecurityGroup", + "inputs": { + "__defaults": [ + "name", + "revokeRulesOnDelete" + ], + "description": "Allow TLS inbound traffic", + "egress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "0.0.0.0/0" + ], + "fromPort": 0, + "ipv6CidrBlocks": [ + "::/0" + ], + "protocol": "-1", + "self": false, + "toPort": 0 + } + ], + "ingress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "10.192.0.0/16" + ], + "description": "TLS from VPC", + "fromPort": 443, + "protocol": "tcp", + "self": false, + "toPort": 443 + } + ], + "name": "securityGroupAllowTLS1-bb77406", + "revokeRulesOnDelete": false, + "vpcId": "vpc-08e15731978bce209" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-0c6e35b90b4d8cb2b", + "description": "Allow TLS inbound traffic", + "egress": [ + { + "cidrBlocks": [ + "0.0.0.0/0" + ], + "description": "", + "fromPort": 0, + "ipv6CidrBlocks": [ + "::/0" + ], + "prefixListIds": [], + "protocol": "-1", + "securityGroups": [], + "self": false, + "toPort": 0 + } + ], + "id": "sg-0c6e35b90b4d8cb2b", + "ingress": [ + { + "cidrBlocks": [ + "10.192.0.0/16" + ], + "description": "TLS from VPC", + "fromPort": 443, + "ipv6CidrBlocks": [], + "prefixListIds": [], + "protocol": "tcp", + "securityGroups": [], + "self": false, + "toPort": 443 + } + ], + "name": "securityGroupAllowTLS1-bb77406", + "namePrefix": "", + "ownerId": "616138583583", + "revokeRulesOnDelete": false, + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-08e15731978bce209" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "description": null, + "egress": null, + "ingress": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "vpcId": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ] + }, + "created": "2023-10-05T21:44:27.01943Z", + "modified": "2023-10-05T21:44:27.01943Z" + }, + { + "urn": "urn:pulumi:test::test::aws:eks/cluster:Cluster::tested-resource", + "custom": true, + "id": "tested-resource-0268e11", + "type": "aws:eks/cluster:Cluster", + "inputs": { + "__defaults": [ + "name" + ], + "name": "tested-resource-0268e11", + "roleArn": "arn:aws:iam::616138583583:role/ekscluster1role-6da3f8e", + "vpcConfig": { + "__defaults": [ + "endpointPrivateAccess", + "endpointPublicAccess" + ], + "endpointPrivateAccess": false, + "endpointPublicAccess": true, + "subnetIds": [ + "subnet-01397ef1aa6010338", + "subnet-0569afbec481e91ea" + ] + } + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1800000000000,\"delete\":900000000000,\"update\":3600000000000}}", + "arn": "arn:aws:eks:us-west-2:616138583583:cluster/tested-resource-0268e11", + "certificateAuthorities": [ + { + "data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lJSUovTzc1dkYzSEl3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TXpFd01EVXlNVFE0TlRkYUZ3MHpNekV3TURJeU1UUTROVGRhTUJVeApFekFSQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLCkFvSUJBUURQT0ZiVGFnbUY2d2Y5SWs3L0d0VEdmU09VaVIwQUo1aDZUUktEcXk1NE9xWFJVQVpCNEwxTDZvYnkKVHdHLzFaNGJlM3U1bm9GdUVZdUEyTEltRlhKTVZ1eHI0OXV6U1BsWkk2eXZuZTVaWkVkZG5aclVWTjl4U00rdQpjakxrZEYwRXh6SnIrU1BZaXphQVQweG44YUtRRXlROHZvZm1zcml4YWJpY0ZwSW1TdmF3OWdMZnBpMXZwYXRwClJraW1NK202a1lWeGFZS1dUUUJBbnRVTzk3MXlWbVJvR1ZkOVZscU0rQ2NPS0svQml4NG5qYzNXNFZjWnZDZEcKMjVmei9hR2trdFA2SkxONnJ0TUlUN3ZWNkhXWklhMU1Sak85cmR4OXFqVVJMT3Z3akhnLytyZkhTQTR1ZDlxYQpOUjZxZUhSMUlTN1RJdmZzRlF3Z3p1WDFrRlh4QWdNQkFBR2pXVEJYTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQCkJnTlZIUk1CQWY4RUJUQURBUUgvTUIwR0ExVWREZ1FXQkJTYno4SjRVck9Fam8xcHl0OFZPenVKakVIbGdUQVYKQmdOVkhSRUVEakFNZ2dwcmRXSmxjbTVsZEdWek1BMEdDU3FHU0liM0RRRUJDd1VBQTRJQkFRQkRJT0ZlWGRIVApUZmhUQlAyYlFpSkVDa24xenk5NTBpQTZUM3RsajBPOW9tTDVRUHB5dTVXWHkxRUlkbkNIdkl6QVl1RkhxZ0swClVLUFgxdURmOG02QWJPdUxteFJBNFFpc2NrNWJBQmN6Q1lienhJM3NGRkUzQ2hONHBpblB5QVhoUUFJd1FFUXkKVzNSUGQ0Mlh5WXVKTTRITTBJS0RDZ2dCNGhEWEtQRFlPWHQ3a0Zab1I4MmNCaVpVa3BqUUpSUG9Yd0ZCcElYcQoxczN3U1JHZTRRSW5OWHdMQlpCMTVaM01lYkpkU01MQWloRUpTY3J5MWRhZXhrQ1dTMUMrY1kxN2FWaEhld0pGCmx2am1NSzJxRTl4Rm85RmgzV2xTbEVnc3FZU0dNUXFxc2RlNmtYNDVlYzBRM1dab0pEZGtnZ3BwckJ2eGV2aGsKVnV0MFJ3QmJTS2pyCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K" + } + ], + "certificateAuthority": { + "data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lJSUovTzc1dkYzSEl3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TXpFd01EVXlNVFE0TlRkYUZ3MHpNekV3TURJeU1UUTROVGRhTUJVeApFekFSQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLCkFvSUJBUURQT0ZiVGFnbUY2d2Y5SWs3L0d0VEdmU09VaVIwQUo1aDZUUktEcXk1NE9xWFJVQVpCNEwxTDZvYnkKVHdHLzFaNGJlM3U1bm9GdUVZdUEyTEltRlhKTVZ1eHI0OXV6U1BsWkk2eXZuZTVaWkVkZG5aclVWTjl4U00rdQpjakxrZEYwRXh6SnIrU1BZaXphQVQweG44YUtRRXlROHZvZm1zcml4YWJpY0ZwSW1TdmF3OWdMZnBpMXZwYXRwClJraW1NK202a1lWeGFZS1dUUUJBbnRVTzk3MXlWbVJvR1ZkOVZscU0rQ2NPS0svQml4NG5qYzNXNFZjWnZDZEcKMjVmei9hR2trdFA2SkxONnJ0TUlUN3ZWNkhXWklhMU1Sak85cmR4OXFqVVJMT3Z3akhnLytyZkhTQTR1ZDlxYQpOUjZxZUhSMUlTN1RJdmZzRlF3Z3p1WDFrRlh4QWdNQkFBR2pXVEJYTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQCkJnTlZIUk1CQWY4RUJUQURBUUgvTUIwR0ExVWREZ1FXQkJTYno4SjRVck9Fam8xcHl0OFZPenVKakVIbGdUQVYKQmdOVkhSRUVEakFNZ2dwcmRXSmxjbTVsZEdWek1BMEdDU3FHU0liM0RRRUJDd1VBQTRJQkFRQkRJT0ZlWGRIVApUZmhUQlAyYlFpSkVDa24xenk5NTBpQTZUM3RsajBPOW9tTDVRUHB5dTVXWHkxRUlkbkNIdkl6QVl1RkhxZ0swClVLUFgxdURmOG02QWJPdUxteFJBNFFpc2NrNWJBQmN6Q1lienhJM3NGRkUzQ2hONHBpblB5QVhoUUFJd1FFUXkKVzNSUGQ0Mlh5WXVKTTRITTBJS0RDZ2dCNGhEWEtQRFlPWHQ3a0Zab1I4MmNCaVpVa3BqUUpSUG9Yd0ZCcElYcQoxczN3U1JHZTRRSW5OWHdMQlpCMTVaM01lYkpkU01MQWloRUpTY3J5MWRhZXhrQ1dTMUMrY1kxN2FWaEhld0pGCmx2am1NSzJxRTl4Rm85RmgzV2xTbEVnc3FZU0dNUXFxc2RlNmtYNDVlYzBRM1dab0pEZGtnZ3BwckJ2eGV2aGsKVnV0MFJ3QmJTS2pyCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K" + }, + "createdAt": "2023-10-05 21:44:26.403 +0000 UTC", + "enabledClusterLogTypes": [], + "encryptionConfig": null, + "endpoint": "https://89180AEA318B417FC070BC1183C35AB4.gr7.us-west-2.eks.amazonaws.com", + "id": "tested-resource-0268e11", + "identities": [ + { + "oidcs": [ + { + "issuer": "https://oidc.eks.us-west-2.amazonaws.com/id/89180AEA318B417FC070BC1183C35AB4" + } + ] + } + ], + "kubernetesNetworkConfig": { + "ipFamily": "ipv4", + "serviceIpv4Cidr": "172.20.0.0/16", + "serviceIpv6Cidr": "" + }, + "name": "tested-resource-0268e11", + "outpostConfig": null, + "platformVersion": "eks.5", + "roleArn": "arn:aws:iam::616138583583:role/ekscluster1role-6da3f8e", + "status": "ACTIVE", + "tags": {}, + "tagsAll": {}, + "version": "1.27", + "vpcConfig": { + "clusterSecurityGroupId": "sg-0845b6841e1f4157c", + "endpointPrivateAccess": false, + "endpointPublicAccess": true, + "publicAccessCidrs": [ + "0.0.0.0/0" + ], + "securityGroupIds": [], + "subnetIds": [ + "subnet-0569afbec481e91ea", + "subnet-01397ef1aa6010338" + ], + "vpcId": "vpc-08e15731978bce209" + } + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet1", + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet2", + "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", + "propertyDependencies": { + "roleArn": [ + "urn:pulumi:test::test::aws:iam/role:Role::ekscluster1role" + ], + "vpcConfig": [ + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet1", + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet2" + ] + }, + "created": "2023-10-05T21:52:20.518027Z", + "modified": "2023-10-05T21:52:20.518027Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/state.json deleted file mode 100755 index 39eb728ae35..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/eks-cluster/5.42.0/state.json +++ /dev/null @@ -1,546 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-10-05T17:52:20.518094-04:00", - "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", - "version": "v3.86.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:ixGikmZgCrA=:v1:g+7srp+kEf2s5QCg:ZPQ7axNwTO9zt6AyM7lgMYqdCPRu2A==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-10-05T21:44:17.446991Z", - "modified": "2023-10-05T21:44:17.446991Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider", - "custom": true, - "id": "77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "type": "pulumi:providers:aws", - "inputs": { - "version": "5.42.0" - }, - "outputs": { - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "propertyDependencies": { - "version": [] - }, - "created": "2023-10-05T21:44:18.935656Z", - "modified": "2023-10-05T21:44:18.935656Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::default", - "custom": true, - "id": "58d1cea6-926b-42a5-b85d-59948d0655cc", - "type": "pulumi:providers:aws", - "inputs": { - "version": "5.42.0" - }, - "outputs": { - "version": "5.42.0" - }, - "created": "2023-10-05T21:44:20.16747Z", - "modified": "2023-10-05T21:44:20.16747Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role", - "custom": true, - "id": "ekscluster1role-6da3f8e", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"eks.amazonaws.com\"\n }\n }\n ]\n}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "ekscluster1role-6da3f8e", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/ekscluster1role-6da3f8e", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"eks.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-10-05T21:44:21Z", - "description": "", - "forceDetachPolicies": false, - "id": "ekscluster1role-6da3f8e", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "ekscluster1role-6da3f8e", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYP4HEAVVX6C" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2023-10-05T21:44:21.672175Z", - "modified": "2023-10-05T21:44:21.672175Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/rolePolicyAttachment:RolePolicyAttachment::ekscluster1roleattach2", - "custom": true, - "id": "ekscluster1role-6da3f8e-20231005214421746500000001", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonEKSVPCResourceController", - "role": "ekscluster1role-6da3f8e" - }, - "outputs": { - "id": "ekscluster1role-6da3f8e-20231005214421746500000001", - "policyArn": "arn:aws:iam::aws:policy/AmazonEKSVPCResourceController", - "role": "ekscluster1role-6da3f8e" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role" - ], - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role" - ] - }, - "created": "2023-10-05T21:44:21.78037Z", - "modified": "2023-10-05T21:44:21.78037Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/rolePolicyAttachment:RolePolicyAttachment::ekscluster1roleattach1", - "custom": true, - "id": "ekscluster1role-6da3f8e-20231005214421788200000002", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy", - "role": "ekscluster1role-6da3f8e" - }, - "outputs": { - "id": "ekscluster1role-6da3f8e-20231005214421788200000002", - "policyArn": "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy", - "role": "ekscluster1role-6da3f8e" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role" - ], - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role" - ] - }, - "created": "2023-10-05T21:44:21.827856Z", - "modified": "2023-10-05T21:44:21.827856Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1", - "custom": true, - "id": "vpc-08e15731978bce209", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "enableDnsSupport", - "instanceTenancy" - ], - "cidrBlock": "10.192.0.0/16", - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-08e15731978bce209", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.192.0.0/16", - "defaultNetworkAclId": "acl-0d6f164d7c603ae94", - "defaultRouteTableId": "rtb-00416b91668f38298", - "defaultSecurityGroupId": "sg-0e49263efd28d51d6", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": false, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-08e15731978bce209", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-00416b91668f38298", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "cidrBlock": null - }, - "created": "2023-10-05T21:44:23.943298Z", - "modified": "2023-10-05T21:44:23.943298Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/subnet:Subnet::subnet2", - "custom": true, - "id": "subnet-0569afbec481e91ea", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "cidrBlock": "10.192.21.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-08e15731978bce209" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0569afbec481e91ea", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "availabilityZoneId": "usw2-az1", - "cidrBlock": "10.192.21.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-0569afbec481e91ea", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-08e15731978bce209" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ], - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "mapPublicIpOnLaunch": null, - "vpcId": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ] - }, - "created": "2023-10-05T21:44:24.80174Z", - "modified": "2023-10-05T21:44:24.80174Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/subnet:Subnet::subnet1", - "custom": true, - "id": "subnet-01397ef1aa6010338", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "cidrBlock": "10.192.20.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-08e15731978bce209" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-01397ef1aa6010338", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "availabilityZoneId": "usw2-az2", - "cidrBlock": "10.192.20.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-01397ef1aa6010338", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-08e15731978bce209" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ], - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "mapPublicIpOnLaunch": null, - "vpcId": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ] - }, - "created": "2023-10-05T21:44:24.814372Z", - "modified": "2023-10-05T21:44:24.814372Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1", - "custom": true, - "id": "sg-0c6e35b90b4d8cb2b", - "type": "aws:ec2/securityGroup:SecurityGroup", - "inputs": { - "__defaults": [ - "name", - "revokeRulesOnDelete" - ], - "description": "Allow TLS inbound traffic", - "egress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "0.0.0.0/0" - ], - "fromPort": 0, - "ipv6CidrBlocks": [ - "::/0" - ], - "protocol": "-1", - "self": false, - "toPort": 0 - } - ], - "ingress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "10.192.0.0/16" - ], - "description": "TLS from VPC", - "fromPort": 443, - "protocol": "tcp", - "self": false, - "toPort": 443 - } - ], - "name": "securityGroupAllowTLS1-bb77406", - "revokeRulesOnDelete": false, - "vpcId": "vpc-08e15731978bce209" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-0c6e35b90b4d8cb2b", - "description": "Allow TLS inbound traffic", - "egress": [ - { - "cidrBlocks": [ - "0.0.0.0/0" - ], - "description": "", - "fromPort": 0, - "ipv6CidrBlocks": [ - "::/0" - ], - "prefixListIds": [], - "protocol": "-1", - "securityGroups": [], - "self": false, - "toPort": 0 - } - ], - "id": "sg-0c6e35b90b4d8cb2b", - "ingress": [ - { - "cidrBlocks": [ - "10.192.0.0/16" - ], - "description": "TLS from VPC", - "fromPort": 443, - "ipv6CidrBlocks": [], - "prefixListIds": [], - "protocol": "tcp", - "securityGroups": [], - "self": false, - "toPort": 443 - } - ], - "name": "securityGroupAllowTLS1-bb77406", - "namePrefix": "", - "ownerId": "616138583583", - "revokeRulesOnDelete": false, - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-08e15731978bce209" - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ], - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "description": null, - "egress": null, - "ingress": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ], - "vpcId": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/vpc:Vpc::vpc1" - ] - }, - "created": "2023-10-05T21:44:27.01943Z", - "modified": "2023-10-05T21:44:27.01943Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:eks/cluster:Cluster::tested-resource", - "custom": true, - "id": "tested-resource-0268e11", - "type": "aws:eks/cluster:Cluster", - "inputs": { - "__defaults": [ - "name" - ], - "name": "tested-resource-0268e11", - "roleArn": "arn:aws:iam::616138583583:role/ekscluster1role-6da3f8e", - "vpcConfig": { - "__defaults": [ - "endpointPrivateAccess", - "endpointPublicAccess" - ], - "endpointPrivateAccess": false, - "endpointPublicAccess": true, - "subnetIds": [ - "subnet-01397ef1aa6010338", - "subnet-0569afbec481e91ea" - ] - } - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1800000000000,\"delete\":900000000000,\"update\":3600000000000}}", - "arn": "arn:aws:eks:us-west-2:616138583583:cluster/tested-resource-0268e11", - "certificateAuthorities": [ - { - "data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lJSUovTzc1dkYzSEl3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TXpFd01EVXlNVFE0TlRkYUZ3MHpNekV3TURJeU1UUTROVGRhTUJVeApFekFSQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLCkFvSUJBUURQT0ZiVGFnbUY2d2Y5SWs3L0d0VEdmU09VaVIwQUo1aDZUUktEcXk1NE9xWFJVQVpCNEwxTDZvYnkKVHdHLzFaNGJlM3U1bm9GdUVZdUEyTEltRlhKTVZ1eHI0OXV6U1BsWkk2eXZuZTVaWkVkZG5aclVWTjl4U00rdQpjakxrZEYwRXh6SnIrU1BZaXphQVQweG44YUtRRXlROHZvZm1zcml4YWJpY0ZwSW1TdmF3OWdMZnBpMXZwYXRwClJraW1NK202a1lWeGFZS1dUUUJBbnRVTzk3MXlWbVJvR1ZkOVZscU0rQ2NPS0svQml4NG5qYzNXNFZjWnZDZEcKMjVmei9hR2trdFA2SkxONnJ0TUlUN3ZWNkhXWklhMU1Sak85cmR4OXFqVVJMT3Z3akhnLytyZkhTQTR1ZDlxYQpOUjZxZUhSMUlTN1RJdmZzRlF3Z3p1WDFrRlh4QWdNQkFBR2pXVEJYTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQCkJnTlZIUk1CQWY4RUJUQURBUUgvTUIwR0ExVWREZ1FXQkJTYno4SjRVck9Fam8xcHl0OFZPenVKakVIbGdUQVYKQmdOVkhSRUVEakFNZ2dwcmRXSmxjbTVsZEdWek1BMEdDU3FHU0liM0RRRUJDd1VBQTRJQkFRQkRJT0ZlWGRIVApUZmhUQlAyYlFpSkVDa24xenk5NTBpQTZUM3RsajBPOW9tTDVRUHB5dTVXWHkxRUlkbkNIdkl6QVl1RkhxZ0swClVLUFgxdURmOG02QWJPdUxteFJBNFFpc2NrNWJBQmN6Q1lienhJM3NGRkUzQ2hONHBpblB5QVhoUUFJd1FFUXkKVzNSUGQ0Mlh5WXVKTTRITTBJS0RDZ2dCNGhEWEtQRFlPWHQ3a0Zab1I4MmNCaVpVa3BqUUpSUG9Yd0ZCcElYcQoxczN3U1JHZTRRSW5OWHdMQlpCMTVaM01lYkpkU01MQWloRUpTY3J5MWRhZXhrQ1dTMUMrY1kxN2FWaEhld0pGCmx2am1NSzJxRTl4Rm85RmgzV2xTbEVnc3FZU0dNUXFxc2RlNmtYNDVlYzBRM1dab0pEZGtnZ3BwckJ2eGV2aGsKVnV0MFJ3QmJTS2pyCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K" - } - ], - "certificateAuthority": { - "data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lJSUovTzc1dkYzSEl3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TXpFd01EVXlNVFE0TlRkYUZ3MHpNekV3TURJeU1UUTROVGRhTUJVeApFekFSQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLCkFvSUJBUURQT0ZiVGFnbUY2d2Y5SWs3L0d0VEdmU09VaVIwQUo1aDZUUktEcXk1NE9xWFJVQVpCNEwxTDZvYnkKVHdHLzFaNGJlM3U1bm9GdUVZdUEyTEltRlhKTVZ1eHI0OXV6U1BsWkk2eXZuZTVaWkVkZG5aclVWTjl4U00rdQpjakxrZEYwRXh6SnIrU1BZaXphQVQweG44YUtRRXlROHZvZm1zcml4YWJpY0ZwSW1TdmF3OWdMZnBpMXZwYXRwClJraW1NK202a1lWeGFZS1dUUUJBbnRVTzk3MXlWbVJvR1ZkOVZscU0rQ2NPS0svQml4NG5qYzNXNFZjWnZDZEcKMjVmei9hR2trdFA2SkxONnJ0TUlUN3ZWNkhXWklhMU1Sak85cmR4OXFqVVJMT3Z3akhnLytyZkhTQTR1ZDlxYQpOUjZxZUhSMUlTN1RJdmZzRlF3Z3p1WDFrRlh4QWdNQkFBR2pXVEJYTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQCkJnTlZIUk1CQWY4RUJUQURBUUgvTUIwR0ExVWREZ1FXQkJTYno4SjRVck9Fam8xcHl0OFZPenVKakVIbGdUQVYKQmdOVkhSRUVEakFNZ2dwcmRXSmxjbTVsZEdWek1BMEdDU3FHU0liM0RRRUJDd1VBQTRJQkFRQkRJT0ZlWGRIVApUZmhUQlAyYlFpSkVDa24xenk5NTBpQTZUM3RsajBPOW9tTDVRUHB5dTVXWHkxRUlkbkNIdkl6QVl1RkhxZ0swClVLUFgxdURmOG02QWJPdUxteFJBNFFpc2NrNWJBQmN6Q1lienhJM3NGRkUzQ2hONHBpblB5QVhoUUFJd1FFUXkKVzNSUGQ0Mlh5WXVKTTRITTBJS0RDZ2dCNGhEWEtQRFlPWHQ3a0Zab1I4MmNCaVpVa3BqUUpSUG9Yd0ZCcElYcQoxczN3U1JHZTRRSW5OWHdMQlpCMTVaM01lYkpkU01MQWloRUpTY3J5MWRhZXhrQ1dTMUMrY1kxN2FWaEhld0pGCmx2am1NSzJxRTl4Rm85RmgzV2xTbEVnc3FZU0dNUXFxc2RlNmtYNDVlYzBRM1dab0pEZGtnZ3BwckJ2eGV2aGsKVnV0MFJ3QmJTS2pyCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K" - }, - "createdAt": "2023-10-05 21:44:26.403 +0000 UTC", - "enabledClusterLogTypes": [], - "encryptionConfig": null, - "endpoint": "https://89180AEA318B417FC070BC1183C35AB4.gr7.us-west-2.eks.amazonaws.com", - "id": "tested-resource-0268e11", - "identities": [ - { - "oidcs": [ - { - "issuer": "https://oidc.eks.us-west-2.amazonaws.com/id/89180AEA318B417FC070BC1183C35AB4" - } - ] - } - ], - "kubernetesNetworkConfig": { - "ipFamily": "ipv4", - "serviceIpv4Cidr": "172.20.0.0/16", - "serviceIpv6Cidr": "" - }, - "name": "tested-resource-0268e11", - "outpostConfig": null, - "platformVersion": "eks.5", - "roleArn": "arn:aws:iam::616138583583:role/ekscluster1role-6da3f8e", - "status": "ACTIVE", - "tags": {}, - "tagsAll": {}, - "version": "1.27", - "vpcConfig": { - "clusterSecurityGroupId": "sg-0845b6841e1f4157c", - "endpointPrivateAccess": false, - "endpointPublicAccess": true, - "publicAccessCidrs": [ - "0.0.0.0/0" - ], - "securityGroupIds": [], - "subnetIds": [ - "subnet-0569afbec481e91ea", - "subnet-01397ef1aa6010338" - ], - "vpcId": "vpc-08e15731978bce209" - } - }, - "parent": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:pulumi:Stack::test-p-it-antons-mac-eks-cluste-d5cda309", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/subnet:Subnet::subnet1", - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/subnet:Subnet::subnet2", - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role" - ], - "provider": "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::pulumi:providers:aws::provider::77e23214-938b-4fa1-b73a-ba6d9f9b817c", - "propertyDependencies": { - "roleArn": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:iam/role:Role::ekscluster1role" - ], - "vpcConfig": [ - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/subnet:Subnet::subnet1", - "urn:pulumi:p-it-antons-mac-eks-cluste-d5cda309::test::aws:ec2/subnet:Subnet::subnet2" - ] - }, - "created": "2023-10-05T21:52:20.518027Z", - "modified": "2023-10-05T21:52:20.518027Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/eventbus/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/eventbus/5.42.0/stack.json similarity index 100% rename from provider/testdata/recorded/TestProviderUpgrade/eventbus/5.42.0/state.json rename to provider/testdata/recorded/TestProviderUpgrade/eventbus/5.42.0/stack.json diff --git a/provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/stack.json new file mode 100755 index 00000000000..f32bbebfc7f --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/stack.json @@ -0,0 +1,121 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:26:30.931018-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:ufSh5lhkv6E=:v1:phCwIb2QLTtvRtBg:RZQJVHkZCHAG+gl30RixsfFkUFh4/g==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::pulumi:pulumi:Stack::aws_iam_instanceProfile_InstanceProfile_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:26:27.472646Z", + "modified": "2023-11-10T22:26:27.472646Z" + }, + { + "urn": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::pulumi:providers:aws::default", + "custom": true, + "id": "956fecda-d7e6-4e6f-8500-076e2b71fef9", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:26:29.219638Z", + "modified": "2023-11-10T22:26:29.219638Z" + }, + { + "urn": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/role:Role::role", + "custom": true, + "id": "test_role", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration" + ], + "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "test_role", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/test_role", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-11-10T22:26:30Z", + "description": "", + "forceDetachPolicies": false, + "id": "test_role", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "test_role", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYP6H42EP77F" + }, + "parent": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::pulumi:pulumi:Stack::aws_iam_instanceProfile_InstanceProfile_1-test", + "provider": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::pulumi:providers:aws::default::956fecda-d7e6-4e6f-8500-076e2b71fef9", + "propertyDependencies": { + "assumeRolePolicy": null, + "name": null, + "path": null + }, + "created": "2023-11-10T22:26:30.651393Z", + "modified": "2023-11-10T22:26:30.651393Z" + }, + { + "urn": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/instanceProfile:InstanceProfile::test_profile", + "custom": true, + "id": "test_profile", + "type": "aws:iam/instanceProfile:InstanceProfile", + "inputs": { + "__defaults": [ + "path" + ], + "name": "test_profile", + "path": "/", + "role": "test_role" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:instance-profile/test_profile", + "createDate": "2023-11-10T22:26:30Z", + "id": "test_profile", + "name": "test_profile", + "namePrefix": "", + "path": "/", + "role": "test_role", + "tags": {}, + "tagsAll": {}, + "uniqueId": "AIPAY65FYVYPZOVJFUPAX" + }, + "parent": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::pulumi:pulumi:Stack::aws_iam_instanceProfile_InstanceProfile_1-test", + "dependencies": [ + "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/role:Role::role" + ], + "provider": "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::pulumi:providers:aws::default::956fecda-d7e6-4e6f-8500-076e2b71fef9", + "propertyDependencies": { + "name": null, + "role": [ + "urn:pulumi:test::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/role:Role::role" + ] + }, + "created": "2023-11-10T22:26:30.930817Z", + "modified": "2023-11-10T22:26:30.930817Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/state.json deleted file mode 100755 index 1c950d40beb..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/iam-instanceprofile/5.42.0/state.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:26:30.931018-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:ufSh5lhkv6E=:v1:phCwIb2QLTtvRtBg:RZQJVHkZCHAG+gl30RixsfFkUFh4/g==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::pulumi:pulumi:Stack::aws_iam_instanceProfile_InstanceProfile_1-p-it-antons-mac-iam-instan-5dfa2b95", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:26:27.472646Z", - "modified": "2023-11-10T22:26:27.472646Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::pulumi:providers:aws::default", - "custom": true, - "id": "956fecda-d7e6-4e6f-8500-076e2b71fef9", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:26:29.219638Z", - "modified": "2023-11-10T22:26:29.219638Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/role:Role::role", - "custom": true, - "id": "test_role", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration" - ], - "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "test_role", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/test_role", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-11-10T22:26:30Z", - "description": "", - "forceDetachPolicies": false, - "id": "test_role", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "test_role", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYP6H42EP77F" - }, - "parent": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::pulumi:pulumi:Stack::aws_iam_instanceProfile_InstanceProfile_1-p-it-antons-mac-iam-instan-5dfa2b95", - "provider": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::pulumi:providers:aws::default::956fecda-d7e6-4e6f-8500-076e2b71fef9", - "propertyDependencies": { - "assumeRolePolicy": null, - "name": null, - "path": null - }, - "created": "2023-11-10T22:26:30.651393Z", - "modified": "2023-11-10T22:26:30.651393Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/instanceProfile:InstanceProfile::test_profile", - "custom": true, - "id": "test_profile", - "type": "aws:iam/instanceProfile:InstanceProfile", - "inputs": { - "__defaults": [ - "path" - ], - "name": "test_profile", - "path": "/", - "role": "test_role" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:instance-profile/test_profile", - "createDate": "2023-11-10T22:26:30Z", - "id": "test_profile", - "name": "test_profile", - "namePrefix": "", - "path": "/", - "role": "test_role", - "tags": {}, - "tagsAll": {}, - "uniqueId": "AIPAY65FYVYPZOVJFUPAX" - }, - "parent": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::pulumi:pulumi:Stack::aws_iam_instanceProfile_InstanceProfile_1-p-it-antons-mac-iam-instan-5dfa2b95", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/role:Role::role" - ], - "provider": "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::pulumi:providers:aws::default::956fecda-d7e6-4e6f-8500-076e2b71fef9", - "propertyDependencies": { - "name": null, - "role": [ - "urn:pulumi:p-it-antons-mac-iam-instan-5dfa2b95::aws_iam_instanceProfile_InstanceProfile_1::aws:iam/role:Role::role" - ] - }, - "created": "2023-11-10T22:26:30.930817Z", - "modified": "2023-11-10T22:26:30.930817Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/stack.json new file mode 100755 index 00000000000..2ed093f2f23 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/stack.json @@ -0,0 +1,71 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:26:48.602617-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:MHGqEl1/fuo=:v1:MdIa+p5lC1ImVBqL:ZlGEAqlybNoeJKChi8Fg2jTx8YwoaQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:pulumi:Stack::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:26:45.816809Z", + "modified": "2023-11-10T22:26:45.816809Z" + }, + { + "urn": "urn:pulumi:test::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:providers:aws::default", + "custom": true, + "id": "d7c3a849-dfc5-493d-84f3-38c7af13170c", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:26:47.30172Z", + "modified": "2023-11-10T22:26:47.30172Z" + }, + { + "urn": "urn:pulumi:test::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::aws:iam/openIdConnectProvider:OpenIdConnectProvider::default", + "custom": true, + "id": "arn:aws:iam::616138583583:oidc-provider/accounts.google.com", + "type": "aws:iam/openIdConnectProvider:OpenIdConnectProvider", + "inputs": { + "__defaults": [], + "clientIdLists": [ + "266362248691-342342xasdasdasda-apps.googleusercontent.com" + ], + "thumbprintLists": [ + "cf23df2207d99a74fbe169e3eba035e633b65d94" + ], + "url": "https://accounts.google.com" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:oidc-provider/accounts.google.com", + "clientIdLists": [ + "266362248691-342342xasdasdasda-apps.googleusercontent.com" + ], + "id": "arn:aws:iam::616138583583:oidc-provider/accounts.google.com", + "tags": {}, + "tagsAll": {}, + "thumbprintLists": [ + "cf23df2207d99a74fbe169e3eba035e633b65d94" + ], + "url": "accounts.google.com" + }, + "parent": "urn:pulumi:test::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:pulumi:Stack::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1-test", + "provider": "urn:pulumi:test::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:providers:aws::default::d7c3a849-dfc5-493d-84f3-38c7af13170c", + "propertyDependencies": { + "clientIdLists": null, + "thumbprintLists": null, + "url": null + }, + "created": "2023-11-10T22:26:48.602488Z", + "modified": "2023-11-10T22:26:48.602488Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/state.json deleted file mode 100755 index ef6deee6dba..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/iam-openidconnectprovider/5.42.0/state.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:26:48.602617-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:MHGqEl1/fuo=:v1:MdIa+p5lC1ImVBqL:ZlGEAqlybNoeJKChi8Fg2jTx8YwoaQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-iam-openid-d125fab9::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:pulumi:Stack::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1-p-it-antons-mac-iam-openid-d125fab9", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:26:45.816809Z", - "modified": "2023-11-10T22:26:45.816809Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-iam-openid-d125fab9::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:providers:aws::default", - "custom": true, - "id": "d7c3a849-dfc5-493d-84f3-38c7af13170c", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:26:47.30172Z", - "modified": "2023-11-10T22:26:47.30172Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-iam-openid-d125fab9::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::aws:iam/openIdConnectProvider:OpenIdConnectProvider::default", - "custom": true, - "id": "arn:aws:iam::616138583583:oidc-provider/accounts.google.com", - "type": "aws:iam/openIdConnectProvider:OpenIdConnectProvider", - "inputs": { - "__defaults": [], - "clientIdLists": [ - "266362248691-342342xasdasdasda-apps.googleusercontent.com" - ], - "thumbprintLists": [ - "cf23df2207d99a74fbe169e3eba035e633b65d94" - ], - "url": "https://accounts.google.com" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:oidc-provider/accounts.google.com", - "clientIdLists": [ - "266362248691-342342xasdasdasda-apps.googleusercontent.com" - ], - "id": "arn:aws:iam::616138583583:oidc-provider/accounts.google.com", - "tags": {}, - "tagsAll": {}, - "thumbprintLists": [ - "cf23df2207d99a74fbe169e3eba035e633b65d94" - ], - "url": "accounts.google.com" - }, - "parent": "urn:pulumi:p-it-antons-mac-iam-openid-d125fab9::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:pulumi:Stack::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1-p-it-antons-mac-iam-openid-d125fab9", - "provider": "urn:pulumi:p-it-antons-mac-iam-openid-d125fab9::aws_iam_openIdConnectProvider_OpenIdConnectProvider_1::pulumi:providers:aws::default::d7c3a849-dfc5-493d-84f3-38c7af13170c", - "propertyDependencies": { - "clientIdLists": null, - "thumbprintLists": null, - "url": null - }, - "created": "2023-11-10T22:26:48.602488Z", - "modified": "2023-11-10T22:26:48.602488Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/stack.json new file mode 100755 index 00000000000..928bce0563d --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/stack.json @@ -0,0 +1,101 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T14:47:35.443204Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:DN08DEtyd9E=:v1:+drRQQ0Gq/2hsA8m:/yL+6WieOo57HsbOgLCguCvtjXX+yQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::iam-user::pulumi:pulumi:Stack::iam-user-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T14:47:31.415448Z", + "modified": "2024-03-12T14:47:31.415448Z" + }, + { + "urn": "urn:pulumi:test::iam-user::pulumi:providers:aws::default", + "custom": true, + "id": "fdec30a7-3752-4c4b-86e9-64dc3ebe0dee", + "type": "pulumi:providers:aws", + "created": "2024-03-12T14:47:33.125779Z", + "modified": "2024-03-12T14:47:33.125779Z" + }, + { + "urn": "urn:pulumi:test::iam-user::aws:iam/user:User::awsUserResource", + "custom": true, + "id": "example-user", + "type": "aws:iam/user:User", + "inputs": { + "__defaults": [ + "forceDestroy", + "path" + ], + "forceDestroy": false, + "name": "example-user", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:user/example-user", + "forceDestroy": false, + "id": "example-user", + "name": "example-user", + "path": "/", + "tags": {}, + "tagsAll": {}, + "uniqueId": "AIDAY65FYVYP5WXXCKWS3" + }, + "parent": "urn:pulumi:test::iam-user::pulumi:pulumi:Stack::iam-user-test", + "provider": "urn:pulumi:test::iam-user::pulumi:providers:aws::default::fdec30a7-3752-4c4b-86e9-64dc3ebe0dee", + "propertyDependencies": { + "name": null + }, + "created": "2024-03-12T14:47:35.246666Z", + "modified": "2024-03-12T14:47:35.246666Z" + }, + { + "urn": "urn:pulumi:test::iam-user::aws:iam/policy:Policy::awsUserPolicyResource", + "custom": true, + "id": "arn:aws:iam::616138583583:policy/example-policy", + "type": "aws:iam/policy:Policy", + "inputs": { + "__defaults": [ + "path" + ], + "description": "example-policy-desc", + "name": "example-policy", + "path": "/", + "policy": "{ \"Version\": \"2012-10-17\", \"Statement\": [ { \"Action\": \"s3:*\", \"Resource\": \"*\", \"Effect\": \"Allow\" } ] }" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:policy/example-policy", + "description": "example-policy-desc", + "id": "arn:aws:iam::616138583583:policy/example-policy", + "name": "example-policy", + "namePrefix": "", + "path": "/", + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Resource\":\"*\"}],\"Version\":\"2012-10-17\"}", + "policyId": "ANPAY65FYVYPVIZUMVXCE", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::iam-user::pulumi:pulumi:Stack::iam-user-test", + "provider": "urn:pulumi:test::iam-user::pulumi:providers:aws::default::fdec30a7-3752-4c4b-86e9-64dc3ebe0dee", + "propertyDependencies": { + "description": null, + "name": null, + "policy": null + }, + "created": "2024-03-12T14:47:35.442998Z", + "modified": "2024-03-12T14:47:35.442998Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/state.json deleted file mode 100755 index b7c17d12929..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/iam-user/5.42.0/state.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T14:47:35.443204Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:DN08DEtyd9E=:v1:+drRQQ0Gq/2hsA8m:/yL+6WieOo57HsbOgLCguCvtjXX+yQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::pulumi:pulumi:Stack::iam-user-p-it-venelins-m-iam-user-f931f18e", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T14:47:31.415448Z", - "modified": "2024-03-12T14:47:31.415448Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::pulumi:providers:aws::default", - "custom": true, - "id": "fdec30a7-3752-4c4b-86e9-64dc3ebe0dee", - "type": "pulumi:providers:aws", - "created": "2024-03-12T14:47:33.125779Z", - "modified": "2024-03-12T14:47:33.125779Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::aws:iam/user:User::awsUserResource", - "custom": true, - "id": "example-user", - "type": "aws:iam/user:User", - "inputs": { - "__defaults": [ - "forceDestroy", - "path" - ], - "forceDestroy": false, - "name": "example-user", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:user/example-user", - "forceDestroy": false, - "id": "example-user", - "name": "example-user", - "path": "/", - "tags": {}, - "tagsAll": {}, - "uniqueId": "AIDAY65FYVYP5WXXCKWS3" - }, - "parent": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::pulumi:pulumi:Stack::iam-user-p-it-venelins-m-iam-user-f931f18e", - "provider": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::pulumi:providers:aws::default::fdec30a7-3752-4c4b-86e9-64dc3ebe0dee", - "propertyDependencies": { - "name": null - }, - "created": "2024-03-12T14:47:35.246666Z", - "modified": "2024-03-12T14:47:35.246666Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::aws:iam/policy:Policy::awsUserPolicyResource", - "custom": true, - "id": "arn:aws:iam::616138583583:policy/example-policy", - "type": "aws:iam/policy:Policy", - "inputs": { - "__defaults": [ - "path" - ], - "description": "example-policy-desc", - "name": "example-policy", - "path": "/", - "policy": "{ \"Version\": \"2012-10-17\", \"Statement\": [ { \"Action\": \"s3:*\", \"Resource\": \"*\", \"Effect\": \"Allow\" } ] }" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:policy/example-policy", - "description": "example-policy-desc", - "id": "arn:aws:iam::616138583583:policy/example-policy", - "name": "example-policy", - "namePrefix": "", - "path": "/", - "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Resource\":\"*\"}],\"Version\":\"2012-10-17\"}", - "policyId": "ANPAY65FYVYPVIZUMVXCE", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::pulumi:pulumi:Stack::iam-user-p-it-venelins-m-iam-user-f931f18e", - "provider": "urn:pulumi:p-it-venelins-m-iam-user-f931f18e::iam-user::pulumi:providers:aws::default::fdec30a7-3752-4c4b-86e9-64dc3ebe0dee", - "propertyDependencies": { - "description": null, - "name": null, - "policy": null - }, - "created": "2024-03-12T14:47:35.442998Z", - "modified": "2024-03-12T14:47:35.442998Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/stack.json new file mode 100755 index 00000000000..e83ecc0ab0a --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/stack.json @@ -0,0 +1,560 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-12-05T17:16:13.661056-05:00", + "magic": "060e346e56b968da7d1109b35f68fe9dadf011be9df57433ba381dc14e492284", + "version": "v3.95.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:wlO/Z2RRAPU=:v1:AumMM4VhuG2vMgUp:8CE3mAwLWZOu7ejIcV2PQkNQFCEjNQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-12-05T22:15:49.679823Z", + "modified": "2023-12-05T22:15:49.679823Z", + "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" + }, + { + "urn": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0", + "custom": true, + "id": "a64dabbe-c860-4475-abd5-257d6b1f729c", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "version": "5.42.0" + }, + "outputs": { + "region": "us-west-2", + "version": "5.42.0" + }, + "created": "2023-12-05T22:15:51.363996Z", + "modified": "2023-12-05T22:15:51.363996Z" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole", + "custom": true, + "id": "awsBatchServiceRoleRole-e1ec0d1", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"batch.amazonaws.com\"\n }\n }\n ]\n}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "awsBatchServiceRoleRole-e1ec0d1", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/awsBatchServiceRoleRole-e1ec0d1", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"batch.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-12-05T22:15:52Z", + "description": "", + "forceDetachPolicies": false, + "id": "awsBatchServiceRoleRole-e1ec0d1", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "awsBatchServiceRoleRole-e1ec0d1", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYPRWLQPUITK" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2023-12-05T22:15:52.692757Z", + "modified": "2023-12-05T22:15:52.692757Z", + "sourcePosition": "project:///index.ts#38,19" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:iam/role:Role::ecsInstanceRoleRole", + "custom": true, + "id": "ecsInstanceRoleRole-8540893", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "ecsInstanceRoleRole-8540893", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/ecsInstanceRoleRole-8540893", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-12-05T22:15:52Z", + "description": "", + "forceDetachPolicies": false, + "id": "ecsInstanceRoleRole-8540893", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "ecsInstanceRoleRole-8540893", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYPVN5JT4RCP" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2023-12-05T22:15:52.69392Z", + "modified": "2023-12-05T22:15:52.69392Z", + "sourcePosition": "project:///index.ts#14,25" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:iam/rolePolicyAttachment:RolePolicyAttachment::awsBatchServiceRoleRolePolicyAttachment", + "custom": true, + "id": "awsBatchServiceRoleRole-e1ec0d1-20231205221552770900000001", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole", + "role": "awsBatchServiceRoleRole-e1ec0d1" + }, + "outputs": { + "id": "awsBatchServiceRoleRole-e1ec0d1-20231205221552770900000001", + "policyArn": "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole", + "role": "awsBatchServiceRoleRole-e1ec0d1" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "dependencies": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" + ], + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" + ] + }, + "created": "2023-12-05T22:15:52.803846Z", + "modified": "2023-12-05T22:15:52.803846Z", + "sourcePosition": "project:///index.ts#42,31" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:iam/rolePolicyAttachment:RolePolicyAttachment::ecsInstanceRoleRolePolicyAttachment", + "custom": true, + "id": "ecsInstanceRoleRole-8540893-20231205221552777200000002", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role", + "role": "ecsInstanceRoleRole-8540893" + }, + "outputs": { + "id": "ecsInstanceRoleRole-8540893-20231205221552777200000002", + "policyArn": "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role", + "role": "ecsInstanceRoleRole-8540893" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "dependencies": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" + ], + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" + ] + }, + "created": "2023-12-05T22:15:52.822694Z", + "modified": "2023-12-05T22:15:52.822694Z", + "sourcePosition": "project:///index.ts#18,29" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:iam/instanceProfile:InstanceProfile::ecsInstanceRoleInstanceProfile", + "custom": true, + "id": "ecsInstanceRoleInstanceProfile-912858a", + "type": "aws:iam/instanceProfile:InstanceProfile", + "inputs": { + "__defaults": [ + "name", + "path" + ], + "name": "ecsInstanceRoleInstanceProfile-912858a", + "path": "/", + "role": "ecsInstanceRoleRole-8540893" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:instance-profile/ecsInstanceRoleInstanceProfile-912858a", + "createDate": "2023-12-05T22:15:52Z", + "id": "ecsInstanceRoleInstanceProfile-912858a", + "name": "ecsInstanceRoleInstanceProfile-912858a", + "namePrefix": "", + "path": "/", + "role": "ecsInstanceRoleRole-8540893", + "tags": {}, + "tagsAll": {}, + "uniqueId": "AIPAY65FYVYPSVVP7VTHQ" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "dependencies": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" + ], + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "role": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" + ] + }, + "created": "2023-12-05T22:15:52.994988Z", + "modified": "2023-12-05T22:15:52.994988Z", + "sourcePosition": "project:///index.ts#23,28" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:ec2/vpc:Vpc::sampleVpc", + "custom": true, + "id": "vpc-05e191df2eca9eda7", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "enableDnsSupport", + "instanceTenancy" + ], + "cidrBlock": "10.1.0.0/16", + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-05e191df2eca9eda7", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.1.0.0/16", + "defaultNetworkAclId": "acl-033707e35c56b30de", + "defaultRouteTableId": "rtb-0cbec2e3a16e31a34", + "defaultSecurityGroupId": "sg-020b3587fbca162a3", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": false, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-05e191df2eca9eda7", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-0cbec2e3a16e31a34", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "cidrBlock": null + }, + "created": "2023-12-05T22:15:54.65335Z", + "modified": "2023-12-05T22:15:54.65335Z", + "sourcePosition": "project:///index.ts#56,13" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:ec2/securityGroup:SecurityGroup::sampleSecurityGroup", + "custom": true, + "id": "sg-0bb51dcade107992e", + "type": "aws:ec2/securityGroup:SecurityGroup", + "inputs": { + "__defaults": [ + "name", + "revokeRulesOnDelete" + ], + "description": "Managed by Pulumi", + "egress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "0.0.0.0/0" + ], + "fromPort": 0, + "protocol": "-1", + "self": false, + "toPort": 0 + } + ], + "name": "sampleSecurityGroup-30c6afa", + "revokeRulesOnDelete": false + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-0bb51dcade107992e", + "description": "Managed by Pulumi", + "egress": [ + { + "cidrBlocks": [ + "0.0.0.0/0" + ], + "description": "", + "fromPort": 0, + "ipv6CidrBlocks": [], + "prefixListIds": [], + "protocol": "-1", + "securityGroups": [], + "self": false, + "toPort": 0 + } + ], + "id": "sg-0bb51dcade107992e", + "ingress": [], + "name": "sampleSecurityGroup-30c6afa", + "namePrefix": "", + "ownerId": "616138583583", + "revokeRulesOnDelete": false, + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-4b82e033" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "description": null, + "egress": null + }, + "created": "2023-12-05T22:15:55.133505Z", + "modified": "2023-12-05T22:15:55.133505Z", + "sourcePosition": "project:///index.ts#47,12" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:ec2/subnet:Subnet::sampleSubnet", + "custom": true, + "id": "subnet-07f3a862bd9c5f1a3", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "cidrBlock": "10.1.1.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-05e191df2eca9eda7" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-07f3a862bd9c5f1a3", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "availabilityZoneId": "usw2-az2", + "cidrBlock": "10.1.1.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-07f3a862bd9c5f1a3", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-05e191df2eca9eda7" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "dependencies": [ + "urn:pulumi:test::job-queue::aws:ec2/vpc:Vpc::sampleVpc" + ], + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::job-queue::aws:ec2/vpc:Vpc::sampleVpc" + ] + }, + "created": "2023-12-05T22:15:55.305581Z", + "modified": "2023-12-05T22:15:55.305581Z", + "sourcePosition": "project:///index.ts#58,16" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:batch/computeEnvironment:ComputeEnvironment::sampleComputeEnvironment", + "custom": true, + "id": "terraform-20231205221555324200000003", + "type": "aws:batch/computeEnvironment:ComputeEnvironment", + "inputs": { + "__defaults": [ + "state" + ], + "computeResources": { + "__defaults": [], + "instanceRole": "arn:aws:iam::616138583583:instance-profile/ecsInstanceRoleInstanceProfile-912858a", + "instanceTypes": [ + "c4.large" + ], + "maxVcpus": 16, + "minVcpus": 0, + "securityGroupIds": [ + "sg-0bb51dcade107992e" + ], + "subnets": [ + "subnet-07f3a862bd9c5f1a3" + ], + "type": "EC2" + }, + "serviceRole": "arn:aws:iam::616138583583:role/awsBatchServiceRoleRole-e1ec0d1", + "state": "ENABLED", + "type": "MANAGED" + }, + "outputs": { + "arn": "arn:aws:batch:us-west-2:616138583583:compute-environment/terraform-20231205221555324200000003", + "computeEnvironmentName": "terraform-20231205221555324200000003", + "computeEnvironmentNamePrefix": "terraform-", + "computeResources": { + "allocationStrategy": "", + "bidPercentage": 0, + "desiredVcpus": 0, + "ec2Configuration": { + "imageIdOverride": "", + "imageType": "ECS_AL2" + }, + "ec2KeyPair": "", + "imageId": "", + "instanceRole": "arn:aws:iam::616138583583:instance-profile/ecsInstanceRoleInstanceProfile-912858a", + "instanceTypes": [ + "c4.large" + ], + "launchTemplate": null, + "maxVcpus": 16, + "minVcpus": 0, + "securityGroupIds": [ + "sg-0bb51dcade107992e" + ], + "spotIamFleetRole": "", + "subnets": [ + "subnet-07f3a862bd9c5f1a3" + ], + "tags": {}, + "type": "EC2" + }, + "ecsClusterArn": "arn:aws:ecs:us-west-2:616138583583:cluster/terraform-20231205221555324200000003_Batch_d7f1d17c-69bc-3f27-9caf-2d417d13db83", + "eksConfiguration": null, + "id": "terraform-20231205221555324200000003", + "serviceRole": "arn:aws:iam::616138583583:role/awsBatchServiceRoleRole-e1ec0d1", + "state": "ENABLED", + "status": "VALID", + "statusReason": "ComputeEnvironment Healthy", + "tags": {}, + "tagsAll": {}, + "type": "MANAGED" + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "dependencies": [ + "urn:pulumi:test::job-queue::aws:iam/instanceProfile:InstanceProfile::ecsInstanceRoleInstanceProfile", + "urn:pulumi:test::job-queue::aws:ec2/securityGroup:SecurityGroup::sampleSecurityGroup", + "urn:pulumi:test::job-queue::aws:ec2/subnet:Subnet::sampleSubnet", + "urn:pulumi:test::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" + ], + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "computeResources": [ + "urn:pulumi:test::job-queue::aws:iam/instanceProfile:InstanceProfile::ecsInstanceRoleInstanceProfile", + "urn:pulumi:test::job-queue::aws:ec2/securityGroup:SecurityGroup::sampleSecurityGroup", + "urn:pulumi:test::job-queue::aws:ec2/subnet:Subnet::sampleSubnet" + ], + "serviceRole": [ + "urn:pulumi:test::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" + ], + "type": null + }, + "created": "2023-12-05T22:16:03.180503Z", + "modified": "2023-12-05T22:16:03.180503Z", + "sourcePosition": "project:///index.ts#63,28" + }, + { + "urn": "urn:pulumi:test::job-queue::aws:batch/jobQueue:JobQueue::testQueue", + "custom": true, + "id": "arn:aws:batch:us-west-2:616138583583:job-queue/testQueue-91d66b0", + "type": "aws:batch/jobQueue:JobQueue", + "inputs": { + "__defaults": [ + "name" + ], + "computeEnvironments": [ + "arn:aws:batch:us-west-2:616138583583:compute-environment/terraform-20231205221555324200000003" + ], + "name": "testQueue-91d66b0", + "priority": 1, + "state": "ENABLED" + }, + "outputs": { + "arn": "arn:aws:batch:us-west-2:616138583583:job-queue/testQueue-91d66b0", + "computeEnvironments": [ + "arn:aws:batch:us-west-2:616138583583:compute-environment/terraform-20231205221555324200000003" + ], + "id": "arn:aws:batch:us-west-2:616138583583:job-queue/testQueue-91d66b0", + "name": "testQueue-91d66b0", + "priority": 1, + "schedulingPolicyArn": "", + "state": "ENABLED", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::job-queue::pulumi:pulumi:Stack::job-queue-test", + "dependencies": [ + "urn:pulumi:test::job-queue::aws:batch/computeEnvironment:ComputeEnvironment::sampleComputeEnvironment" + ], + "provider": "urn:pulumi:test::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", + "propertyDependencies": { + "computeEnvironments": [ + "urn:pulumi:test::job-queue::aws:batch/computeEnvironment:ComputeEnvironment::sampleComputeEnvironment" + ], + "priority": null, + "state": null + }, + "created": "2023-12-05T22:16:13.66089Z", + "modified": "2023-12-05T22:16:13.66089Z", + "sourcePosition": "project:///index.ts#78,18" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/state.json deleted file mode 100755 index 5b24fa9f4cd..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/job-queue/5.42.0/state.json +++ /dev/null @@ -1,560 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-12-05T17:16:13.661056-05:00", - "magic": "060e346e56b968da7d1109b35f68fe9dadf011be9df57433ba381dc14e492284", - "version": "v3.95.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:wlO/Z2RRAPU=:v1:AumMM4VhuG2vMgUp:8CE3mAwLWZOu7ejIcV2PQkNQFCEjNQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-12-05T22:15:49.679823Z", - "modified": "2023-12-05T22:15:49.679823Z", - "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0", - "custom": true, - "id": "a64dabbe-c860-4475-abd5-257d6b1f729c", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "version": "5.42.0" - }, - "outputs": { - "region": "us-west-2", - "version": "5.42.0" - }, - "created": "2023-12-05T22:15:51.363996Z", - "modified": "2023-12-05T22:15:51.363996Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole", - "custom": true, - "id": "awsBatchServiceRoleRole-e1ec0d1", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"batch.amazonaws.com\"\n }\n }\n ]\n}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "awsBatchServiceRoleRole-e1ec0d1", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/awsBatchServiceRoleRole-e1ec0d1", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"batch.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-12-05T22:15:52Z", - "description": "", - "forceDetachPolicies": false, - "id": "awsBatchServiceRoleRole-e1ec0d1", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "awsBatchServiceRoleRole-e1ec0d1", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYPRWLQPUITK" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2023-12-05T22:15:52.692757Z", - "modified": "2023-12-05T22:15:52.692757Z", - "sourcePosition": "project:///index.ts#38,19" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::ecsInstanceRoleRole", - "custom": true, - "id": "ecsInstanceRoleRole-8540893", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "ecsInstanceRoleRole-8540893", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/ecsInstanceRoleRole-8540893", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ec2.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-12-05T22:15:52Z", - "description": "", - "forceDetachPolicies": false, - "id": "ecsInstanceRoleRole-8540893", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "ecsInstanceRoleRole-8540893", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYPVN5JT4RCP" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2023-12-05T22:15:52.69392Z", - "modified": "2023-12-05T22:15:52.69392Z", - "sourcePosition": "project:///index.ts#14,25" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/rolePolicyAttachment:RolePolicyAttachment::awsBatchServiceRoleRolePolicyAttachment", - "custom": true, - "id": "awsBatchServiceRoleRole-e1ec0d1-20231205221552770900000001", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole", - "role": "awsBatchServiceRoleRole-e1ec0d1" - }, - "outputs": { - "id": "awsBatchServiceRoleRole-e1ec0d1-20231205221552770900000001", - "policyArn": "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole", - "role": "awsBatchServiceRoleRole-e1ec0d1" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" - ], - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" - ] - }, - "created": "2023-12-05T22:15:52.803846Z", - "modified": "2023-12-05T22:15:52.803846Z", - "sourcePosition": "project:///index.ts#42,31" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/rolePolicyAttachment:RolePolicyAttachment::ecsInstanceRoleRolePolicyAttachment", - "custom": true, - "id": "ecsInstanceRoleRole-8540893-20231205221552777200000002", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role", - "role": "ecsInstanceRoleRole-8540893" - }, - "outputs": { - "id": "ecsInstanceRoleRole-8540893-20231205221552777200000002", - "policyArn": "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role", - "role": "ecsInstanceRoleRole-8540893" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" - ], - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" - ] - }, - "created": "2023-12-05T22:15:52.822694Z", - "modified": "2023-12-05T22:15:52.822694Z", - "sourcePosition": "project:///index.ts#18,29" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/instanceProfile:InstanceProfile::ecsInstanceRoleInstanceProfile", - "custom": true, - "id": "ecsInstanceRoleInstanceProfile-912858a", - "type": "aws:iam/instanceProfile:InstanceProfile", - "inputs": { - "__defaults": [ - "name", - "path" - ], - "name": "ecsInstanceRoleInstanceProfile-912858a", - "path": "/", - "role": "ecsInstanceRoleRole-8540893" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:instance-profile/ecsInstanceRoleInstanceProfile-912858a", - "createDate": "2023-12-05T22:15:52Z", - "id": "ecsInstanceRoleInstanceProfile-912858a", - "name": "ecsInstanceRoleInstanceProfile-912858a", - "namePrefix": "", - "path": "/", - "role": "ecsInstanceRoleRole-8540893", - "tags": {}, - "tagsAll": {}, - "uniqueId": "AIPAY65FYVYPSVVP7VTHQ" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" - ], - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "role": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::ecsInstanceRoleRole" - ] - }, - "created": "2023-12-05T22:15:52.994988Z", - "modified": "2023-12-05T22:15:52.994988Z", - "sourcePosition": "project:///index.ts#23,28" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/vpc:Vpc::sampleVpc", - "custom": true, - "id": "vpc-05e191df2eca9eda7", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "enableDnsSupport", - "instanceTenancy" - ], - "cidrBlock": "10.1.0.0/16", - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-05e191df2eca9eda7", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.1.0.0/16", - "defaultNetworkAclId": "acl-033707e35c56b30de", - "defaultRouteTableId": "rtb-0cbec2e3a16e31a34", - "defaultSecurityGroupId": "sg-020b3587fbca162a3", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": false, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-05e191df2eca9eda7", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-0cbec2e3a16e31a34", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "cidrBlock": null - }, - "created": "2023-12-05T22:15:54.65335Z", - "modified": "2023-12-05T22:15:54.65335Z", - "sourcePosition": "project:///index.ts#56,13" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/securityGroup:SecurityGroup::sampleSecurityGroup", - "custom": true, - "id": "sg-0bb51dcade107992e", - "type": "aws:ec2/securityGroup:SecurityGroup", - "inputs": { - "__defaults": [ - "name", - "revokeRulesOnDelete" - ], - "description": "Managed by Pulumi", - "egress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "0.0.0.0/0" - ], - "fromPort": 0, - "protocol": "-1", - "self": false, - "toPort": 0 - } - ], - "name": "sampleSecurityGroup-30c6afa", - "revokeRulesOnDelete": false - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-0bb51dcade107992e", - "description": "Managed by Pulumi", - "egress": [ - { - "cidrBlocks": [ - "0.0.0.0/0" - ], - "description": "", - "fromPort": 0, - "ipv6CidrBlocks": [], - "prefixListIds": [], - "protocol": "-1", - "securityGroups": [], - "self": false, - "toPort": 0 - } - ], - "id": "sg-0bb51dcade107992e", - "ingress": [], - "name": "sampleSecurityGroup-30c6afa", - "namePrefix": "", - "ownerId": "616138583583", - "revokeRulesOnDelete": false, - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-4b82e033" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "description": null, - "egress": null - }, - "created": "2023-12-05T22:15:55.133505Z", - "modified": "2023-12-05T22:15:55.133505Z", - "sourcePosition": "project:///index.ts#47,12" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/subnet:Subnet::sampleSubnet", - "custom": true, - "id": "subnet-07f3a862bd9c5f1a3", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "cidrBlock": "10.1.1.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-05e191df2eca9eda7" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-07f3a862bd9c5f1a3", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "availabilityZoneId": "usw2-az2", - "cidrBlock": "10.1.1.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-07f3a862bd9c5f1a3", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-05e191df2eca9eda7" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/vpc:Vpc::sampleVpc" - ], - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/vpc:Vpc::sampleVpc" - ] - }, - "created": "2023-12-05T22:15:55.305581Z", - "modified": "2023-12-05T22:15:55.305581Z", - "sourcePosition": "project:///index.ts#58,16" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:batch/computeEnvironment:ComputeEnvironment::sampleComputeEnvironment", - "custom": true, - "id": "terraform-20231205221555324200000003", - "type": "aws:batch/computeEnvironment:ComputeEnvironment", - "inputs": { - "__defaults": [ - "state" - ], - "computeResources": { - "__defaults": [], - "instanceRole": "arn:aws:iam::616138583583:instance-profile/ecsInstanceRoleInstanceProfile-912858a", - "instanceTypes": [ - "c4.large" - ], - "maxVcpus": 16, - "minVcpus": 0, - "securityGroupIds": [ - "sg-0bb51dcade107992e" - ], - "subnets": [ - "subnet-07f3a862bd9c5f1a3" - ], - "type": "EC2" - }, - "serviceRole": "arn:aws:iam::616138583583:role/awsBatchServiceRoleRole-e1ec0d1", - "state": "ENABLED", - "type": "MANAGED" - }, - "outputs": { - "arn": "arn:aws:batch:us-west-2:616138583583:compute-environment/terraform-20231205221555324200000003", - "computeEnvironmentName": "terraform-20231205221555324200000003", - "computeEnvironmentNamePrefix": "terraform-", - "computeResources": { - "allocationStrategy": "", - "bidPercentage": 0, - "desiredVcpus": 0, - "ec2Configuration": { - "imageIdOverride": "", - "imageType": "ECS_AL2" - }, - "ec2KeyPair": "", - "imageId": "", - "instanceRole": "arn:aws:iam::616138583583:instance-profile/ecsInstanceRoleInstanceProfile-912858a", - "instanceTypes": [ - "c4.large" - ], - "launchTemplate": null, - "maxVcpus": 16, - "minVcpus": 0, - "securityGroupIds": [ - "sg-0bb51dcade107992e" - ], - "spotIamFleetRole": "", - "subnets": [ - "subnet-07f3a862bd9c5f1a3" - ], - "tags": {}, - "type": "EC2" - }, - "ecsClusterArn": "arn:aws:ecs:us-west-2:616138583583:cluster/terraform-20231205221555324200000003_Batch_d7f1d17c-69bc-3f27-9caf-2d417d13db83", - "eksConfiguration": null, - "id": "terraform-20231205221555324200000003", - "serviceRole": "arn:aws:iam::616138583583:role/awsBatchServiceRoleRole-e1ec0d1", - "state": "ENABLED", - "status": "VALID", - "statusReason": "ComputeEnvironment Healthy", - "tags": {}, - "tagsAll": {}, - "type": "MANAGED" - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/instanceProfile:InstanceProfile::ecsInstanceRoleInstanceProfile", - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/securityGroup:SecurityGroup::sampleSecurityGroup", - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/subnet:Subnet::sampleSubnet", - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" - ], - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "computeResources": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/instanceProfile:InstanceProfile::ecsInstanceRoleInstanceProfile", - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/securityGroup:SecurityGroup::sampleSecurityGroup", - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:ec2/subnet:Subnet::sampleSubnet" - ], - "serviceRole": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:iam/role:Role::awsBatchServiceRoleRole" - ], - "type": null - }, - "created": "2023-12-05T22:16:03.180503Z", - "modified": "2023-12-05T22:16:03.180503Z", - "sourcePosition": "project:///index.ts#63,28" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:batch/jobQueue:JobQueue::testQueue", - "custom": true, - "id": "arn:aws:batch:us-west-2:616138583583:job-queue/testQueue-91d66b0", - "type": "aws:batch/jobQueue:JobQueue", - "inputs": { - "__defaults": [ - "name" - ], - "computeEnvironments": [ - "arn:aws:batch:us-west-2:616138583583:compute-environment/terraform-20231205221555324200000003" - ], - "name": "testQueue-91d66b0", - "priority": 1, - "state": "ENABLED" - }, - "outputs": { - "arn": "arn:aws:batch:us-west-2:616138583583:job-queue/testQueue-91d66b0", - "computeEnvironments": [ - "arn:aws:batch:us-west-2:616138583583:compute-environment/terraform-20231205221555324200000003" - ], - "id": "arn:aws:batch:us-west-2:616138583583:job-queue/testQueue-91d66b0", - "name": "testQueue-91d66b0", - "priority": 1, - "schedulingPolicyArn": "", - "state": "ENABLED", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:pulumi:Stack::job-queue-p-it-antons-mac-job-queue-6b7e7e1e", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:batch/computeEnvironment:ComputeEnvironment::sampleComputeEnvironment" - ], - "provider": "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::pulumi:providers:aws::default_5_42_0::a64dabbe-c860-4475-abd5-257d6b1f729c", - "propertyDependencies": { - "computeEnvironments": [ - "urn:pulumi:p-it-antons-mac-job-queue-6b7e7e1e::job-queue::aws:batch/computeEnvironment:ComputeEnvironment::sampleComputeEnvironment" - ], - "priority": null, - "state": null - }, - "created": "2023-12-05T22:16:13.66089Z", - "modified": "2023-12-05T22:16:13.66089Z", - "sourcePosition": "project:///index.ts#78,18" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/stack.json new file mode 100755 index 00000000000..b899e4e93ab --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/stack.json @@ -0,0 +1,80 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:27:06.788819-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:sMVhdCR06iA=:v1:IX6donHbT39biNIQ:oL5Py4dnnUdPoQAY+D4M6gHKJf9YXw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_kms_key_Key_1::pulumi:pulumi:Stack::aws_kms_key_Key_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:27:03.210982Z", + "modified": "2023-11-10T22:27:03.210982Z" + }, + { + "urn": "urn:pulumi:test::aws_kms_key_Key_1::pulumi:providers:aws::default", + "custom": true, + "id": "0670132b-1108-4834-b319-b67eebdfeb7c", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:27:04.726522Z", + "modified": "2023-11-10T22:27:04.726522Z" + }, + { + "urn": "urn:pulumi:test::aws_kms_key_Key_1::aws:kms/key:Key::a", + "custom": true, + "id": "7085f966-4bed-4480-a64b-bc3c91773751", + "type": "aws:kms/key:Key", + "inputs": { + "__defaults": [ + "bypassPolicyLockoutSafetyCheck", + "customerMasterKeySpec", + "enableKeyRotation", + "isEnabled", + "keyUsage" + ], + "bypassPolicyLockoutSafetyCheck": false, + "customerMasterKeySpec": "SYMMETRIC_DEFAULT", + "deletionWindowInDays": 10, + "description": "KMS key 1", + "enableKeyRotation": false, + "isEnabled": true, + "keyUsage": "ENCRYPT_DECRYPT" + }, + "outputs": { + "arn": "arn:aws:kms:us-west-2:616138583583:key/7085f966-4bed-4480-a64b-bc3c91773751", + "bypassPolicyLockoutSafetyCheck": false, + "customKeyStoreId": "", + "customerMasterKeySpec": "SYMMETRIC_DEFAULT", + "deletionWindowInDays": 10, + "description": "KMS key 1", + "enableKeyRotation": false, + "id": "7085f966-4bed-4480-a64b-bc3c91773751", + "isEnabled": true, + "keyId": "7085f966-4bed-4480-a64b-bc3c91773751", + "keyUsage": "ENCRYPT_DECRYPT", + "multiRegion": false, + "policy": "{\"Id\":\"key-default-1\",\"Statement\":[{\"Action\":\"kms:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::616138583583:root\"},\"Resource\":\"*\",\"Sid\":\"Enable IAM User Permissions\"}],\"Version\":\"2012-10-17\"}", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_kms_key_Key_1::pulumi:pulumi:Stack::aws_kms_key_Key_1-test", + "provider": "urn:pulumi:test::aws_kms_key_Key_1::pulumi:providers:aws::default::0670132b-1108-4834-b319-b67eebdfeb7c", + "propertyDependencies": { + "deletionWindowInDays": null, + "description": null + }, + "created": "2023-11-10T22:27:06.788636Z", + "modified": "2023-11-10T22:27:06.788636Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/state.json deleted file mode 100755 index 37df3984932..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/kms-key/5.42.0/state.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:27:06.788819-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:sMVhdCR06iA=:v1:IX6donHbT39biNIQ:oL5Py4dnnUdPoQAY+D4M6gHKJf9YXw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-kms-key-41804c50::aws_kms_key_Key_1::pulumi:pulumi:Stack::aws_kms_key_Key_1-p-it-antons-mac-kms-key-41804c50", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:27:03.210982Z", - "modified": "2023-11-10T22:27:03.210982Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-kms-key-41804c50::aws_kms_key_Key_1::pulumi:providers:aws::default", - "custom": true, - "id": "0670132b-1108-4834-b319-b67eebdfeb7c", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:27:04.726522Z", - "modified": "2023-11-10T22:27:04.726522Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-kms-key-41804c50::aws_kms_key_Key_1::aws:kms/key:Key::a", - "custom": true, - "id": "7085f966-4bed-4480-a64b-bc3c91773751", - "type": "aws:kms/key:Key", - "inputs": { - "__defaults": [ - "bypassPolicyLockoutSafetyCheck", - "customerMasterKeySpec", - "enableKeyRotation", - "isEnabled", - "keyUsage" - ], - "bypassPolicyLockoutSafetyCheck": false, - "customerMasterKeySpec": "SYMMETRIC_DEFAULT", - "deletionWindowInDays": 10, - "description": "KMS key 1", - "enableKeyRotation": false, - "isEnabled": true, - "keyUsage": "ENCRYPT_DECRYPT" - }, - "outputs": { - "arn": "arn:aws:kms:us-west-2:616138583583:key/7085f966-4bed-4480-a64b-bc3c91773751", - "bypassPolicyLockoutSafetyCheck": false, - "customKeyStoreId": "", - "customerMasterKeySpec": "SYMMETRIC_DEFAULT", - "deletionWindowInDays": 10, - "description": "KMS key 1", - "enableKeyRotation": false, - "id": "7085f966-4bed-4480-a64b-bc3c91773751", - "isEnabled": true, - "keyId": "7085f966-4bed-4480-a64b-bc3c91773751", - "keyUsage": "ENCRYPT_DECRYPT", - "multiRegion": false, - "policy": "{\"Id\":\"key-default-1\",\"Statement\":[{\"Action\":\"kms:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::616138583583:root\"},\"Resource\":\"*\",\"Sid\":\"Enable IAM User Permissions\"}],\"Version\":\"2012-10-17\"}", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-kms-key-41804c50::aws_kms_key_Key_1::pulumi:pulumi:Stack::aws_kms_key_Key_1-p-it-antons-mac-kms-key-41804c50", - "provider": "urn:pulumi:p-it-antons-mac-kms-key-41804c50::aws_kms_key_Key_1::pulumi:providers:aws::default::0670132b-1108-4834-b319-b67eebdfeb7c", - "propertyDependencies": { - "deletionWindowInDays": null, - "description": null - }, - "created": "2023-11-10T22:27:06.788636Z", - "modified": "2023-11-10T22:27:06.788636Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/stack.json new file mode 100755 index 00000000000..2bf9d136183 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/stack.json @@ -0,0 +1,129 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:59:05.075652-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:7qfZ4pQNjbM=:v1:rFQ+HjkTS4MXSgZG:JYQw7c6F5ugfqGsRniKfnaHZTy9ttQ==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::lambda-layer-new::pulumi:pulumi:Stack::lambda-layer-new-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "outputs": { + "layerArn": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", + "layerSize": 236 + }, + "created": "2023-11-10T22:58:57.007568Z", + "modified": "2023-11-10T22:58:57.007568Z", + "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" + }, + { + "urn": "urn:pulumi:test::lambda-layer-new::pulumi:providers:aws::prov", + "custom": true, + "id": "54d0f22d-0538-4b5a-8ede-41e1befd4752", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "outputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::lambda-layer-new::pulumi:pulumi:Stack::lambda-layer-new-test", + "propertyDependencies": { + "region": null, + "skipCredentialsValidation": null, + "skipMetadataApiCheck": null, + "skipRegionValidation": null + }, + "created": "2023-11-10T22:58:58.565395Z", + "modified": "2023-11-10T22:58:58.565395Z", + "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" + }, + { + "urn": "urn:pulumi:test::lambda-layer-new::aws:lambda/layerVersion:LayerVersion::my-layer-version", + "custom": true, + "id": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", + "type": "aws:lambda/layerVersion:LayerVersion", + "inputs": { + "__defaults": [ + "skipDestroy" + ], + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "fd60d6666d78aeb7725928f9b92129b682f188a66573523e6795928d0a97cd77", + "text": "exports.handler = (e, c, cb) =\u003e cb(null, {statusCode: 200, body: 'Hello, world!'});" + } + }, + "hash": "b898ebe846ff6543102dd399b89309fad766b5a1620bdb18c08b234b0b9bbd8a" + }, + "compatibleRuntimes": [ + "nodejs10.x", + "nodejs12.x" + ], + "layerName": "lambda_layer_name", + "skipDestroy": false + }, + "outputs": { + "arn": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "fd60d6666d78aeb7725928f9b92129b682f188a66573523e6795928d0a97cd77", + "text": "exports.handler = (e, c, cb) =\u003e cb(null, {statusCode: 200, body: 'Hello, world!'});" + } + }, + "hash": "b898ebe846ff6543102dd399b89309fad766b5a1620bdb18c08b234b0b9bbd8a" + }, + "compatibleArchitectures": [], + "compatibleRuntimes": [ + "nodejs10.x", + "nodejs12.x" + ], + "createdDate": "2023-11-10T22:59:04.850+0000", + "description": "", + "id": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", + "layerArn": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name", + "layerName": "lambda_layer_name", + "licenseInfo": "", + "signingJobArn": "", + "signingProfileVersionArn": "", + "skipDestroy": false, + "sourceCodeHash": "yIGkchJOBl4WngdvqxG31xQS90gp7Zfmtqqp4T24JM0=", + "sourceCodeSize": 236, + "version": "11" + }, + "parent": "urn:pulumi:test::lambda-layer-new::pulumi:pulumi:Stack::lambda-layer-new-test", + "provider": "urn:pulumi:test::lambda-layer-new::pulumi:providers:aws::prov::54d0f22d-0538-4b5a-8ede-41e1befd4752", + "propertyDependencies": { + "code": null, + "compatibleRuntimes": null, + "layerName": null + }, + "created": "2023-11-10T22:59:05.063925Z", + "modified": "2023-11-10T22:59:05.063925Z", + "sourcePosition": "project:///index.ts#10,13" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/state.json deleted file mode 100755 index 21ec5b1bd21..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/lambda-layer-new/5.42.0/state.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:59:05.075652-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:7qfZ4pQNjbM=:v1:rFQ+HjkTS4MXSgZG:JYQw7c6F5ugfqGsRniKfnaHZTy9ttQ==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-lambda-lay-8cf36131::lambda-layer-new::pulumi:pulumi:Stack::lambda-layer-new-p-it-antons-mac-lambda-lay-8cf36131", - "custom": false, - "type": "pulumi:pulumi:Stack", - "outputs": { - "layerArn": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", - "layerSize": 236 - }, - "created": "2023-11-10T22:58:57.007568Z", - "modified": "2023-11-10T22:58:57.007568Z", - "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-lambda-lay-8cf36131::lambda-layer-new::pulumi:providers:aws::prov", - "custom": true, - "id": "54d0f22d-0538-4b5a-8ede-41e1befd4752", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "outputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-lambda-lay-8cf36131::lambda-layer-new::pulumi:pulumi:Stack::lambda-layer-new-p-it-antons-mac-lambda-lay-8cf36131", - "propertyDependencies": { - "region": null, - "skipCredentialsValidation": null, - "skipMetadataApiCheck": null, - "skipRegionValidation": null - }, - "created": "2023-11-10T22:58:58.565395Z", - "modified": "2023-11-10T22:58:58.565395Z", - "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-lambda-lay-8cf36131::lambda-layer-new::aws:lambda/layerVersion:LayerVersion::my-layer-version", - "custom": true, - "id": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", - "type": "aws:lambda/layerVersion:LayerVersion", - "inputs": { - "__defaults": [ - "skipDestroy" - ], - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "fd60d6666d78aeb7725928f9b92129b682f188a66573523e6795928d0a97cd77", - "text": "exports.handler = (e, c, cb) => cb(null, {statusCode: 200, body: 'Hello, world!'});" - } - }, - "hash": "b898ebe846ff6543102dd399b89309fad766b5a1620bdb18c08b234b0b9bbd8a" - }, - "compatibleRuntimes": [ - "nodejs10.x", - "nodejs12.x" - ], - "layerName": "lambda_layer_name", - "skipDestroy": false - }, - "outputs": { - "arn": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "fd60d6666d78aeb7725928f9b92129b682f188a66573523e6795928d0a97cd77", - "text": "exports.handler = (e, c, cb) => cb(null, {statusCode: 200, body: 'Hello, world!'});" - } - }, - "hash": "b898ebe846ff6543102dd399b89309fad766b5a1620bdb18c08b234b0b9bbd8a" - }, - "compatibleArchitectures": [], - "compatibleRuntimes": [ - "nodejs10.x", - "nodejs12.x" - ], - "createdDate": "2023-11-10T22:59:04.850+0000", - "description": "", - "id": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name:11", - "layerArn": "arn:aws:lambda:us-west-2:616138583583:layer:lambda_layer_name", - "layerName": "lambda_layer_name", - "licenseInfo": "", - "signingJobArn": "", - "signingProfileVersionArn": "", - "skipDestroy": false, - "sourceCodeHash": "yIGkchJOBl4WngdvqxG31xQS90gp7Zfmtqqp4T24JM0=", - "sourceCodeSize": 236, - "version": "11" - }, - "parent": "urn:pulumi:p-it-antons-mac-lambda-lay-8cf36131::lambda-layer-new::pulumi:pulumi:Stack::lambda-layer-new-p-it-antons-mac-lambda-lay-8cf36131", - "provider": "urn:pulumi:p-it-antons-mac-lambda-lay-8cf36131::lambda-layer-new::pulumi:providers:aws::prov::54d0f22d-0538-4b5a-8ede-41e1befd4752", - "propertyDependencies": { - "code": null, - "compatibleRuntimes": null, - "layerName": null - }, - "created": "2023-11-10T22:59:05.063925Z", - "modified": "2023-11-10T22:59:05.063925Z", - "sourcePosition": "project:///index.ts#10,13" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/stack.json new file mode 100755 index 00000000000..8ec3fa06e97 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/stack.json @@ -0,0 +1,624 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T14:57:07.844325Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:ShryTD2jbxc=:v1:N1Ury7KT+hPHUjFr:szSKaSwOkoQPNvytYRXeN3EcWiuqrw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T14:53:50.395891Z", + "modified": "2024-03-12T14:53:50.395891Z" + }, + { + "urn": "urn:pulumi:test::lb::pulumi:providers:aws::default", + "custom": true, + "id": "14890eae-be82-431f-a869-18247d7cf8ff", + "type": "pulumi:providers:aws", + "created": "2024-03-12T14:53:52.051105Z", + "modified": "2024-03-12T14:53:52.051105Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:ec2/internetGateway:InternetGateway::myInternetGateway", + "custom": true, + "id": "igw-07d9e8352ca8b47ae", + "type": "aws:ec2/internetGateway:InternetGateway", + "inputs": { + "__defaults": [] + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000}}", + "arn": "arn:aws:ec2:us-west-2:616138583583:internet-gateway/igw-07d9e8352ca8b47ae", + "id": "igw-07d9e8352ca8b47ae", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {}, + "vpcId": "" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "created": "2024-03-12T14:53:54.647659Z", + "modified": "2024-03-12T14:53:54.647659Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc", + "custom": true, + "id": "vpc-0c99ce9c17a0eaf74", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "instanceTenancy" + ], + "cidrBlock": "10.0.0.0/16", + "enableDnsHostnames": true, + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-0c99ce9c17a0eaf74", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.0.0.0/16", + "defaultNetworkAclId": "acl-004261483060189e0", + "defaultRouteTableId": "rtb-06f1a9c767a8761fd", + "defaultSecurityGroupId": "sg-0dc5d594267b7ac59", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": true, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-0c99ce9c17a0eaf74", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-06f1a9c767a8761fd", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "cidrBlock": null, + "enableDnsHostnames": null, + "enableDnsSupport": null + }, + "created": "2024-03-12T14:54:07.594243Z", + "modified": "2024-03-12T14:54:07.594243Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:ec2/internetGatewayAttachment:InternetGatewayAttachment::myVPCGatewayAttachment", + "custom": true, + "id": "igw-07d9e8352ca8b47ae:vpc-0c99ce9c17a0eaf74", + "type": "aws:ec2/internetGatewayAttachment:InternetGatewayAttachment", + "inputs": { + "__defaults": [], + "internetGatewayId": "igw-07d9e8352ca8b47ae", + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000}}", + "id": "igw-07d9e8352ca8b47ae:vpc-0c99ce9c17a0eaf74", + "internetGatewayId": "igw-07d9e8352ca8b47ae", + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:ec2/internetGateway:InternetGateway::myInternetGateway", + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "internetGatewayId": [ + "urn:pulumi:test::lb::aws:ec2/internetGateway:InternetGateway::myInternetGateway" + ], + "vpcId": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ] + }, + "created": "2024-03-12T14:54:08.53787Z", + "modified": "2024-03-12T14:54:08.53787Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:ec2/subnet:Subnet::exampleSubnet1", + "custom": true, + "id": "subnet-04fc9e30e1df99dcc", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "cidrBlock": "10.0.1.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-04fc9e30e1df99dcc", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "availabilityZoneId": "usw2-az2", + "cidrBlock": "10.0.1.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-04fc9e30e1df99dcc", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ] + }, + "created": "2024-03-12T14:54:08.70224Z", + "modified": "2024-03-12T14:54:08.70224Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:ec2/subnet:Subnet::exampleSubnet2", + "custom": true, + "id": "subnet-0c90fdea73c1e6595", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "cidrBlock": "10.0.2.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0c90fdea73c1e6595", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "availabilityZoneId": "usw2-az1", + "cidrBlock": "10.0.2.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-0c90fdea73c1e6595", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ] + }, + "created": "2024-03-12T14:54:08.778271Z", + "modified": "2024-03-12T14:54:08.778271Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:lb/targetGroup:TargetGroup::exampleTargetGroup", + "custom": true, + "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", + "type": "aws:lb/targetGroup:TargetGroup", + "inputs": { + "__defaults": [ + "connectionTermination", + "lambdaMultiValueHeadersEnabled", + "proxyProtocolV2", + "slowStart", + "targetType" + ], + "connectionTermination": false, + "lambdaMultiValueHeadersEnabled": false, + "name": "example-target-group", + "port": 80, + "protocol": "HTTP", + "proxyProtocolV2": false, + "slowStart": 0, + "targetType": "instance", + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "outputs": { + "arn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", + "arnSuffix": "targetgroup/example-target-group/25fcc37f8bb38bf4", + "connectionTermination": false, + "deregistrationDelay": 300, + "healthCheck": { + "enabled": true, + "healthyThreshold": 5, + "interval": 30, + "matcher": "200", + "path": "/", + "port": "traffic-port", + "protocol": "HTTP", + "timeout": 5, + "unhealthyThreshold": 2 + }, + "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", + "ipAddressType": "ipv4", + "lambdaMultiValueHeadersEnabled": false, + "loadBalancingAlgorithmType": "round_robin", + "loadBalancingCrossZoneEnabled": "use_load_balancer_configuration", + "name": "example-target-group", + "port": 80, + "protocol": "HTTP", + "protocolVersion": "HTTP1", + "proxyProtocolV2": false, + "slowStart": 0, + "stickiness": { + "cookieDuration": 86400, + "cookieName": "", + "enabled": false, + "type": "lb_cookie" + }, + "tags": {}, + "tagsAll": {}, + "targetFailovers": [], + "targetType": "instance", + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "name": null, + "port": null, + "protocol": null, + "vpcId": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ] + }, + "created": "2024-03-12T14:54:10.310464Z", + "modified": "2024-03-12T14:54:10.310464Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:ec2/securityGroup:SecurityGroup::exampleSecurityGroup", + "custom": true, + "id": "sg-050483f973da37d41", + "type": "aws:ec2/securityGroup:SecurityGroup", + "inputs": { + "__defaults": [ + "revokeRulesOnDelete" + ], + "description": "Managed by Pulumi", + "egress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "0.0.0.0/0" + ], + "fromPort": 0, + "protocol": "-1", + "self": false, + "toPort": 0 + } + ], + "ingress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "0.0.0.0/0" + ], + "fromPort": 80, + "protocol": "tcp", + "self": false, + "toPort": 80 + } + ], + "name": "example-security-group", + "revokeRulesOnDelete": false, + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-050483f973da37d41", + "description": "Managed by Pulumi", + "egress": [ + { + "cidrBlocks": [ + "0.0.0.0/0" + ], + "description": "", + "fromPort": 0, + "ipv6CidrBlocks": [], + "prefixListIds": [], + "protocol": "-1", + "securityGroups": [], + "self": false, + "toPort": 0 + } + ], + "id": "sg-050483f973da37d41", + "ingress": [ + { + "cidrBlocks": [ + "0.0.0.0/0" + ], + "description": "", + "fromPort": 80, + "ipv6CidrBlocks": [], + "prefixListIds": [], + "protocol": "tcp", + "securityGroups": [], + "self": false, + "toPort": 80 + } + ], + "name": "example-security-group", + "namePrefix": "", + "ownerId": "616138583583", + "revokeRulesOnDelete": false, + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0c99ce9c17a0eaf74" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "description": null, + "egress": null, + "ingress": null, + "name": null, + "vpcId": [ + "urn:pulumi:test::lb::aws:ec2/vpc:Vpc::exampleVpc" + ] + }, + "created": "2024-03-12T14:54:11.507832Z", + "modified": "2024-03-12T14:54:11.507832Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:lb/loadBalancer:LoadBalancer::exampleLoadBalancer", + "custom": true, + "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", + "type": "aws:lb/loadBalancer:LoadBalancer", + "inputs": { + "__defaults": [ + "desyncMitigationMode", + "dropInvalidHeaderFields", + "enableCrossZoneLoadBalancing", + "enableDeletionProtection", + "enableHttp2", + "enableTlsVersionAndCipherSuiteHeaders", + "enableWafFailOpen", + "enableXffClientPort", + "idleTimeout", + "preserveHostHeader", + "xffHeaderProcessingMode" + ], + "desyncMitigationMode": "defensive", + "dropInvalidHeaderFields": false, + "enableCrossZoneLoadBalancing": false, + "enableDeletionProtection": false, + "enableHttp2": true, + "enableTlsVersionAndCipherSuiteHeaders": false, + "enableWafFailOpen": false, + "enableXffClientPort": false, + "idleTimeout": 60, + "internal": false, + "loadBalancerType": "application", + "name": "example-load-balancer", + "preserveHostHeader": false, + "securityGroups": [ + "sg-050483f973da37d41" + ], + "subnets": [ + "subnet-04fc9e30e1df99dcc", + "subnet-0c90fdea73c1e6595" + ], + "xffHeaderProcessingMode": "append" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", + "accessLogs": { + "bucket": "", + "enabled": false, + "prefix": "" + }, + "arn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", + "arnSuffix": "app/example-load-balancer/3ce0ba59bd351b07", + "customerOwnedIpv4Pool": "", + "desyncMitigationMode": "defensive", + "dnsName": "example-load-balancer-1596252727.us-west-2.elb.amazonaws.com", + "dropInvalidHeaderFields": false, + "enableCrossZoneLoadBalancing": true, + "enableDeletionProtection": false, + "enableHttp2": true, + "enableTlsVersionAndCipherSuiteHeaders": false, + "enableWafFailOpen": false, + "enableXffClientPort": false, + "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", + "idleTimeout": 60, + "internal": false, + "ipAddressType": "ipv4", + "loadBalancerType": "application", + "name": "example-load-balancer", + "preserveHostHeader": false, + "securityGroups": [ + "sg-050483f973da37d41" + ], + "subnetMappings": [ + { + "allocationId": "", + "ipv6Address": "", + "outpostId": "", + "privateIpv4Address": "", + "subnetId": "subnet-0c90fdea73c1e6595" + }, + { + "allocationId": "", + "ipv6Address": "", + "outpostId": "", + "privateIpv4Address": "", + "subnetId": "subnet-04fc9e30e1df99dcc" + } + ], + "subnets": [ + "subnet-0c90fdea73c1e6595", + "subnet-04fc9e30e1df99dcc" + ], + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0c99ce9c17a0eaf74", + "xffHeaderProcessingMode": "append", + "zoneId": "Z1H1FL5HABSF5" + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:ec2/securityGroup:SecurityGroup::exampleSecurityGroup", + "urn:pulumi:test::lb::aws:ec2/subnet:Subnet::exampleSubnet1", + "urn:pulumi:test::lb::aws:ec2/subnet:Subnet::exampleSubnet2" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "internal": null, + "loadBalancerType": null, + "name": null, + "securityGroups": [ + "urn:pulumi:test::lb::aws:ec2/securityGroup:SecurityGroup::exampleSecurityGroup" + ], + "subnets": [ + "urn:pulumi:test::lb::aws:ec2/subnet:Subnet::exampleSubnet1", + "urn:pulumi:test::lb::aws:ec2/subnet:Subnet::exampleSubnet2" + ] + }, + "created": "2024-03-12T14:57:06.923834Z", + "modified": "2024-03-12T14:57:06.923834Z" + }, + { + "urn": "urn:pulumi:test::lb::aws:lb/listener:Listener::exampleListener", + "custom": true, + "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:listener/app/example-load-balancer/3ce0ba59bd351b07/29ea7ffb381d82b3", + "type": "aws:lb/listener:Listener", + "inputs": { + "__defaults": [], + "defaultActions": [ + { + "__defaults": [], + "targetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", + "type": "forward" + } + ], + "loadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", + "port": 80, + "protocol": "HTTP" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"read\":600000000000}}", + "arn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:listener/app/example-load-balancer/3ce0ba59bd351b07/29ea7ffb381d82b3", + "defaultActions": [ + { + "authenticateCognito": null, + "authenticateOidc": null, + "fixedResponse": null, + "forward": null, + "order": 1, + "redirect": null, + "targetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", + "type": "forward" + } + ], + "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:listener/app/example-load-balancer/3ce0ba59bd351b07/29ea7ffb381d82b3", + "loadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", + "port": 80, + "protocol": "HTTP", + "sslPolicy": "", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::lb::pulumi:pulumi:Stack::lb-test", + "dependencies": [ + "urn:pulumi:test::lb::aws:lb/loadBalancer:LoadBalancer::exampleLoadBalancer", + "urn:pulumi:test::lb::aws:lb/targetGroup:TargetGroup::exampleTargetGroup" + ], + "provider": "urn:pulumi:test::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", + "propertyDependencies": { + "defaultActions": [ + "urn:pulumi:test::lb::aws:lb/targetGroup:TargetGroup::exampleTargetGroup" + ], + "loadBalancerArn": [ + "urn:pulumi:test::lb::aws:lb/loadBalancer:LoadBalancer::exampleLoadBalancer" + ], + "port": null, + "protocol": null + }, + "created": "2024-03-12T14:57:07.843779Z", + "modified": "2024-03-12T14:57:07.843779Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/state.json deleted file mode 100755 index e998675983b..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/lb/5.42.0/state.json +++ /dev/null @@ -1,624 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T14:57:07.844325Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:ShryTD2jbxc=:v1:N1Ury7KT+hPHUjFr:szSKaSwOkoQPNvytYRXeN3EcWiuqrw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T14:53:50.395891Z", - "modified": "2024-03-12T14:53:50.395891Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default", - "custom": true, - "id": "14890eae-be82-431f-a869-18247d7cf8ff", - "type": "pulumi:providers:aws", - "created": "2024-03-12T14:53:52.051105Z", - "modified": "2024-03-12T14:53:52.051105Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/internetGateway:InternetGateway::myInternetGateway", - "custom": true, - "id": "igw-07d9e8352ca8b47ae", - "type": "aws:ec2/internetGateway:InternetGateway", - "inputs": { - "__defaults": [] - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000,\"update\":1200000000000}}", - "arn": "arn:aws:ec2:us-west-2:616138583583:internet-gateway/igw-07d9e8352ca8b47ae", - "id": "igw-07d9e8352ca8b47ae", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {}, - "vpcId": "" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "created": "2024-03-12T14:53:54.647659Z", - "modified": "2024-03-12T14:53:54.647659Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc", - "custom": true, - "id": "vpc-0c99ce9c17a0eaf74", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "instanceTenancy" - ], - "cidrBlock": "10.0.0.0/16", - "enableDnsHostnames": true, - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-0c99ce9c17a0eaf74", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.0.0.0/16", - "defaultNetworkAclId": "acl-004261483060189e0", - "defaultRouteTableId": "rtb-06f1a9c767a8761fd", - "defaultSecurityGroupId": "sg-0dc5d594267b7ac59", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": true, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-0c99ce9c17a0eaf74", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-06f1a9c767a8761fd", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "cidrBlock": null, - "enableDnsHostnames": null, - "enableDnsSupport": null - }, - "created": "2024-03-12T14:54:07.594243Z", - "modified": "2024-03-12T14:54:07.594243Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/internetGatewayAttachment:InternetGatewayAttachment::myVPCGatewayAttachment", - "custom": true, - "id": "igw-07d9e8352ca8b47ae:vpc-0c99ce9c17a0eaf74", - "type": "aws:ec2/internetGatewayAttachment:InternetGatewayAttachment", - "inputs": { - "__defaults": [], - "internetGatewayId": "igw-07d9e8352ca8b47ae", - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1200000000000,\"delete\":1200000000000}}", - "id": "igw-07d9e8352ca8b47ae:vpc-0c99ce9c17a0eaf74", - "internetGatewayId": "igw-07d9e8352ca8b47ae", - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/internetGateway:InternetGateway::myInternetGateway", - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "internetGatewayId": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/internetGateway:InternetGateway::myInternetGateway" - ], - "vpcId": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ] - }, - "created": "2024-03-12T14:54:08.53787Z", - "modified": "2024-03-12T14:54:08.53787Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/subnet:Subnet::exampleSubnet1", - "custom": true, - "id": "subnet-04fc9e30e1df99dcc", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "cidrBlock": "10.0.1.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-04fc9e30e1df99dcc", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "availabilityZoneId": "usw2-az2", - "cidrBlock": "10.0.1.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-04fc9e30e1df99dcc", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ] - }, - "created": "2024-03-12T14:54:08.70224Z", - "modified": "2024-03-12T14:54:08.70224Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/subnet:Subnet::exampleSubnet2", - "custom": true, - "id": "subnet-0c90fdea73c1e6595", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "cidrBlock": "10.0.2.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0c90fdea73c1e6595", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "availabilityZoneId": "usw2-az1", - "cidrBlock": "10.0.2.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-0c90fdea73c1e6595", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ] - }, - "created": "2024-03-12T14:54:08.778271Z", - "modified": "2024-03-12T14:54:08.778271Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/targetGroup:TargetGroup::exampleTargetGroup", - "custom": true, - "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", - "type": "aws:lb/targetGroup:TargetGroup", - "inputs": { - "__defaults": [ - "connectionTermination", - "lambdaMultiValueHeadersEnabled", - "proxyProtocolV2", - "slowStart", - "targetType" - ], - "connectionTermination": false, - "lambdaMultiValueHeadersEnabled": false, - "name": "example-target-group", - "port": 80, - "protocol": "HTTP", - "proxyProtocolV2": false, - "slowStart": 0, - "targetType": "instance", - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "outputs": { - "arn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", - "arnSuffix": "targetgroup/example-target-group/25fcc37f8bb38bf4", - "connectionTermination": false, - "deregistrationDelay": 300, - "healthCheck": { - "enabled": true, - "healthyThreshold": 5, - "interval": 30, - "matcher": "200", - "path": "/", - "port": "traffic-port", - "protocol": "HTTP", - "timeout": 5, - "unhealthyThreshold": 2 - }, - "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", - "ipAddressType": "ipv4", - "lambdaMultiValueHeadersEnabled": false, - "loadBalancingAlgorithmType": "round_robin", - "loadBalancingCrossZoneEnabled": "use_load_balancer_configuration", - "name": "example-target-group", - "port": 80, - "protocol": "HTTP", - "protocolVersion": "HTTP1", - "proxyProtocolV2": false, - "slowStart": 0, - "stickiness": { - "cookieDuration": 86400, - "cookieName": "", - "enabled": false, - "type": "lb_cookie" - }, - "tags": {}, - "tagsAll": {}, - "targetFailovers": [], - "targetType": "instance", - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "name": null, - "port": null, - "protocol": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ] - }, - "created": "2024-03-12T14:54:10.310464Z", - "modified": "2024-03-12T14:54:10.310464Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/securityGroup:SecurityGroup::exampleSecurityGroup", - "custom": true, - "id": "sg-050483f973da37d41", - "type": "aws:ec2/securityGroup:SecurityGroup", - "inputs": { - "__defaults": [ - "revokeRulesOnDelete" - ], - "description": "Managed by Pulumi", - "egress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "0.0.0.0/0" - ], - "fromPort": 0, - "protocol": "-1", - "self": false, - "toPort": 0 - } - ], - "ingress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "0.0.0.0/0" - ], - "fromPort": 80, - "protocol": "tcp", - "self": false, - "toPort": 80 - } - ], - "name": "example-security-group", - "revokeRulesOnDelete": false, - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-050483f973da37d41", - "description": "Managed by Pulumi", - "egress": [ - { - "cidrBlocks": [ - "0.0.0.0/0" - ], - "description": "", - "fromPort": 0, - "ipv6CidrBlocks": [], - "prefixListIds": [], - "protocol": "-1", - "securityGroups": [], - "self": false, - "toPort": 0 - } - ], - "id": "sg-050483f973da37d41", - "ingress": [ - { - "cidrBlocks": [ - "0.0.0.0/0" - ], - "description": "", - "fromPort": 80, - "ipv6CidrBlocks": [], - "prefixListIds": [], - "protocol": "tcp", - "securityGroups": [], - "self": false, - "toPort": 80 - } - ], - "name": "example-security-group", - "namePrefix": "", - "ownerId": "616138583583", - "revokeRulesOnDelete": false, - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0c99ce9c17a0eaf74" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "description": null, - "egress": null, - "ingress": null, - "name": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/vpc:Vpc::exampleVpc" - ] - }, - "created": "2024-03-12T14:54:11.507832Z", - "modified": "2024-03-12T14:54:11.507832Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/loadBalancer:LoadBalancer::exampleLoadBalancer", - "custom": true, - "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", - "type": "aws:lb/loadBalancer:LoadBalancer", - "inputs": { - "__defaults": [ - "desyncMitigationMode", - "dropInvalidHeaderFields", - "enableCrossZoneLoadBalancing", - "enableDeletionProtection", - "enableHttp2", - "enableTlsVersionAndCipherSuiteHeaders", - "enableWafFailOpen", - "enableXffClientPort", - "idleTimeout", - "preserveHostHeader", - "xffHeaderProcessingMode" - ], - "desyncMitigationMode": "defensive", - "dropInvalidHeaderFields": false, - "enableCrossZoneLoadBalancing": false, - "enableDeletionProtection": false, - "enableHttp2": true, - "enableTlsVersionAndCipherSuiteHeaders": false, - "enableWafFailOpen": false, - "enableXffClientPort": false, - "idleTimeout": 60, - "internal": false, - "loadBalancerType": "application", - "name": "example-load-balancer", - "preserveHostHeader": false, - "securityGroups": [ - "sg-050483f973da37d41" - ], - "subnets": [ - "subnet-04fc9e30e1df99dcc", - "subnet-0c90fdea73c1e6595" - ], - "xffHeaderProcessingMode": "append" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", - "accessLogs": { - "bucket": "", - "enabled": false, - "prefix": "" - }, - "arn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", - "arnSuffix": "app/example-load-balancer/3ce0ba59bd351b07", - "customerOwnedIpv4Pool": "", - "desyncMitigationMode": "defensive", - "dnsName": "example-load-balancer-1596252727.us-west-2.elb.amazonaws.com", - "dropInvalidHeaderFields": false, - "enableCrossZoneLoadBalancing": true, - "enableDeletionProtection": false, - "enableHttp2": true, - "enableTlsVersionAndCipherSuiteHeaders": false, - "enableWafFailOpen": false, - "enableXffClientPort": false, - "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", - "idleTimeout": 60, - "internal": false, - "ipAddressType": "ipv4", - "loadBalancerType": "application", - "name": "example-load-balancer", - "preserveHostHeader": false, - "securityGroups": [ - "sg-050483f973da37d41" - ], - "subnetMappings": [ - { - "allocationId": "", - "ipv6Address": "", - "outpostId": "", - "privateIpv4Address": "", - "subnetId": "subnet-0c90fdea73c1e6595" - }, - { - "allocationId": "", - "ipv6Address": "", - "outpostId": "", - "privateIpv4Address": "", - "subnetId": "subnet-04fc9e30e1df99dcc" - } - ], - "subnets": [ - "subnet-0c90fdea73c1e6595", - "subnet-04fc9e30e1df99dcc" - ], - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0c99ce9c17a0eaf74", - "xffHeaderProcessingMode": "append", - "zoneId": "Z1H1FL5HABSF5" - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/securityGroup:SecurityGroup::exampleSecurityGroup", - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/subnet:Subnet::exampleSubnet1", - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/subnet:Subnet::exampleSubnet2" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "internal": null, - "loadBalancerType": null, - "name": null, - "securityGroups": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/securityGroup:SecurityGroup::exampleSecurityGroup" - ], - "subnets": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/subnet:Subnet::exampleSubnet1", - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:ec2/subnet:Subnet::exampleSubnet2" - ] - }, - "created": "2024-03-12T14:57:06.923834Z", - "modified": "2024-03-12T14:57:06.923834Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/listener:Listener::exampleListener", - "custom": true, - "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:listener/app/example-load-balancer/3ce0ba59bd351b07/29ea7ffb381d82b3", - "type": "aws:lb/listener:Listener", - "inputs": { - "__defaults": [], - "defaultActions": [ - { - "__defaults": [], - "targetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", - "type": "forward" - } - ], - "loadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", - "port": 80, - "protocol": "HTTP" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"read\":600000000000}}", - "arn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:listener/app/example-load-balancer/3ce0ba59bd351b07/29ea7ffb381d82b3", - "defaultActions": [ - { - "authenticateCognito": null, - "authenticateOidc": null, - "fixedResponse": null, - "forward": null, - "order": 1, - "redirect": null, - "targetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:targetgroup/example-target-group/25fcc37f8bb38bf4", - "type": "forward" - } - ], - "id": "arn:aws:elasticloadbalancing:us-west-2:616138583583:listener/app/example-load-balancer/3ce0ba59bd351b07/29ea7ffb381d82b3", - "loadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:616138583583:loadbalancer/app/example-load-balancer/3ce0ba59bd351b07", - "port": 80, - "protocol": "HTTP", - "sslPolicy": "", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:pulumi:Stack::lb-p-it-venelins-m-lb-feec30e7", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/loadBalancer:LoadBalancer::exampleLoadBalancer", - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/targetGroup:TargetGroup::exampleTargetGroup" - ], - "provider": "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::pulumi:providers:aws::default::14890eae-be82-431f-a869-18247d7cf8ff", - "propertyDependencies": { - "defaultActions": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/targetGroup:TargetGroup::exampleTargetGroup" - ], - "loadBalancerArn": [ - "urn:pulumi:p-it-venelins-m-lb-feec30e7::lb::aws:lb/loadBalancer:LoadBalancer::exampleLoadBalancer" - ], - "port": null, - "protocol": null - }, - "created": "2024-03-12T14:57:07.843779Z", - "modified": "2024-03-12T14:57:07.843779Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/stack.json new file mode 100755 index 00000000000..2913e186bb8 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/stack.json @@ -0,0 +1,618 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T18:01:53.863721-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:B/rwTSXsrAU=:v1:U6yBh8LzorZPE+s9:ixW68GcJHKlT0MV0+eKhckSQR4nmzw==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::LogGroup::pulumi:pulumi:Stack::LogGroup-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T23:01:34.8702Z", + "modified": "2023-11-10T23:01:34.8702Z", + "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" + }, + { + "urn": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov", + "custom": true, + "id": "cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "outputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::LogGroup::pulumi:pulumi:Stack::LogGroup-test", + "propertyDependencies": { + "region": null, + "skipCredentialsValidation": null, + "skipMetadataApiCheck": null, + "skipRegionValidation": null + }, + "created": "2023-11-10T23:01:36.527726Z", + "modified": "2023-11-10T23:01:36.527726Z", + "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup::test", + "custom": true, + "id": "test-d24a19f", + "type": "aws:cloudwatch/logGroup:LogGroup", + "inputs": { + "__defaults": [ + "name", + "retentionInDays", + "skipDestroy" + ], + "name": "test-d24a19f", + "retentionInDays": 0, + "skipDestroy": false + }, + "outputs": { + "arn": "arn:aws:logs:us-west-2:616138583583:log-group:test-d24a19f", + "id": "test-d24a19f", + "kmsKeyId": "", + "name": "test-d24a19f", + "namePrefix": "", + "retentionInDays": 0, + "skipDestroy": false, + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::LogGroup::pulumi:pulumi:Stack::LogGroup-test", + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "created": "2023-11-10T23:01:38.325422Z", + "modified": "2023-11-10T23:01:38.325422Z", + "sourcePosition": "project:///index.ts#21,18" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "custom": false, + "type": "aws:cloudwatch:LogGroupEventSubscription", + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup::test", + "created": "2023-11-10T23:01:38.337262Z", + "modified": "2023-11-10T23:01:38.337262Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/logGroupMixins.ts#83,9" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent", + "custom": true, + "id": "decodedEvent-072be75", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\",\"Sid\":\"\"}]}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "decodedEvent-072be75", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/decodedEvent-072be75", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-11-10T23:01:38Z", + "description": "", + "forceDetachPolicies": false, + "id": "decodedEvent-072be75", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "decodedEvent-072be75", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYPQSZRCDU3O" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2023-11-10T23:01:38.596175Z", + "modified": "2023-11-10T23:01:38.596175Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#304,20" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-019020e7", + "custom": true, + "id": "decodedEvent-072be75-20231110230138691100000001", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138691100000001", + "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.753385Z", + "modified": "2023-11-10T23:01:38.753385Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-e1a3786d", + "custom": true, + "id": "decodedEvent-072be75-20231110230138745000000002", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138745000000002", + "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.792161Z", + "modified": "2023-11-10T23:01:38.792161Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-6c156834", + "custom": true, + "id": "decodedEvent-072be75-20231110230138753800000004", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138753800000004", + "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.795358Z", + "modified": "2023-11-10T23:01:38.795358Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-b5aeb6b6", + "custom": true, + "id": "decodedEvent-072be75-20231110230138753100000003", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138753100000003", + "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.799863Z", + "modified": "2023-11-10T23:01:38.799863Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-a1de8170", + "custom": true, + "id": "decodedEvent-072be75-20231110230138765700000006", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138765700000006", + "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.803398Z", + "modified": "2023-11-10T23:01:38.803398Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-7cd09230", + "custom": true, + "id": "decodedEvent-072be75-20231110230138761200000005", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138761200000005", + "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.807157Z", + "modified": "2023-11-10T23:01:38.807157Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-4aaabb8e", + "custom": true, + "id": "decodedEvent-072be75-20231110230138767200000007", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138767200000007", + "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.817822Z", + "modified": "2023-11-10T23:01:38.817822Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-1b4caae3", + "custom": true, + "id": "decodedEvent-072be75-20231110230138778100000008", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138778100000008", + "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.822917Z", + "modified": "2023-11-10T23:01:38.822917Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-74d12784", + "custom": true, + "id": "decodedEvent-072be75-20231110230138787300000009", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", + "role": "decodedEvent-072be75" + }, + "outputs": { + "id": "decodedEvent-072be75-20231110230138787300000009", + "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", + "role": "decodedEvent-072be75" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ] + }, + "created": "2023-11-10T23:01:38.823033Z", + "modified": "2023-11-10T23:01:38.823033Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent", + "custom": true, + "id": "decodedEvent-a1af34a", + "type": "aws:lambda/function:Function", + "inputs": { + "__defaults": [ + "memorySize", + "name", + "packageType", + "publish", + "reservedConcurrentExecutions", + "skipDestroy" + ], + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "__index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "1e93f429628036afd43ea4176b7435b03db0cc7f9022774e92289c440e9760f9", + "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __decodeLogGroupEvent(__0) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, this: undefined, arguments: undefined }) {\n\nreturn function /*decodeLogGroupEvent*/(event) {\n return __awaiter(this, void 0, void 0, function* () {\n const zlib = yield Promise.resolve().then(() =\u003e require(\"zlib\"));\n const payload = Buffer.from(event.awslogs.data, \"base64\");\n return new Promise((resolve, reject) =\u003e {\n zlib.gunzip(payload, function (err, result) {\n if (err) {\n reject(err);\n }\n else {\n resolve(JSON.parse(result.toString(\"ascii\")));\n }\n });\n });\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) =\u003e __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Decoded event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0, __1, __2) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, handler: __f2, this: undefined, arguments: undefined }) {\n\nreturn (event, context, callback) =\u003e __awaiter(this, void 0, void 0, function* () {\n const decoded = yield decodeLogGroupEvent(event);\n yield handler(decoded, context, callback);\n });\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" + } + }, + "hash": "b1c2f47641af1c8d8b134a5968318709254d1fb680b8d28a956748d509513a6d" + }, + "handler": "__index.handler", + "memorySize": 128, + "name": "decodedEvent-a1af34a", + "packageType": "Zip", + "publish": false, + "reservedConcurrentExecutions": -1, + "role": "arn:aws:iam::616138583583:role/decodedEvent-072be75", + "runtime": "nodejs16.x", + "skipDestroy": false, + "timeout": 180 + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", + "architectures": [ + "x86_64" + ], + "arn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a", + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "__index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "1e93f429628036afd43ea4176b7435b03db0cc7f9022774e92289c440e9760f9", + "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __decodeLogGroupEvent(__0) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, this: undefined, arguments: undefined }) {\n\nreturn function /*decodeLogGroupEvent*/(event) {\n return __awaiter(this, void 0, void 0, function* () {\n const zlib = yield Promise.resolve().then(() =\u003e require(\"zlib\"));\n const payload = Buffer.from(event.awslogs.data, \"base64\");\n return new Promise((resolve, reject) =\u003e {\n zlib.gunzip(payload, function (err, result) {\n if (err) {\n reject(err);\n }\n else {\n resolve(JSON.parse(result.toString(\"ascii\")));\n }\n });\n });\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) =\u003e __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Decoded event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0, __1, __2) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, handler: __f2, this: undefined, arguments: undefined }) {\n\nreturn (event, context, callback) =\u003e __awaiter(this, void 0, void 0, function* () {\n const decoded = yield decodeLogGroupEvent(event);\n yield handler(decoded, context, callback);\n });\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" + } + }, + "hash": "b1c2f47641af1c8d8b134a5968318709254d1fb680b8d28a956748d509513a6d" + }, + "codeSigningConfigArn": "", + "deadLetterConfig": null, + "description": "", + "environment": null, + "ephemeralStorage": { + "size": 512 + }, + "fileSystemConfig": null, + "handler": "__index.handler", + "id": "decodedEvent-a1af34a", + "imageConfig": null, + "imageUri": "", + "invokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a/invocations", + "kmsKeyArn": "", + "lastModified": "2023-11-10T23:01:47.492+0000", + "layers": [], + "memorySize": 128, + "name": "decodedEvent-a1af34a", + "packageType": "Zip", + "publish": false, + "qualifiedArn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a:$LATEST", + "qualifiedInvokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a:$LATEST/invocations", + "reservedConcurrentExecutions": -1, + "role": "arn:aws:iam::616138583583:role/decodedEvent-072be75", + "runtime": "nodejs16.x", + "signingJobArn": "", + "signingProfileVersionArn": "", + "skipDestroy": false, + "snapStart": null, + "sourceCodeHash": "QAOUf8JcfQtsEnt80KkF9ogJiixAPOdVGYsRRBo4AXE=", + "sourceCodeSize": 882, + "tags": {}, + "tagsAll": {}, + "timeout": 180, + "tracingConfig": { + "mode": "PassThrough" + }, + "version": "$LATEST", + "vpcConfig": null + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "code": null, + "handler": null, + "role": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" + ], + "runtime": null, + "timeout": null + }, + "created": "2023-11-10T23:01:53.25634Z", + "modified": "2023-11-10T23:01:53.25634Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#389,9" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:cloudwatch/logSubscriptionFilter:LogSubscriptionFilter::decodedEvent", + "custom": true, + "id": "cwlsf-1806036895", + "type": "aws:cloudwatch/logSubscriptionFilter:LogSubscriptionFilter", + "inputs": { + "__defaults": [ + "distribution", + "name" + ], + "destinationArn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a", + "distribution": "ByLogStream", + "filterPattern": "", + "logGroup": "test-d24a19f", + "name": "decodedEvent-4c0221b" + }, + "outputs": { + "destinationArn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a", + "distribution": "ByLogStream", + "id": "cwlsf-1806036895", + "logGroup": "test-d24a19f", + "name": "decodedEvent-4c0221b" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent", + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "destinationArn": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent" + ], + "filterPattern": null, + "logGroup": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" + ] + }, + "created": "2023-11-10T23:01:53.79873Z", + "modified": "2023-11-10T23:01:53.79873Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/logGroupMixins.ts#102,38" + }, + { + "urn": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/permission:Permission::decodedEvent", + "custom": true, + "id": "decodedEvent-a135f14", + "type": "aws:lambda/permission:Permission", + "inputs": { + "__defaults": [ + "statementId" + ], + "action": "lambda:invokeFunction", + "function": "decodedEvent-a1af34a", + "principal": "logs.us-west-2.amazonaws.com", + "sourceArn": "arn:aws:logs:us-west-2:616138583583:log-group:test-d24a19f:*", + "statementId": "decodedEvent-a135f14" + }, + "outputs": { + "action": "lambda:invokeFunction", + "function": "decodedEvent-a1af34a", + "id": "decodedEvent-a135f14", + "principal": "logs.us-west-2.amazonaws.com", + "qualifier": "", + "sourceArn": "arn:aws:logs:us-west-2:616138583583:log-group:test-d24a19f:*", + "statementId": "decodedEvent-a135f14", + "statementIdPrefix": "" + }, + "parent": "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", + "dependencies": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent", + "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov", + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" + ], + "provider": "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", + "propertyDependencies": { + "action": null, + "function": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent" + ], + "principal": [ + "urn:pulumi:test::LogGroup::pulumi:providers:aws::prov" + ], + "sourceArn": [ + "urn:pulumi:test::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" + ] + }, + "created": "2023-11-10T23:01:53.863595Z", + "modified": "2023-11-10T23:01:53.863595Z", + "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/logGroupMixins.ts#95,27" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/state.json deleted file mode 100755 index 4bcbf13d6b8..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/logGroup/5.42.0/state.json +++ /dev/null @@ -1,618 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T18:01:53.863721-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:B/rwTSXsrAU=:v1:U6yBh8LzorZPE+s9:ixW68GcJHKlT0MV0+eKhckSQR4nmzw==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:pulumi:Stack::LogGroup-p-it-antons-mac-loggroup-728e4d34", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T23:01:34.8702Z", - "modified": "2023-11-10T23:01:34.8702Z", - "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov", - "custom": true, - "id": "cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "outputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:pulumi:Stack::LogGroup-p-it-antons-mac-loggroup-728e4d34", - "propertyDependencies": { - "region": null, - "skipCredentialsValidation": null, - "skipMetadataApiCheck": null, - "skipRegionValidation": null - }, - "created": "2023-11-10T23:01:36.527726Z", - "modified": "2023-11-10T23:01:36.527726Z", - "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup::test", - "custom": true, - "id": "test-d24a19f", - "type": "aws:cloudwatch/logGroup:LogGroup", - "inputs": { - "__defaults": [ - "name", - "retentionInDays", - "skipDestroy" - ], - "name": "test-d24a19f", - "retentionInDays": 0, - "skipDestroy": false - }, - "outputs": { - "arn": "arn:aws:logs:us-west-2:616138583583:log-group:test-d24a19f", - "id": "test-d24a19f", - "kmsKeyId": "", - "name": "test-d24a19f", - "namePrefix": "", - "retentionInDays": 0, - "skipDestroy": false, - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:pulumi:Stack::LogGroup-p-it-antons-mac-loggroup-728e4d34", - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "created": "2023-11-10T23:01:38.325422Z", - "modified": "2023-11-10T23:01:38.325422Z", - "sourcePosition": "project:///index.ts#21,18" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "custom": false, - "type": "aws:cloudwatch:LogGroupEventSubscription", - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup::test", - "created": "2023-11-10T23:01:38.337262Z", - "modified": "2023-11-10T23:01:38.337262Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/logGroupMixins.ts#83,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent", - "custom": true, - "id": "decodedEvent-072be75", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\",\"Sid\":\"\"}]}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "decodedEvent-072be75", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/decodedEvent-072be75", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-11-10T23:01:38Z", - "description": "", - "forceDetachPolicies": false, - "id": "decodedEvent-072be75", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "decodedEvent-072be75", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYPQSZRCDU3O" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2023-11-10T23:01:38.596175Z", - "modified": "2023-11-10T23:01:38.596175Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#304,20" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-019020e7", - "custom": true, - "id": "decodedEvent-072be75-20231110230138691100000001", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138691100000001", - "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.753385Z", - "modified": "2023-11-10T23:01:38.753385Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-e1a3786d", - "custom": true, - "id": "decodedEvent-072be75-20231110230138745000000002", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138745000000002", - "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.792161Z", - "modified": "2023-11-10T23:01:38.792161Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-6c156834", - "custom": true, - "id": "decodedEvent-072be75-20231110230138753800000004", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138753800000004", - "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.795358Z", - "modified": "2023-11-10T23:01:38.795358Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-b5aeb6b6", - "custom": true, - "id": "decodedEvent-072be75-20231110230138753100000003", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138753100000003", - "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.799863Z", - "modified": "2023-11-10T23:01:38.799863Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-a1de8170", - "custom": true, - "id": "decodedEvent-072be75-20231110230138765700000006", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138765700000006", - "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.803398Z", - "modified": "2023-11-10T23:01:38.803398Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-7cd09230", - "custom": true, - "id": "decodedEvent-072be75-20231110230138761200000005", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138761200000005", - "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.807157Z", - "modified": "2023-11-10T23:01:38.807157Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-4aaabb8e", - "custom": true, - "id": "decodedEvent-072be75-20231110230138767200000007", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138767200000007", - "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.817822Z", - "modified": "2023-11-10T23:01:38.817822Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-1b4caae3", - "custom": true, - "id": "decodedEvent-072be75-20231110230138778100000008", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138778100000008", - "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.822917Z", - "modified": "2023-11-10T23:01:38.822917Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::decodedEvent-74d12784", - "custom": true, - "id": "decodedEvent-072be75-20231110230138787300000009", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", - "role": "decodedEvent-072be75" - }, - "outputs": { - "id": "decodedEvent-072be75-20231110230138787300000009", - "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", - "role": "decodedEvent-072be75" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ] - }, - "created": "2023-11-10T23:01:38.823033Z", - "modified": "2023-11-10T23:01:38.823033Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent", - "custom": true, - "id": "decodedEvent-a1af34a", - "type": "aws:lambda/function:Function", - "inputs": { - "__defaults": [ - "memorySize", - "name", - "packageType", - "publish", - "reservedConcurrentExecutions", - "skipDestroy" - ], - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "__index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "1e93f429628036afd43ea4176b7435b03db0cc7f9022774e92289c440e9760f9", - "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __decodeLogGroupEvent(__0) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, this: undefined, arguments: undefined }) {\n\nreturn function /*decodeLogGroupEvent*/(event) {\n return __awaiter(this, void 0, void 0, function* () {\n const zlib = yield Promise.resolve().then(() => require(\"zlib\"));\n const payload = Buffer.from(event.awslogs.data, \"base64\");\n return new Promise((resolve, reject) => {\n zlib.gunzip(payload, function (err, result) {\n if (err) {\n reject(err);\n }\n else {\n resolve(JSON.parse(result.toString(\"ascii\")));\n }\n });\n });\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) => __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Decoded event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0, __1, __2) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, handler: __f2, this: undefined, arguments: undefined }) {\n\nreturn (event, context, callback) => __awaiter(this, void 0, void 0, function* () {\n const decoded = yield decodeLogGroupEvent(event);\n yield handler(decoded, context, callback);\n });\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" - } - }, - "hash": "b1c2f47641af1c8d8b134a5968318709254d1fb680b8d28a956748d509513a6d" - }, - "handler": "__index.handler", - "memorySize": 128, - "name": "decodedEvent-a1af34a", - "packageType": "Zip", - "publish": false, - "reservedConcurrentExecutions": -1, - "role": "arn:aws:iam::616138583583:role/decodedEvent-072be75", - "runtime": "nodejs16.x", - "skipDestroy": false, - "timeout": 180 - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a", - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "__index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "1e93f429628036afd43ea4176b7435b03db0cc7f9022774e92289c440e9760f9", - "text": "exports.handler = __f0;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __decodeLogGroupEvent(__0) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, this: undefined, arguments: undefined }) {\n\nreturn function /*decodeLogGroupEvent*/(event) {\n return __awaiter(this, void 0, void 0, function* () {\n const zlib = yield Promise.resolve().then(() => require(\"zlib\"));\n const payload = Buffer.from(event.awslogs.data, \"base64\");\n return new Promise((resolve, reject) => {\n zlib.gunzip(payload, function (err, result) {\n if (err) {\n reject(err);\n }\n else {\n resolve(JSON.parse(result.toString(\"ascii\")));\n }\n });\n });\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ __awaiter: __f1, this: undefined, arguments: undefined }) {\n\nreturn (event) => __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Decoded event: \" + JSON.stringify(event, null, 2));\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0, __1, __2) {\n return (function() {\n with({ __awaiter: __f1, decodeLogGroupEvent: __decodeLogGroupEvent, handler: __f2, this: undefined, arguments: undefined }) {\n\nreturn (event, context, callback) => __awaiter(this, void 0, void 0, function* () {\n const decoded = yield decodeLogGroupEvent(event);\n yield handler(decoded, context, callback);\n });\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" - } - }, - "hash": "b1c2f47641af1c8d8b134a5968318709254d1fb680b8d28a956748d509513a6d" - }, - "codeSigningConfigArn": "", - "deadLetterConfig": null, - "description": "", - "environment": null, - "ephemeralStorage": { - "size": 512 - }, - "fileSystemConfig": null, - "handler": "__index.handler", - "id": "decodedEvent-a1af34a", - "imageConfig": null, - "imageUri": "", - "invokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a/invocations", - "kmsKeyArn": "", - "lastModified": "2023-11-10T23:01:47.492+0000", - "layers": [], - "memorySize": 128, - "name": "decodedEvent-a1af34a", - "packageType": "Zip", - "publish": false, - "qualifiedArn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a:$LATEST", - "qualifiedInvokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a:$LATEST/invocations", - "reservedConcurrentExecutions": -1, - "role": "arn:aws:iam::616138583583:role/decodedEvent-072be75", - "runtime": "nodejs16.x", - "signingJobArn": "", - "signingProfileVersionArn": "", - "skipDestroy": false, - "snapStart": null, - "sourceCodeHash": "QAOUf8JcfQtsEnt80KkF9ogJiixAPOdVGYsRRBo4AXE=", - "sourceCodeSize": 882, - "tags": {}, - "tagsAll": {}, - "timeout": 180, - "tracingConfig": { - "mode": "PassThrough" - }, - "version": "$LATEST", - "vpcConfig": null - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "code": null, - "handler": null, - "role": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:iam/role:Role::decodedEvent" - ], - "runtime": null, - "timeout": null - }, - "created": "2023-11-10T23:01:53.25634Z", - "modified": "2023-11-10T23:01:53.25634Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#389,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:cloudwatch/logSubscriptionFilter:LogSubscriptionFilter::decodedEvent", - "custom": true, - "id": "cwlsf-1806036895", - "type": "aws:cloudwatch/logSubscriptionFilter:LogSubscriptionFilter", - "inputs": { - "__defaults": [ - "distribution", - "name" - ], - "destinationArn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a", - "distribution": "ByLogStream", - "filterPattern": "", - "logGroup": "test-d24a19f", - "name": "decodedEvent-4c0221b" - }, - "outputs": { - "destinationArn": "arn:aws:lambda:us-west-2:616138583583:function:decodedEvent-a1af34a", - "distribution": "ByLogStream", - "id": "cwlsf-1806036895", - "logGroup": "test-d24a19f", - "name": "decodedEvent-4c0221b" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent", - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "destinationArn": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent" - ], - "filterPattern": null, - "logGroup": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" - ] - }, - "created": "2023-11-10T23:01:53.79873Z", - "modified": "2023-11-10T23:01:53.79873Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/logGroupMixins.ts#102,38" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/permission:Permission::decodedEvent", - "custom": true, - "id": "decodedEvent-a135f14", - "type": "aws:lambda/permission:Permission", - "inputs": { - "__defaults": [ - "statementId" - ], - "action": "lambda:invokeFunction", - "function": "decodedEvent-a1af34a", - "principal": "logs.us-west-2.amazonaws.com", - "sourceArn": "arn:aws:logs:us-west-2:616138583583:log-group:test-d24a19f:*", - "statementId": "decodedEvent-a135f14" - }, - "outputs": { - "action": "lambda:invokeFunction", - "function": "decodedEvent-a1af34a", - "id": "decodedEvent-a135f14", - "principal": "logs.us-west-2.amazonaws.com", - "qualifier": "", - "sourceArn": "arn:aws:logs:us-west-2:616138583583:log-group:test-d24a19f:*", - "statementId": "decodedEvent-a135f14", - "statementIdPrefix": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription::decodedEvent", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent", - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov", - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" - ], - "provider": "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov::cf23d325-ba7b-4278-9c7d-6a94d5a69d36", - "propertyDependencies": { - "action": null, - "function": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup$aws:cloudwatch:LogGroupEventSubscription$aws:lambda/function:Function::decodedEvent" - ], - "principal": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::pulumi:providers:aws::prov" - ], - "sourceArn": [ - "urn:pulumi:p-it-antons-mac-loggroup-728e4d34::LogGroup::aws:cloudwatch/logGroup:LogGroup::test" - ] - }, - "created": "2023-11-10T23:01:53.863595Z", - "modified": "2023-11-10T23:01:53.863595Z", - "sourcePosition": "project:///node_modules/@pulumi/cloudwatch/logGroupMixins.ts#95,27" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/stack.json new file mode 100755 index 00000000000..0e4753e39ec --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/stack.json @@ -0,0 +1,735 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T18:04:12.196234-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:eIi9X5pcYA0=:v1:plzHPKIKC81PUIWo:FmYYIbMVI3ZX/mc2YTeu7WQIBgziWA==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::queue::pulumi:pulumi:Stack::queue-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "outputs": { + "bucketUrl": "s3://testbucket-db00f74", + "queueUrl": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a" + }, + "created": "2023-11-10T23:03:02.418268Z", + "modified": "2023-11-10T23:03:02.418268Z", + "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" + }, + { + "urn": "urn:pulumi:test::queue::pulumi:providers:aws::prov", + "custom": true, + "id": "612269ea-c4ab-4aed-bbcc-b5afba60c711", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "outputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::queue::pulumi:pulumi:Stack::queue-test", + "propertyDependencies": { + "region": null, + "skipCredentialsValidation": null, + "skipMetadataApiCheck": null, + "skipRegionValidation": null + }, + "created": "2023-11-10T23:03:04.10642Z", + "modified": "2023-11-10T23:03:04.10642Z", + "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" + }, + { + "urn": "urn:pulumi:test::queue::aws:s3/bucket:Bucket::testbucket", + "custom": true, + "id": "testbucket-db00f74", + "type": "aws:s3/bucket:Bucket", + "inputs": { + "__defaults": [ + "acl", + "bucket" + ], + "acl": "private", + "bucket": "testbucket-db00f74", + "forceDestroy": true, + "serverSideEncryptionConfiguration": { + "__defaults": [], + "rule": { + "__defaults": [], + "applyServerSideEncryptionByDefault": { + "__defaults": [], + "sseAlgorithm": "AES256" + } + } + } + }, + "outputs": { + "accelerationStatus": "", + "acl": "private", + "arn": "arn:aws:s3:::testbucket-db00f74", + "bucket": "testbucket-db00f74", + "bucketDomainName": "testbucket-db00f74.s3.amazonaws.com", + "bucketRegionalDomainName": "testbucket-db00f74.s3.us-west-2.amazonaws.com", + "corsRules": [], + "forceDestroy": true, + "grants": [], + "hostedZoneId": "Z3BJ6K6RIION7M", + "id": "testbucket-db00f74", + "lifecycleRules": [], + "loggings": [], + "objectLockConfiguration": null, + "region": "us-west-2", + "replicationConfiguration": null, + "requestPayer": "BucketOwner", + "serverSideEncryptionConfiguration": { + "rule": { + "applyServerSideEncryptionByDefault": { + "kmsMasterKeyId": "", + "sseAlgorithm": "AES256" + }, + "bucketKeyEnabled": false + } + }, + "tags": {}, + "tagsAll": {}, + "versioning": { + "enabled": false, + "mfaDelete": false + }, + "website": null + }, + "parent": "urn:pulumi:test::queue::pulumi:pulumi:Stack::queue-test", + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "forceDestroy": null, + "serverSideEncryptionConfiguration": null + }, + "created": "2023-11-10T23:03:08.706816Z", + "modified": "2023-11-10T23:03:08.706816Z", + "sourcePosition": "project:///index.ts#21,16" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue::queue", + "custom": true, + "id": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a", + "type": "aws:sqs/queue:Queue", + "inputs": { + "__defaults": [ + "contentBasedDeduplication", + "delaySeconds", + "fifoQueue", + "maxMessageSize", + "messageRetentionSeconds", + "name", + "receiveWaitTimeSeconds" + ], + "contentBasedDeduplication": false, + "delaySeconds": 0, + "fifoQueue": false, + "maxMessageSize": 262144, + "messageRetentionSeconds": 345600, + "name": "queue-6f3f78a", + "receiveWaitTimeSeconds": 0, + "visibilityTimeoutSeconds": 300 + }, + "outputs": { + "arn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", + "contentBasedDeduplication": false, + "deduplicationScope": "", + "delaySeconds": 0, + "fifoQueue": false, + "fifoThroughputLimit": "", + "id": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a", + "kmsDataKeyReusePeriodSeconds": 300, + "kmsMasterKeyId": "", + "maxMessageSize": 262144, + "messageRetentionSeconds": 345600, + "name": "queue-6f3f78a", + "namePrefix": "", + "policy": "", + "receiveWaitTimeSeconds": 0, + "redriveAllowPolicy": "", + "redrivePolicy": "", + "sqsManagedSseEnabled": true, + "tags": {}, + "tagsAll": {}, + "url": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a", + "visibilityTimeoutSeconds": 300 + }, + "parent": "urn:pulumi:test::queue::pulumi:pulumi:Stack::queue-test", + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "visibilityTimeoutSeconds": null + }, + "created": "2023-11-10T23:03:31.897457Z", + "modified": "2023-11-10T23:03:31.897457Z", + "sourcePosition": "project:///index.ts#32,15" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "custom": false, + "type": "aws:sqs:QueueEventSubscription", + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue::queue", + "created": "2023-11-10T23:03:31.918386Z", + "modified": "2023-11-10T23:03:31.918386Z", + "sourcePosition": "project:///node_modules/@pulumi/sqs/sqsMixins.ts#79,9" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription", + "custom": true, + "id": "subscription-493e917", + "type": "aws:iam/role:Role", + "inputs": { + "__defaults": [ + "forceDetachPolicies", + "maxSessionDuration", + "name", + "path" + ], + "assumeRolePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\",\"Sid\":\"\"}]}", + "forceDetachPolicies": false, + "maxSessionDuration": 3600, + "name": "subscription-493e917", + "path": "/" + }, + "outputs": { + "arn": "arn:aws:iam::616138583583:role/subscription-493e917", + "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "createDate": "2023-11-10T23:03:32Z", + "description": "", + "forceDetachPolicies": false, + "id": "subscription-493e917", + "inlinePolicies": [], + "managedPolicyArns": [], + "maxSessionDuration": 3600, + "name": "subscription-493e917", + "namePrefix": "", + "path": "/", + "roleLastUseds": [ + { + "lastUsedDate": "", + "region": "" + } + ], + "tags": {}, + "tagsAll": {}, + "uniqueId": "AROAY65FYVYP3LXMG5T3O" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "assumeRolePolicy": null + }, + "created": "2023-11-10T23:03:32.318812Z", + "modified": "2023-11-10T23:03:32.318812Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#304,20" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-e1a3786d", + "custom": true, + "id": "subscription-493e917-20231110230332436700000001", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332436700000001", + "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.578476Z", + "modified": "2023-11-10T23:03:32.578476Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-a1de8170", + "custom": true, + "id": "subscription-493e917-20231110230332533400000003", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332533400000003", + "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.597095Z", + "modified": "2023-11-10T23:03:32.597095Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-4aaabb8e", + "custom": true, + "id": "subscription-493e917-20231110230332521300000002", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332521300000002", + "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.597224Z", + "modified": "2023-11-10T23:03:32.597224Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-019020e7", + "custom": true, + "id": "subscription-493e917-20231110230332617800000006", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332617800000006", + "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.674436Z", + "modified": "2023-11-10T23:03:32.674436Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-74d12784", + "custom": true, + "id": "subscription-493e917-20231110230332617800000005", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332617800000005", + "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.681812Z", + "modified": "2023-11-10T23:03:32.681812Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-b5aeb6b6", + "custom": true, + "id": "subscription-493e917-20231110230332617800000004", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332617800000004", + "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.688605Z", + "modified": "2023-11-10T23:03:32.688605Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-6c156834", + "custom": true, + "id": "subscription-493e917-20231110230332632200000008", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332632200000008", + "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.698556Z", + "modified": "2023-11-10T23:03:32.698556Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-1b4caae3", + "custom": true, + "id": "subscription-493e917-20231110230332631900000007", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332631900000007", + "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.716979Z", + "modified": "2023-11-10T23:03:32.716979Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-7cd09230", + "custom": true, + "id": "subscription-493e917-20231110230332632300000009", + "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", + "inputs": { + "__defaults": [], + "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", + "role": "subscription-493e917" + }, + "outputs": { + "id": "subscription-493e917-20231110230332632300000009", + "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", + "role": "subscription-493e917" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "policyArn": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ] + }, + "created": "2023-11-10T23:03:32.717115Z", + "modified": "2023-11-10T23:03:32.717115Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription", + "custom": true, + "id": "subscription-f6e5ff0", + "type": "aws:lambda/function:Function", + "inputs": { + "__defaults": [ + "memorySize", + "name", + "packageType", + "publish", + "reservedConcurrentExecutions", + "skipDestroy" + ], + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "__index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "7eacbc8ccbbce964612bb7f7442881a10a173aa0c56e075c0ef19cb87c9ff744", + "text": "exports.handler = __f0;\n\nvar __bucket = {};\nvar __bucket_id_proto = {};\nObject.defineProperty(__f2, \"prototype\", { value: __bucket_id_proto });\nObject.defineProperty(__bucket_id_proto, \"constructor\", { configurable: true, writable: true, value: __f2 });\nObject.defineProperty(__bucket_id_proto, \"apply\", { configurable: true, writable: true, value: __f3 });\nObject.defineProperty(__bucket_id_proto, \"get\", { configurable: true, writable: true, value: __f4 });\nvar __bucket_id = Object.create(__bucket_id_proto);\n__bucket_id.value = \"testbucket-db00f74\";\n__bucket.id = __bucket_id;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*constructor*/(value) {\n this.value = value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f3(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*apply*/(func) {\n throw new Error(\"'apply' is not allowed from inside a cloud-callback. Use 'get' to retrieve the value of this Output directly.\");\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f4() {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*get*/() {\n return this.value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, bucket: __bucket, this: undefined, arguments: undefined }) {\n\nreturn (event) =\u003e __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received: \" + JSON.stringify(event, null, 2));\n const awssdk = yield Promise.resolve().then(() =\u003e require(\"aws-sdk\"));\n const s3 = new awssdk.S3();\n const recordFile = \"lastEvent.json\";\n console.log(\"Storing sqs message to S3.\");\n yield s3.putObject({\n Bucket: bucket.id.get(),\n Key: recordFile,\n Body: JSON.stringify(event),\n }).promise();\n console.log(\"Stored sqs message to S3.\");\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" + } + }, + "hash": "c0be1ee1e6c7e86d1e2bf537aa0ca353a494240f6230610d6ca1a8a4361bbd13" + }, + "handler": "__index.handler", + "memorySize": 128, + "name": "subscription-f6e5ff0", + "packageType": "Zip", + "publish": false, + "reservedConcurrentExecutions": -1, + "role": "arn:aws:iam::616138583583:role/subscription-493e917", + "runtime": "nodejs16.x", + "skipDestroy": false, + "timeout": 180 + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", + "architectures": [ + "x86_64" + ], + "arn": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0", + "code": { + "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", + "assets": { + "__index.js": { + "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", + "hash": "7eacbc8ccbbce964612bb7f7442881a10a173aa0c56e075c0ef19cb87c9ff744", + "text": "exports.handler = __f0;\n\nvar __bucket = {};\nvar __bucket_id_proto = {};\nObject.defineProperty(__f2, \"prototype\", { value: __bucket_id_proto });\nObject.defineProperty(__bucket_id_proto, \"constructor\", { configurable: true, writable: true, value: __f2 });\nObject.defineProperty(__bucket_id_proto, \"apply\", { configurable: true, writable: true, value: __f3 });\nObject.defineProperty(__bucket_id_proto, \"get\", { configurable: true, writable: true, value: __f4 });\nvar __bucket_id = Object.create(__bucket_id_proto);\n__bucket_id.value = \"testbucket-db00f74\";\n__bucket.id = __bucket_id;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*constructor*/(value) {\n this.value = value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f3(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*apply*/(func) {\n throw new Error(\"'apply' is not allowed from inside a cloud-callback. Use 'get' to retrieve the value of this Output directly.\");\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f4() {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*get*/() {\n return this.value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, bucket: __bucket, this: undefined, arguments: undefined }) {\n\nreturn (event) =\u003e __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received: \" + JSON.stringify(event, null, 2));\n const awssdk = yield Promise.resolve().then(() =\u003e require(\"aws-sdk\"));\n const s3 = new awssdk.S3();\n const recordFile = \"lastEvent.json\";\n console.log(\"Storing sqs message to S3.\");\n yield s3.putObject({\n Bucket: bucket.id.get(),\n Key: recordFile,\n Body: JSON.stringify(event),\n }).promise();\n console.log(\"Stored sqs message to S3.\");\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" + } + }, + "hash": "c0be1ee1e6c7e86d1e2bf537aa0ca353a494240f6230610d6ca1a8a4361bbd13" + }, + "codeSigningConfigArn": "", + "deadLetterConfig": null, + "description": "", + "environment": null, + "ephemeralStorage": { + "size": 512 + }, + "fileSystemConfig": null, + "handler": "__index.handler", + "id": "subscription-f6e5ff0", + "imageConfig": null, + "imageUri": "", + "invokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0/invocations", + "kmsKeyArn": "", + "lastModified": "2023-11-10T23:03:41.292+0000", + "layers": [], + "memorySize": 128, + "name": "subscription-f6e5ff0", + "packageType": "Zip", + "publish": false, + "qualifiedArn": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0:$LATEST", + "qualifiedInvokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0:$LATEST/invocations", + "reservedConcurrentExecutions": -1, + "role": "arn:aws:iam::616138583583:role/subscription-493e917", + "runtime": "nodejs16.x", + "signingJobArn": "", + "signingProfileVersionArn": "", + "skipDestroy": false, + "snapStart": null, + "sourceCodeHash": "r/l4peCmk3rdB5lTPO+92JwqyKuGd2TyyFQEqHdV2rQ=", + "sourceCodeSize": 1058, + "tags": {}, + "tagsAll": {}, + "timeout": 180, + "tracingConfig": { + "mode": "PassThrough" + }, + "version": "$LATEST", + "vpcConfig": null + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "code": null, + "handler": null, + "role": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" + ], + "runtime": null, + "timeout": null + }, + "created": "2023-11-10T23:03:47.003006Z", + "modified": "2023-11-10T23:03:47.003006Z", + "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#389,9" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/permission:Permission::subscription", + "custom": true, + "id": "subscription-7882dc8", + "type": "aws:lambda/permission:Permission", + "inputs": { + "__defaults": [ + "statementId" + ], + "action": "lambda:*", + "function": "subscription-f6e5ff0", + "principal": "sqs.amazonaws.com", + "sourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", + "statementId": "subscription-7882dc8" + }, + "outputs": { + "action": "lambda:*", + "function": "subscription-f6e5ff0", + "id": "subscription-7882dc8", + "principal": "sqs.amazonaws.com", + "qualifier": "", + "sourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", + "statementId": "subscription-7882dc8", + "statementIdPrefix": "" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription", + "urn:pulumi:test::queue::aws:sqs/queue:Queue::queue" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "action": null, + "function": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription" + ], + "principal": null, + "sourceArn": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue::queue" + ] + }, + "created": "2023-11-10T23:03:47.63525Z", + "modified": "2023-11-10T23:03:47.63525Z", + "sourcePosition": "project:///node_modules/@pulumi/sqs/sqsMixins.ts#87,27" + }, + { + "urn": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/eventSourceMapping:EventSourceMapping::subscription", + "custom": true, + "id": "de051699-982b-4473-b87d-82c297e0364c", + "type": "aws:lambda/eventSourceMapping:EventSourceMapping", + "inputs": { + "__defaults": [], + "batchSize": 1, + "enabled": true, + "eventSourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", + "functionName": "subscription-f6e5ff0" + }, + "outputs": { + "amazonManagedKafkaEventSourceConfig": null, + "batchSize": 1, + "bisectBatchOnFunctionError": false, + "destinationConfig": null, + "documentDbEventSourceConfig": null, + "enabled": true, + "eventSourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", + "filterCriteria": null, + "functionArn": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0", + "functionName": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0", + "functionResponseTypes": [], + "id": "de051699-982b-4473-b87d-82c297e0364c", + "lastModified": "2023-11-10T23:03:47Z", + "lastProcessingResult": "", + "maximumBatchingWindowInSeconds": 0, + "maximumRecordAgeInSeconds": 0, + "maximumRetryAttempts": 0, + "parallelizationFactor": 0, + "queues": [], + "scalingConfig": null, + "selfManagedEventSource": null, + "selfManagedKafkaEventSourceConfig": null, + "sourceAccessConfigurations": [], + "startingPosition": "", + "startingPositionTimestamp": "", + "state": "Enabled", + "stateTransitionReason": "USER_INITIATED", + "topics": [], + "tumblingWindowInSeconds": 0, + "uuid": "de051699-982b-4473-b87d-82c297e0364c" + }, + "parent": "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", + "dependencies": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue::queue", + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription" + ], + "provider": "urn:pulumi:test::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", + "propertyDependencies": { + "batchSize": null, + "enabled": null, + "eventSourceArn": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue::queue" + ], + "functionName": [ + "urn:pulumi:test::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription" + ] + }, + "created": "2023-11-10T23:04:12.196094Z", + "modified": "2023-11-10T23:04:12.196094Z", + "sourcePosition": "project:///node_modules/@pulumi/sqs/sqsMixins.ts#94,35" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/state.json deleted file mode 100755 index 769b07763f0..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/queue/5.42.0/state.json +++ /dev/null @@ -1,735 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T18:04:12.196234-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:eIi9X5pcYA0=:v1:plzHPKIKC81PUIWo:FmYYIbMVI3ZX/mc2YTeu7WQIBgziWA==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:pulumi:Stack::queue-p-it-antons-mac-queue-3a8a2b6f", - "custom": false, - "type": "pulumi:pulumi:Stack", - "outputs": { - "bucketUrl": "s3://testbucket-db00f74", - "queueUrl": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a" - }, - "created": "2023-11-10T23:03:02.418268Z", - "modified": "2023-11-10T23:03:02.418268Z", - "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov", - "custom": true, - "id": "612269ea-c4ab-4aed-bbcc-b5afba60c711", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "outputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:pulumi:Stack::queue-p-it-antons-mac-queue-3a8a2b6f", - "propertyDependencies": { - "region": null, - "skipCredentialsValidation": null, - "skipMetadataApiCheck": null, - "skipRegionValidation": null - }, - "created": "2023-11-10T23:03:04.10642Z", - "modified": "2023-11-10T23:03:04.10642Z", - "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:s3/bucket:Bucket::testbucket", - "custom": true, - "id": "testbucket-db00f74", - "type": "aws:s3/bucket:Bucket", - "inputs": { - "__defaults": [ - "acl", - "bucket" - ], - "acl": "private", - "bucket": "testbucket-db00f74", - "forceDestroy": true, - "serverSideEncryptionConfiguration": { - "__defaults": [], - "rule": { - "__defaults": [], - "applyServerSideEncryptionByDefault": { - "__defaults": [], - "sseAlgorithm": "AES256" - } - } - } - }, - "outputs": { - "accelerationStatus": "", - "acl": "private", - "arn": "arn:aws:s3:::testbucket-db00f74", - "bucket": "testbucket-db00f74", - "bucketDomainName": "testbucket-db00f74.s3.amazonaws.com", - "bucketRegionalDomainName": "testbucket-db00f74.s3.us-west-2.amazonaws.com", - "corsRules": [], - "forceDestroy": true, - "grants": [], - "hostedZoneId": "Z3BJ6K6RIION7M", - "id": "testbucket-db00f74", - "lifecycleRules": [], - "loggings": [], - "objectLockConfiguration": null, - "region": "us-west-2", - "replicationConfiguration": null, - "requestPayer": "BucketOwner", - "serverSideEncryptionConfiguration": { - "rule": { - "applyServerSideEncryptionByDefault": { - "kmsMasterKeyId": "", - "sseAlgorithm": "AES256" - }, - "bucketKeyEnabled": false - } - }, - "tags": {}, - "tagsAll": {}, - "versioning": { - "enabled": false, - "mfaDelete": false - }, - "website": null - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:pulumi:Stack::queue-p-it-antons-mac-queue-3a8a2b6f", - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "forceDestroy": null, - "serverSideEncryptionConfiguration": null - }, - "created": "2023-11-10T23:03:08.706816Z", - "modified": "2023-11-10T23:03:08.706816Z", - "sourcePosition": "project:///index.ts#21,16" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue::queue", - "custom": true, - "id": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a", - "type": "aws:sqs/queue:Queue", - "inputs": { - "__defaults": [ - "contentBasedDeduplication", - "delaySeconds", - "fifoQueue", - "maxMessageSize", - "messageRetentionSeconds", - "name", - "receiveWaitTimeSeconds" - ], - "contentBasedDeduplication": false, - "delaySeconds": 0, - "fifoQueue": false, - "maxMessageSize": 262144, - "messageRetentionSeconds": 345600, - "name": "queue-6f3f78a", - "receiveWaitTimeSeconds": 0, - "visibilityTimeoutSeconds": 300 - }, - "outputs": { - "arn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", - "contentBasedDeduplication": false, - "deduplicationScope": "", - "delaySeconds": 0, - "fifoQueue": false, - "fifoThroughputLimit": "", - "id": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a", - "kmsDataKeyReusePeriodSeconds": 300, - "kmsMasterKeyId": "", - "maxMessageSize": 262144, - "messageRetentionSeconds": 345600, - "name": "queue-6f3f78a", - "namePrefix": "", - "policy": "", - "receiveWaitTimeSeconds": 0, - "redriveAllowPolicy": "", - "redrivePolicy": "", - "sqsManagedSseEnabled": true, - "tags": {}, - "tagsAll": {}, - "url": "https://sqs.us-west-2.amazonaws.com/616138583583/queue-6f3f78a", - "visibilityTimeoutSeconds": 300 - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:pulumi:Stack::queue-p-it-antons-mac-queue-3a8a2b6f", - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "visibilityTimeoutSeconds": null - }, - "created": "2023-11-10T23:03:31.897457Z", - "modified": "2023-11-10T23:03:31.897457Z", - "sourcePosition": "project:///index.ts#32,15" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "custom": false, - "type": "aws:sqs:QueueEventSubscription", - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue::queue", - "created": "2023-11-10T23:03:31.918386Z", - "modified": "2023-11-10T23:03:31.918386Z", - "sourcePosition": "project:///node_modules/@pulumi/sqs/sqsMixins.ts#79,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription", - "custom": true, - "id": "subscription-493e917", - "type": "aws:iam/role:Role", - "inputs": { - "__defaults": [ - "forceDetachPolicies", - "maxSessionDuration", - "name", - "path" - ], - "assumeRolePolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Effect\":\"Allow\",\"Sid\":\"\"}]}", - "forceDetachPolicies": false, - "maxSessionDuration": 3600, - "name": "subscription-493e917", - "path": "/" - }, - "outputs": { - "arn": "arn:aws:iam::616138583583:role/subscription-493e917", - "assumeRolePolicy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "createDate": "2023-11-10T23:03:32Z", - "description": "", - "forceDetachPolicies": false, - "id": "subscription-493e917", - "inlinePolicies": [], - "managedPolicyArns": [], - "maxSessionDuration": 3600, - "name": "subscription-493e917", - "namePrefix": "", - "path": "/", - "roleLastUseds": [ - { - "lastUsedDate": "", - "region": "" - } - ], - "tags": {}, - "tagsAll": {}, - "uniqueId": "AROAY65FYVYP3LXMG5T3O" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "assumeRolePolicy": null - }, - "created": "2023-11-10T23:03:32.318812Z", - "modified": "2023-11-10T23:03:32.318812Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#304,20" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-e1a3786d", - "custom": true, - "id": "subscription-493e917-20231110230332436700000001", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332436700000001", - "policyArn": "arn:aws:iam::aws:policy/AmazonKinesisFullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.578476Z", - "modified": "2023-11-10T23:03:32.578476Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-a1de8170", - "custom": true, - "id": "subscription-493e917-20231110230332533400000003", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332533400000003", - "policyArn": "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.597095Z", - "modified": "2023-11-10T23:03:32.597095Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-4aaabb8e", - "custom": true, - "id": "subscription-493e917-20231110230332521300000002", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332521300000002", - "policyArn": "arn:aws:iam::aws:policy/AmazonS3FullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.597224Z", - "modified": "2023-11-10T23:03:32.597224Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-019020e7", - "custom": true, - "id": "subscription-493e917-20231110230332617800000006", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332617800000006", - "policyArn": "arn:aws:iam::aws:policy/AmazonCognitoPowerUser", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.674436Z", - "modified": "2023-11-10T23:03:32.674436Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-74d12784", - "custom": true, - "id": "subscription-493e917-20231110230332617800000005", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332617800000005", - "policyArn": "arn:aws:iam::aws:policy/CloudWatchEventsFullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.681812Z", - "modified": "2023-11-10T23:03:32.681812Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-b5aeb6b6", - "custom": true, - "id": "subscription-493e917-20231110230332617800000004", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332617800000004", - "policyArn": "arn:aws:iam::aws:policy/AWSLambda_FullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.688605Z", - "modified": "2023-11-10T23:03:32.688605Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-6c156834", - "custom": true, - "id": "subscription-493e917-20231110230332632200000008", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332632200000008", - "policyArn": "arn:aws:iam::aws:policy/CloudWatchFullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.698556Z", - "modified": "2023-11-10T23:03:32.698556Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-1b4caae3", - "custom": true, - "id": "subscription-493e917-20231110230332631900000007", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332631900000007", - "policyArn": "arn:aws:iam::aws:policy/AWSXrayWriteOnlyAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.716979Z", - "modified": "2023-11-10T23:03:32.716979Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/rolePolicyAttachment:RolePolicyAttachment::subscription-7cd09230", - "custom": true, - "id": "subscription-493e917-20231110230332632300000009", - "type": "aws:iam/rolePolicyAttachment:RolePolicyAttachment", - "inputs": { - "__defaults": [], - "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", - "role": "subscription-493e917" - }, - "outputs": { - "id": "subscription-493e917-20231110230332632300000009", - "policyArn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess", - "role": "subscription-493e917" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "policyArn": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ] - }, - "created": "2023-11-10T23:03:32.717115Z", - "modified": "2023-11-10T23:03:32.717115Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#318,40" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription", - "custom": true, - "id": "subscription-f6e5ff0", - "type": "aws:lambda/function:Function", - "inputs": { - "__defaults": [ - "memorySize", - "name", - "packageType", - "publish", - "reservedConcurrentExecutions", - "skipDestroy" - ], - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "__index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "7eacbc8ccbbce964612bb7f7442881a10a173aa0c56e075c0ef19cb87c9ff744", - "text": "exports.handler = __f0;\n\nvar __bucket = {};\nvar __bucket_id_proto = {};\nObject.defineProperty(__f2, \"prototype\", { value: __bucket_id_proto });\nObject.defineProperty(__bucket_id_proto, \"constructor\", { configurable: true, writable: true, value: __f2 });\nObject.defineProperty(__bucket_id_proto, \"apply\", { configurable: true, writable: true, value: __f3 });\nObject.defineProperty(__bucket_id_proto, \"get\", { configurable: true, writable: true, value: __f4 });\nvar __bucket_id = Object.create(__bucket_id_proto);\n__bucket_id.value = \"testbucket-db00f74\";\n__bucket.id = __bucket_id;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*constructor*/(value) {\n this.value = value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f3(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*apply*/(func) {\n throw new Error(\"'apply' is not allowed from inside a cloud-callback. Use 'get' to retrieve the value of this Output directly.\");\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f4() {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*get*/() {\n return this.value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, bucket: __bucket, this: undefined, arguments: undefined }) {\n\nreturn (event) => __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received: \" + JSON.stringify(event, null, 2));\n const awssdk = yield Promise.resolve().then(() => require(\"aws-sdk\"));\n const s3 = new awssdk.S3();\n const recordFile = \"lastEvent.json\";\n console.log(\"Storing sqs message to S3.\");\n yield s3.putObject({\n Bucket: bucket.id.get(),\n Key: recordFile,\n Body: JSON.stringify(event),\n }).promise();\n console.log(\"Stored sqs message to S3.\");\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" - } - }, - "hash": "c0be1ee1e6c7e86d1e2bf537aa0ca353a494240f6230610d6ca1a8a4361bbd13" - }, - "handler": "__index.handler", - "memorySize": 128, - "name": "subscription-f6e5ff0", - "packageType": "Zip", - "publish": false, - "reservedConcurrentExecutions": -1, - "role": "arn:aws:iam::616138583583:role/subscription-493e917", - "runtime": "nodejs16.x", - "skipDestroy": false, - "timeout": 180 - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0", - "code": { - "4dabf18193072939515e22adb298388d": "0def7320c3a5731c473e5ecbe6d01bc7", - "assets": { - "__index.js": { - "4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17", - "hash": "7eacbc8ccbbce964612bb7f7442881a10a173aa0c56e075c0ef19cb87c9ff744", - "text": "exports.handler = __f0;\n\nvar __bucket = {};\nvar __bucket_id_proto = {};\nObject.defineProperty(__f2, \"prototype\", { value: __bucket_id_proto });\nObject.defineProperty(__bucket_id_proto, \"constructor\", { configurable: true, writable: true, value: __f2 });\nObject.defineProperty(__bucket_id_proto, \"apply\", { configurable: true, writable: true, value: __f3 });\nObject.defineProperty(__bucket_id_proto, \"get\", { configurable: true, writable: true, value: __f4 });\nvar __bucket_id = Object.create(__bucket_id_proto);\n__bucket_id.value = \"testbucket-db00f74\";\n__bucket.id = __bucket_id;\n\nfunction __f1(__0, __1, __2, __3) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f2(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*constructor*/(value) {\n this.value = value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f3(__0) {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*apply*/(func) {\n throw new Error(\"'apply' is not allowed from inside a cloud-callback. Use 'get' to retrieve the value of this Output directly.\");\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f4() {\n return (function() {\n with({ this: undefined, arguments: undefined }) {\n\nreturn function /*get*/() {\n return this.value;\n };\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n\nfunction __f0(__0) {\n return (function() {\n with({ __awaiter: __f1, bucket: __bucket, this: undefined, arguments: undefined }) {\n\nreturn (event) => __awaiter(void 0, void 0, void 0, function* () {\n console.log(\"Received: \" + JSON.stringify(event, null, 2));\n const awssdk = yield Promise.resolve().then(() => require(\"aws-sdk\"));\n const s3 = new awssdk.S3();\n const recordFile = \"lastEvent.json\";\n console.log(\"Storing sqs message to S3.\");\n yield s3.putObject({\n Bucket: bucket.id.get(),\n Key: recordFile,\n Body: JSON.stringify(event),\n }).promise();\n console.log(\"Stored sqs message to S3.\");\n});\n\n }\n }).apply(undefined, undefined).apply(this, arguments);\n}\n" - } - }, - "hash": "c0be1ee1e6c7e86d1e2bf537aa0ca353a494240f6230610d6ca1a8a4361bbd13" - }, - "codeSigningConfigArn": "", - "deadLetterConfig": null, - "description": "", - "environment": null, - "ephemeralStorage": { - "size": 512 - }, - "fileSystemConfig": null, - "handler": "__index.handler", - "id": "subscription-f6e5ff0", - "imageConfig": null, - "imageUri": "", - "invokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0/invocations", - "kmsKeyArn": "", - "lastModified": "2023-11-10T23:03:41.292+0000", - "layers": [], - "memorySize": 128, - "name": "subscription-f6e5ff0", - "packageType": "Zip", - "publish": false, - "qualifiedArn": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0:$LATEST", - "qualifiedInvokeArn": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0:$LATEST/invocations", - "reservedConcurrentExecutions": -1, - "role": "arn:aws:iam::616138583583:role/subscription-493e917", - "runtime": "nodejs16.x", - "signingJobArn": "", - "signingProfileVersionArn": "", - "skipDestroy": false, - "snapStart": null, - "sourceCodeHash": "r/l4peCmk3rdB5lTPO+92JwqyKuGd2TyyFQEqHdV2rQ=", - "sourceCodeSize": 1058, - "tags": {}, - "tagsAll": {}, - "timeout": 180, - "tracingConfig": { - "mode": "PassThrough" - }, - "version": "$LATEST", - "vpcConfig": null - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "code": null, - "handler": null, - "role": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:iam/role:Role::subscription" - ], - "runtime": null, - "timeout": null - }, - "created": "2023-11-10T23:03:47.003006Z", - "modified": "2023-11-10T23:03:47.003006Z", - "sourcePosition": "project:///node_modules/@pulumi/lambda/lambdaMixins.ts#389,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/permission:Permission::subscription", - "custom": true, - "id": "subscription-7882dc8", - "type": "aws:lambda/permission:Permission", - "inputs": { - "__defaults": [ - "statementId" - ], - "action": "lambda:*", - "function": "subscription-f6e5ff0", - "principal": "sqs.amazonaws.com", - "sourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", - "statementId": "subscription-7882dc8" - }, - "outputs": { - "action": "lambda:*", - "function": "subscription-f6e5ff0", - "id": "subscription-7882dc8", - "principal": "sqs.amazonaws.com", - "qualifier": "", - "sourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", - "statementId": "subscription-7882dc8", - "statementIdPrefix": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription", - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue::queue" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "action": null, - "function": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription" - ], - "principal": null, - "sourceArn": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue::queue" - ] - }, - "created": "2023-11-10T23:03:47.63525Z", - "modified": "2023-11-10T23:03:47.63525Z", - "sourcePosition": "project:///node_modules/@pulumi/sqs/sqsMixins.ts#87,27" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/eventSourceMapping:EventSourceMapping::subscription", - "custom": true, - "id": "de051699-982b-4473-b87d-82c297e0364c", - "type": "aws:lambda/eventSourceMapping:EventSourceMapping", - "inputs": { - "__defaults": [], - "batchSize": 1, - "enabled": true, - "eventSourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", - "functionName": "subscription-f6e5ff0" - }, - "outputs": { - "amazonManagedKafkaEventSourceConfig": null, - "batchSize": 1, - "bisectBatchOnFunctionError": false, - "destinationConfig": null, - "documentDbEventSourceConfig": null, - "enabled": true, - "eventSourceArn": "arn:aws:sqs:us-west-2:616138583583:queue-6f3f78a", - "filterCriteria": null, - "functionArn": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0", - "functionName": "arn:aws:lambda:us-west-2:616138583583:function:subscription-f6e5ff0", - "functionResponseTypes": [], - "id": "de051699-982b-4473-b87d-82c297e0364c", - "lastModified": "2023-11-10T23:03:47Z", - "lastProcessingResult": "", - "maximumBatchingWindowInSeconds": 0, - "maximumRecordAgeInSeconds": 0, - "maximumRetryAttempts": 0, - "parallelizationFactor": 0, - "queues": [], - "scalingConfig": null, - "selfManagedEventSource": null, - "selfManagedKafkaEventSourceConfig": null, - "sourceAccessConfigurations": [], - "startingPosition": "", - "startingPositionTimestamp": "", - "state": "Enabled", - "stateTransitionReason": "USER_INITIATED", - "topics": [], - "tumblingWindowInSeconds": 0, - "uuid": "de051699-982b-4473-b87d-82c297e0364c" - }, - "parent": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription::subscription", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue::queue", - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription" - ], - "provider": "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::pulumi:providers:aws::prov::612269ea-c4ab-4aed-bbcc-b5afba60c711", - "propertyDependencies": { - "batchSize": null, - "enabled": null, - "eventSourceArn": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue::queue" - ], - "functionName": [ - "urn:pulumi:p-it-antons-mac-queue-3a8a2b6f::queue::aws:sqs/queue:Queue$aws:sqs:QueueEventSubscription$aws:lambda/function:Function::subscription" - ] - }, - "created": "2023-11-10T23:04:12.196094Z", - "modified": "2023-11-10T23:04:12.196094Z", - "sourcePosition": "project:///node_modules/@pulumi/sqs/sqsMixins.ts#94,35" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/stack.json new file mode 100755 index 00000000000..69852012ca5 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/stack.json @@ -0,0 +1,164 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-10-05T17:29:38.81181-04:00", + "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", + "version": "v3.86.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:Hk+ms9bN1YM=:v1:CIGk8tObiTPyv9Ha:L+3V/xNuuUra9OA23fTUIUqf8uozAA==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-10-05T21:25:30.251254Z", + "modified": "2023-10-05T21:25:30.251254Z" + }, + { + "urn": "urn:pulumi:test::test::pulumi:providers:aws::provider", + "custom": true, + "id": "03d1a41e-932c-43a8-85fc-43521503ab53", + "type": "pulumi:providers:aws", + "inputs": { + "version": "5.42.0" + }, + "outputs": { + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "propertyDependencies": { + "version": [] + }, + "created": "2023-10-05T21:25:31.781545Z", + "modified": "2023-10-05T21:25:31.781545Z" + }, + { + "urn": "urn:pulumi:test::test::aws:rds/instance:Instance::tested-resource", + "custom": true, + "id": "tested-resource32446a6", + "type": "aws:rds/instance:Instance", + "inputs": { + "__defaults": [ + "applyImmediately", + "autoMinorVersionUpgrade", + "copyTagsToSnapshot", + "deleteAutomatedBackups", + "identifier", + "monitoringInterval", + "performanceInsightsEnabled", + "publiclyAccessible" + ], + "allocatedStorage": 30, + "applyImmediately": false, + "autoMinorVersionUpgrade": true, + "copyTagsToSnapshot": false, + "deleteAutomatedBackups": true, + "engine": "postgres", + "identifier": "tested-resource32446a6", + "instanceClass": "db.t4g.micro", + "monitoringInterval": 0, + "name": "mydbname", + "password": "mypassword", + "performanceInsightsEnabled": false, + "publiclyAccessible": false, + "skipFinalSnapshot": true, + "username": "mydbuser" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":2400000000000,\"delete\":3600000000000,\"update\":4800000000000},\"schema_version\":\"1\"}", + "address": "tested-resource32446a6.chuqccm8uxqx.us-west-2.rds.amazonaws.com", + "allocatedStorage": 30, + "applyImmediately": false, + "arn": "arn:aws:rds:us-west-2:616138583583:db:tested-resource32446a6", + "autoMinorVersionUpgrade": true, + "availabilityZone": "us-west-2a", + "backupRetentionPeriod": 0, + "backupWindow": "06:08-06:38", + "caCertIdentifier": "rds-ca-2019", + "characterSetName": "", + "copyTagsToSnapshot": false, + "customIamInstanceProfile": "", + "customerOwnedIpEnabled": false, + "dbName": "mydbname", + "dbSubnetGroupName": "default", + "deleteAutomatedBackups": true, + "deletionProtection": false, + "domain": "", + "domainIamRoleName": "", + "enabledCloudwatchLogsExports": [], + "endpoint": "tested-resource32446a6.chuqccm8uxqx.us-west-2.rds.amazonaws.com:5432", + "engine": "postgres", + "engineVersion": "15.3", + "engineVersionActual": "15.3", + "hostedZoneId": "Z1PVIF0B656C1W", + "iamDatabaseAuthenticationEnabled": false, + "id": "tested-resource32446a6", + "identifier": "tested-resource32446a6", + "identifierPrefix": "", + "instanceClass": "db.t4g.micro", + "iops": 0, + "kmsKeyId": "", + "latestRestorableTime": "", + "licenseModel": "postgresql-license", + "listenerEndpoints": [], + "maintenanceWindow": "sat:10:36-sat:11:06", + "masterUserSecrets": [], + "maxAllocatedStorage": 0, + "monitoringInterval": 0, + "monitoringRoleArn": "", + "multiAz": false, + "name": "mydbname", + "ncharCharacterSetName": "", + "networkType": "IPV4", + "optionGroupName": "default:postgres-15", + "parameterGroupName": "default.postgres15", + "password": { + "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", + "ciphertext": "v1:mUAfQWw621puT5mf:d3VHy2+9FGGmsJpJ76Taw5/LXkPweZaek5Gp4g==" + }, + "performanceInsightsEnabled": false, + "performanceInsightsKmsKeyId": "", + "performanceInsightsRetentionPeriod": 0, + "port": 5432, + "publiclyAccessible": false, + "replicaMode": "", + "replicas": [], + "replicateSourceDb": "", + "resourceId": "db-APHDYQXAWC6637KYGRJPNEN5Y4", + "securityGroupNames": [], + "skipFinalSnapshot": true, + "status": "available", + "storageEncrypted": false, + "storageThroughput": 0, + "storageType": "gp2", + "tags": {}, + "tagsAll": {}, + "timezone": "", + "username": "mydbuser", + "vpcSecurityGroupIds": [ + "sg-4d436f12" + ] + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::03d1a41e-932c-43a8-85fc-43521503ab53", + "propertyDependencies": { + "allocatedStorage": null, + "engine": null, + "instanceClass": null, + "name": null, + "password": null, + "skipFinalSnapshot": null, + "username": null + }, + "created": "2023-10-05T21:29:38.811725Z", + "modified": "2023-10-05T21:29:38.811725Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/state.json deleted file mode 100755 index 56cd65bc41a..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/rds-instance/5.42.0/state.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-10-05T17:29:38.81181-04:00", - "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", - "version": "v3.86.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:Hk+ms9bN1YM=:v1:CIGk8tObiTPyv9Ha:L+3V/xNuuUra9OA23fTUIUqf8uozAA==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-rds-instan-c3f4122c::test::pulumi:pulumi:Stack::test-p-it-antons-mac-rds-instan-c3f4122c", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-10-05T21:25:30.251254Z", - "modified": "2023-10-05T21:25:30.251254Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-rds-instan-c3f4122c::test::pulumi:providers:aws::provider", - "custom": true, - "id": "03d1a41e-932c-43a8-85fc-43521503ab53", - "type": "pulumi:providers:aws", - "inputs": { - "version": "5.42.0" - }, - "outputs": { - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-rds-instan-c3f4122c::test::pulumi:pulumi:Stack::test-p-it-antons-mac-rds-instan-c3f4122c", - "propertyDependencies": { - "version": [] - }, - "created": "2023-10-05T21:25:31.781545Z", - "modified": "2023-10-05T21:25:31.781545Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-rds-instan-c3f4122c::test::aws:rds/instance:Instance::tested-resource", - "custom": true, - "id": "tested-resource32446a6", - "type": "aws:rds/instance:Instance", - "inputs": { - "__defaults": [ - "applyImmediately", - "autoMinorVersionUpgrade", - "copyTagsToSnapshot", - "deleteAutomatedBackups", - "identifier", - "monitoringInterval", - "performanceInsightsEnabled", - "publiclyAccessible" - ], - "allocatedStorage": 30, - "applyImmediately": false, - "autoMinorVersionUpgrade": true, - "copyTagsToSnapshot": false, - "deleteAutomatedBackups": true, - "engine": "postgres", - "identifier": "tested-resource32446a6", - "instanceClass": "db.t4g.micro", - "monitoringInterval": 0, - "name": "mydbname", - "password": "mypassword", - "performanceInsightsEnabled": false, - "publiclyAccessible": false, - "skipFinalSnapshot": true, - "username": "mydbuser" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":2400000000000,\"delete\":3600000000000,\"update\":4800000000000},\"schema_version\":\"1\"}", - "address": "tested-resource32446a6.chuqccm8uxqx.us-west-2.rds.amazonaws.com", - "allocatedStorage": 30, - "applyImmediately": false, - "arn": "arn:aws:rds:us-west-2:616138583583:db:tested-resource32446a6", - "autoMinorVersionUpgrade": true, - "availabilityZone": "us-west-2a", - "backupRetentionPeriod": 0, - "backupWindow": "06:08-06:38", - "caCertIdentifier": "rds-ca-2019", - "characterSetName": "", - "copyTagsToSnapshot": false, - "customIamInstanceProfile": "", - "customerOwnedIpEnabled": false, - "dbName": "mydbname", - "dbSubnetGroupName": "default", - "deleteAutomatedBackups": true, - "deletionProtection": false, - "domain": "", - "domainIamRoleName": "", - "enabledCloudwatchLogsExports": [], - "endpoint": "tested-resource32446a6.chuqccm8uxqx.us-west-2.rds.amazonaws.com:5432", - "engine": "postgres", - "engineVersion": "15.3", - "engineVersionActual": "15.3", - "hostedZoneId": "Z1PVIF0B656C1W", - "iamDatabaseAuthenticationEnabled": false, - "id": "tested-resource32446a6", - "identifier": "tested-resource32446a6", - "identifierPrefix": "", - "instanceClass": "db.t4g.micro", - "iops": 0, - "kmsKeyId": "", - "latestRestorableTime": "", - "licenseModel": "postgresql-license", - "listenerEndpoints": [], - "maintenanceWindow": "sat:10:36-sat:11:06", - "masterUserSecrets": [], - "maxAllocatedStorage": 0, - "monitoringInterval": 0, - "monitoringRoleArn": "", - "multiAz": false, - "name": "mydbname", - "ncharCharacterSetName": "", - "networkType": "IPV4", - "optionGroupName": "default:postgres-15", - "parameterGroupName": "default.postgres15", - "password": { - "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", - "ciphertext": "v1:mUAfQWw621puT5mf:d3VHy2+9FGGmsJpJ76Taw5/LXkPweZaek5Gp4g==" - }, - "performanceInsightsEnabled": false, - "performanceInsightsKmsKeyId": "", - "performanceInsightsRetentionPeriod": 0, - "port": 5432, - "publiclyAccessible": false, - "replicaMode": "", - "replicas": [], - "replicateSourceDb": "", - "resourceId": "db-APHDYQXAWC6637KYGRJPNEN5Y4", - "securityGroupNames": [], - "skipFinalSnapshot": true, - "status": "available", - "storageEncrypted": false, - "storageThroughput": 0, - "storageType": "gp2", - "tags": {}, - "tagsAll": {}, - "timezone": "", - "username": "mydbuser", - "vpcSecurityGroupIds": [ - "sg-4d436f12" - ] - }, - "parent": "urn:pulumi:p-it-antons-mac-rds-instan-c3f4122c::test::pulumi:pulumi:Stack::test-p-it-antons-mac-rds-instan-c3f4122c", - "provider": "urn:pulumi:p-it-antons-mac-rds-instan-c3f4122c::test::pulumi:providers:aws::provider::03d1a41e-932c-43a8-85fc-43521503ab53", - "propertyDependencies": { - "allocatedStorage": null, - "engine": null, - "instanceClass": null, - "name": null, - "password": null, - "skipFinalSnapshot": null, - "username": null - }, - "created": "2023-10-05T21:29:38.811725Z", - "modified": "2023-10-05T21:29:38.811725Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/stack.json new file mode 100755 index 00000000000..95620bd986f --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/stack.json @@ -0,0 +1,400 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-10-05T17:19:48.398938-04:00", + "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", + "version": "v3.86.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:NSeMnW5aeJY=:v1:Ukh72zLEB1lXN6wd:Ogx9/oULTbQhQEQy+QnX8OVJhmXB7g==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-10-05T21:19:02.739465Z", + "modified": "2023-10-05T21:19:02.739465Z" + }, + { + "urn": "urn:pulumi:test::test::pulumi:providers:aws::provider", + "custom": true, + "id": "f5257a9a-43a2-4505-99cb-ada8543d3496", + "type": "pulumi:providers:aws", + "inputs": { + "version": "5.42.0" + }, + "outputs": { + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "propertyDependencies": { + "version": [] + }, + "created": "2023-10-05T21:19:04.243316Z", + "modified": "2023-10-05T21:19:04.243316Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1", + "custom": true, + "id": "vpc-039c56ba1df582bda", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "enableDnsSupport", + "instanceTenancy" + ], + "cidrBlock": "10.192.0.0/16", + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-039c56ba1df582bda", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.192.0.0/16", + "defaultNetworkAclId": "acl-0722b806d1f553b04", + "defaultRouteTableId": "rtb-0f2be38548299b3bd", + "defaultSecurityGroupId": "sg-0d610423cc969a2de", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": false, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-039c56ba1df582bda", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-0f2be38548299b3bd", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", + "propertyDependencies": { + "cidrBlock": null + }, + "created": "2023-10-05T21:19:07.843508Z", + "modified": "2023-10-05T21:19:07.843508Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet1", + "custom": true, + "id": "subnet-064ec6f254490ff1c", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "cidrBlock": "10.192.20.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-039c56ba1df582bda" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-064ec6f254490ff1c", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "availabilityZoneId": "usw2-az2", + "cidrBlock": "10.192.20.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-064ec6f254490ff1c", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-039c56ba1df582bda" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "mapPublicIpOnLaunch": null, + "vpcId": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ] + }, + "created": "2023-10-05T21:19:08.749779Z", + "modified": "2023-10-05T21:19:08.749779Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet2", + "custom": true, + "id": "subnet-051f07d063513bea3", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "cidrBlock": "10.192.21.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-039c56ba1df582bda" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-051f07d063513bea3", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "availabilityZoneId": "usw2-az1", + "cidrBlock": "10.192.21.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-051f07d063513bea3", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-039c56ba1df582bda" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "mapPublicIpOnLaunch": null, + "vpcId": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ] + }, + "created": "2023-10-05T21:19:08.889103Z", + "modified": "2023-10-05T21:19:08.889103Z" + }, + { + "urn": "urn:pulumi:test::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1", + "custom": true, + "id": "sg-0d52a4da392658e52", + "type": "aws:ec2/securityGroup:SecurityGroup", + "inputs": { + "__defaults": [ + "name", + "revokeRulesOnDelete" + ], + "description": "Allow TLS inbound traffic", + "egress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "0.0.0.0/0" + ], + "fromPort": 0, + "ipv6CidrBlocks": [ + "::/0" + ], + "protocol": "-1", + "self": false, + "toPort": 0 + } + ], + "ingress": [ + { + "__defaults": [ + "self" + ], + "cidrBlocks": [ + "10.192.0.0/16" + ], + "description": "TLS from VPC", + "fromPort": 443, + "protocol": "tcp", + "self": false, + "toPort": 443 + } + ], + "name": "securityGroupAllowTLS1-b9fc4a6", + "revokeRulesOnDelete": false, + "vpcId": "vpc-039c56ba1df582bda" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-0d52a4da392658e52", + "description": "Allow TLS inbound traffic", + "egress": [ + { + "cidrBlocks": [ + "0.0.0.0/0" + ], + "description": "", + "fromPort": 0, + "ipv6CidrBlocks": [ + "::/0" + ], + "prefixListIds": [], + "protocol": "-1", + "securityGroups": [], + "self": false, + "toPort": 0 + } + ], + "id": "sg-0d52a4da392658e52", + "ingress": [ + { + "cidrBlocks": [ + "10.192.0.0/16" + ], + "description": "TLS from VPC", + "fromPort": 443, + "ipv6CidrBlocks": [], + "prefixListIds": [], + "protocol": "tcp", + "securityGroups": [], + "self": false, + "toPort": 443 + } + ], + "name": "securityGroupAllowTLS1-b9fc4a6", + "namePrefix": "", + "ownerId": "616138583583", + "revokeRulesOnDelete": false, + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-039c56ba1df582bda" + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", + "propertyDependencies": { + "description": null, + "egress": null, + "ingress": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ], + "vpcId": [ + "urn:pulumi:test::test::aws:ec2/vpc:Vpc::vpc1" + ] + }, + "created": "2023-10-05T21:19:11.096925Z", + "modified": "2023-10-05T21:19:11.096925Z" + }, + { + "urn": "urn:pulumi:test::test::aws:route53/resolverEndpoint:ResolverEndpoint::tested-resource", + "custom": true, + "id": "rslvr-in-7214ef4397f14849a", + "type": "aws:route53/resolverEndpoint:ResolverEndpoint", + "inputs": { + "__defaults": [ + "name" + ], + "direction": "INBOUND", + "ipAddresses": [ + { + "__defaults": [], + "subnetId": "subnet-064ec6f254490ff1c" + }, + { + "__defaults": [], + "ip": "10.192.21.4", + "subnetId": "subnet-051f07d063513bea3" + } + ], + "name": "tested-resource-bfcd9d1", + "securityGroupIds": [ + "sg-0d52a4da392658e52" + ] + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", + "arn": "arn:aws:route53resolver:us-west-2:616138583583:resolver-endpoint/rslvr-in-7214ef4397f14849a", + "direction": "INBOUND", + "hostVpcId": "vpc-039c56ba1df582bda", + "id": "rslvr-in-7214ef4397f14849a", + "ipAddresses": [ + { + "ip": "10.192.20.212", + "ipId": "rni-f14d825d24db43469", + "subnetId": "subnet-064ec6f254490ff1c" + }, + { + "ip": "10.192.21.4", + "ipId": "rni-eff698d6aac4d148d", + "subnetId": "subnet-051f07d063513bea3" + } + ], + "name": "tested-resource-bfcd9d1", + "securityGroupIds": [ + "sg-0d52a4da392658e52" + ], + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::test::pulumi:pulumi:Stack::test-test", + "dependencies": [ + "urn:pulumi:test::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1", + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet1", + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet2" + ], + "provider": "urn:pulumi:test::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", + "propertyDependencies": { + "direction": null, + "ipAddresses": [ + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet1", + "urn:pulumi:test::test::aws:ec2/subnet:Subnet::subnet2" + ], + "securityGroupIds": [ + "urn:pulumi:test::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1" + ] + }, + "created": "2023-10-05T21:19:48.398897Z", + "modified": "2023-10-05T21:19:48.398897Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/state.json deleted file mode 100755 index 8209d88a015..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/route53-resolver-endpoint/5.42.0/state.json +++ /dev/null @@ -1,400 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-10-05T17:19:48.398938-04:00", - "magic": "cdb46f20d3397474c4b7038ce63a3c40fb0da4b95458ef275b6ce689aec88d17", - "version": "v3.86.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:NSeMnW5aeJY=:v1:Ukh72zLEB1lXN6wd:Ogx9/oULTbQhQEQy+QnX8OVJhmXB7g==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-10-05T21:19:02.739465Z", - "modified": "2023-10-05T21:19:02.739465Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:providers:aws::provider", - "custom": true, - "id": "f5257a9a-43a2-4505-99cb-ada8543d3496", - "type": "pulumi:providers:aws", - "inputs": { - "version": "5.42.0" - }, - "outputs": { - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "propertyDependencies": { - "version": [] - }, - "created": "2023-10-05T21:19:04.243316Z", - "modified": "2023-10-05T21:19:04.243316Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1", - "custom": true, - "id": "vpc-039c56ba1df582bda", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "enableDnsSupport", - "instanceTenancy" - ], - "cidrBlock": "10.192.0.0/16", - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-039c56ba1df582bda", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.192.0.0/16", - "defaultNetworkAclId": "acl-0722b806d1f553b04", - "defaultRouteTableId": "rtb-0f2be38548299b3bd", - "defaultSecurityGroupId": "sg-0d610423cc969a2de", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": false, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-039c56ba1df582bda", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-0f2be38548299b3bd", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "provider": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", - "propertyDependencies": { - "cidrBlock": null - }, - "created": "2023-10-05T21:19:07.843508Z", - "modified": "2023-10-05T21:19:07.843508Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/subnet:Subnet::subnet1", - "custom": true, - "id": "subnet-064ec6f254490ff1c", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "cidrBlock": "10.192.20.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-039c56ba1df582bda" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-064ec6f254490ff1c", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "availabilityZoneId": "usw2-az2", - "cidrBlock": "10.192.20.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-064ec6f254490ff1c", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-039c56ba1df582bda" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ], - "provider": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "mapPublicIpOnLaunch": null, - "vpcId": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ] - }, - "created": "2023-10-05T21:19:08.749779Z", - "modified": "2023-10-05T21:19:08.749779Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/subnet:Subnet::subnet2", - "custom": true, - "id": "subnet-051f07d063513bea3", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "cidrBlock": "10.192.21.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-039c56ba1df582bda" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-051f07d063513bea3", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "availabilityZoneId": "usw2-az1", - "cidrBlock": "10.192.21.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-051f07d063513bea3", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-039c56ba1df582bda" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ], - "provider": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "mapPublicIpOnLaunch": null, - "vpcId": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ] - }, - "created": "2023-10-05T21:19:08.889103Z", - "modified": "2023-10-05T21:19:08.889103Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1", - "custom": true, - "id": "sg-0d52a4da392658e52", - "type": "aws:ec2/securityGroup:SecurityGroup", - "inputs": { - "__defaults": [ - "name", - "revokeRulesOnDelete" - ], - "description": "Allow TLS inbound traffic", - "egress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "0.0.0.0/0" - ], - "fromPort": 0, - "ipv6CidrBlocks": [ - "::/0" - ], - "protocol": "-1", - "self": false, - "toPort": 0 - } - ], - "ingress": [ - { - "__defaults": [ - "self" - ], - "cidrBlocks": [ - "10.192.0.0/16" - ], - "description": "TLS from VPC", - "fromPort": 443, - "protocol": "tcp", - "self": false, - "toPort": 443 - } - ], - "name": "securityGroupAllowTLS1-b9fc4a6", - "revokeRulesOnDelete": false, - "vpcId": "vpc-039c56ba1df582bda" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":900000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:security-group/sg-0d52a4da392658e52", - "description": "Allow TLS inbound traffic", - "egress": [ - { - "cidrBlocks": [ - "0.0.0.0/0" - ], - "description": "", - "fromPort": 0, - "ipv6CidrBlocks": [ - "::/0" - ], - "prefixListIds": [], - "protocol": "-1", - "securityGroups": [], - "self": false, - "toPort": 0 - } - ], - "id": "sg-0d52a4da392658e52", - "ingress": [ - { - "cidrBlocks": [ - "10.192.0.0/16" - ], - "description": "TLS from VPC", - "fromPort": 443, - "ipv6CidrBlocks": [], - "prefixListIds": [], - "protocol": "tcp", - "securityGroups": [], - "self": false, - "toPort": 443 - } - ], - "name": "securityGroupAllowTLS1-b9fc4a6", - "namePrefix": "", - "ownerId": "616138583583", - "revokeRulesOnDelete": false, - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-039c56ba1df582bda" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ], - "provider": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", - "propertyDependencies": { - "description": null, - "egress": null, - "ingress": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ], - "vpcId": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/vpc:Vpc::vpc1" - ] - }, - "created": "2023-10-05T21:19:11.096925Z", - "modified": "2023-10-05T21:19:11.096925Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:route53/resolverEndpoint:ResolverEndpoint::tested-resource", - "custom": true, - "id": "rslvr-in-7214ef4397f14849a", - "type": "aws:route53/resolverEndpoint:ResolverEndpoint", - "inputs": { - "__defaults": [ - "name" - ], - "direction": "INBOUND", - "ipAddresses": [ - { - "__defaults": [], - "subnetId": "subnet-064ec6f254490ff1c" - }, - { - "__defaults": [], - "ip": "10.192.21.4", - "subnetId": "subnet-051f07d063513bea3" - } - ], - "name": "tested-resource-bfcd9d1", - "securityGroupIds": [ - "sg-0d52a4da392658e52" - ] - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":600000000000,\"update\":600000000000}}", - "arn": "arn:aws:route53resolver:us-west-2:616138583583:resolver-endpoint/rslvr-in-7214ef4397f14849a", - "direction": "INBOUND", - "hostVpcId": "vpc-039c56ba1df582bda", - "id": "rslvr-in-7214ef4397f14849a", - "ipAddresses": [ - { - "ip": "10.192.20.212", - "ipId": "rni-f14d825d24db43469", - "subnetId": "subnet-064ec6f254490ff1c" - }, - { - "ip": "10.192.21.4", - "ipId": "rni-eff698d6aac4d148d", - "subnetId": "subnet-051f07d063513bea3" - } - ], - "name": "tested-resource-bfcd9d1", - "securityGroupIds": [ - "sg-0d52a4da392658e52" - ], - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:pulumi:Stack::test-p-it-antons-mac-route53-re-89f61aa4", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1", - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/subnet:Subnet::subnet1", - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/subnet:Subnet::subnet2" - ], - "provider": "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::pulumi:providers:aws::provider::f5257a9a-43a2-4505-99cb-ada8543d3496", - "propertyDependencies": { - "direction": null, - "ipAddresses": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/subnet:Subnet::subnet1", - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/subnet:Subnet::subnet2" - ], - "securityGroupIds": [ - "urn:pulumi:p-it-antons-mac-route53-re-89f61aa4::test::aws:ec2/securityGroup:SecurityGroup::securityGroupAllowTLS1" - ] - }, - "created": "2023-10-05T21:19:48.398897Z", - "modified": "2023-10-05T21:19:48.398897Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/stack.json new file mode 100755 index 00000000000..715f864842c --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/stack.json @@ -0,0 +1,160 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T18:15:55.179014-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:BMqCsUOVWns=:v1:6gm9YTlwyUeZvKdB:7XP5pt1/piUiK620qFnFV+fh9O13Gg==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T23:14:19.281071Z", + "modified": "2023-11-10T23:14:19.281071Z", + "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" + }, + { + "urn": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov", + "custom": true, + "id": "fba90568-2818-4148-b62e-038148852fc2", + "type": "pulumi:providers:aws", + "inputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "outputs": { + "region": "us-west-2", + "skipCredentialsValidation": "false", + "skipMetadataApiCheck": "true", + "skipRegionValidation": "true", + "version": "5.42.0" + }, + "parent": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "propertyDependencies": { + "region": null, + "skipCredentialsValidation": null, + "skipMetadataApiCheck": null, + "skipRegionValidation": null + }, + "created": "2023-11-10T23:14:20.807332Z", + "modified": "2023-11-10T23:14:20.807332Z", + "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:route53/zone:Zone::example.com", + "custom": true, + "id": "Z097280451OLZWU2PKIQ", + "type": "aws:route53/zone:Zone", + "inputs": { + "__defaults": [ + "forceDestroy", + "name" + ], + "comment": "Managed by Pulumi", + "forceDestroy": false, + "name": "example.com-8b845b8" + }, + "outputs": { + "arn": "arn:aws:route53:::hostedzone/Z097280451OLZWU2PKIQ", + "comment": "Managed by Pulumi", + "delegationSetId": "", + "forceDestroy": false, + "id": "Z097280451OLZWU2PKIQ", + "name": "example.com-8b845b8", + "nameServers": [ + "ns-1059.awsdns-04.org", + "ns-1586.awsdns-06.co.uk", + "ns-211.awsdns-26.com", + "ns-871.awsdns-44.net" + ], + "primaryNameServer": "ns-871.awsdns-44.net", + "tags": {}, + "tagsAll": {}, + "vpcs": [], + "zoneId": "Z097280451OLZWU2PKIQ" + }, + "parent": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::fba90568-2818-4148-b62e-038148852fc2", + "propertyDependencies": { + "comment": null + }, + "created": "2023-11-10T23:15:11.452795Z", + "modified": "2023-11-10T23:15:11.452795Z", + "sourcePosition": "project:///index.ts#21,22" + }, + { + "urn": "urn:pulumi:test::CloudWatch::aws:route53/record:Record::www-dev", + "custom": true, + "id": "Z097280451OLZWU2PKIQ_www_CNAME_dev", + "type": "aws:route53/record:Record", + "inputs": { + "__defaults": [], + "name": "www", + "records": [ + "dev.example.com" + ], + "setIdentifier": "dev", + "ttl": 5, + "type": "CNAME", + "weightedRoutingPolicies": [ + { + "__defaults": [], + "weight": 10 + } + ], + "zoneId": "Z097280451OLZWU2PKIQ" + }, + "outputs": { + "__meta": "{\"schema_version\":\"2\"}", + "fqdn": "www.example.com-8b845b8", + "healthCheckId": "", + "id": "Z097280451OLZWU2PKIQ_www_CNAME_dev", + "multivalueAnswerRoutingPolicy": false, + "name": "www", + "records": [ + "dev.example.com" + ], + "setIdentifier": "dev", + "ttl": 5, + "type": "CNAME", + "weightedRoutingPolicies": [ + { + "weight": 10 + } + ], + "zoneId": "Z097280451OLZWU2PKIQ" + }, + "parent": "urn:pulumi:test::CloudWatch::pulumi:pulumi:Stack::CloudWatch-test", + "dependencies": [ + "urn:pulumi:test::CloudWatch::aws:route53/zone:Zone::example.com" + ], + "provider": "urn:pulumi:test::CloudWatch::pulumi:providers:aws::prov::fba90568-2818-4148-b62e-038148852fc2", + "propertyDependencies": { + "name": null, + "records": null, + "setIdentifier": null, + "ttl": null, + "type": null, + "weightedRoutingPolicies": null, + "zoneId": [ + "urn:pulumi:test::CloudWatch::aws:route53/zone:Zone::example.com" + ] + }, + "created": "2023-11-10T23:15:55.178863Z", + "modified": "2023-11-10T23:15:55.178863Z", + "sourcePosition": "project:///index.ts#23,17" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/state.json deleted file mode 100755 index db04c388e47..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/route53/5.42.0/state.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T18:15:55.179014-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:BMqCsUOVWns=:v1:6gm9YTlwyUeZvKdB:7XP5pt1/piUiK620qFnFV+fh9O13Gg==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-route53-5af92cd0", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T23:14:19.281071Z", - "modified": "2023-11-10T23:14:19.281071Z", - "sourcePosition": "project:///node_modules/@pulumi/runtime/stack.ts#36,23" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:providers:aws::prov", - "custom": true, - "id": "fba90568-2818-4148-b62e-038148852fc2", - "type": "pulumi:providers:aws", - "inputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "outputs": { - "region": "us-west-2", - "skipCredentialsValidation": "false", - "skipMetadataApiCheck": "true", - "skipRegionValidation": "true", - "version": "5.42.0" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-route53-5af92cd0", - "propertyDependencies": { - "region": null, - "skipCredentialsValidation": null, - "skipMetadataApiCheck": null, - "skipRegionValidation": null - }, - "created": "2023-11-10T23:14:20.807332Z", - "modified": "2023-11-10T23:14:20.807332Z", - "sourcePosition": "project:///node_modules/@pulumi/provider.ts#128,9" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::aws:route53/zone:Zone::example.com", - "custom": true, - "id": "Z097280451OLZWU2PKIQ", - "type": "aws:route53/zone:Zone", - "inputs": { - "__defaults": [ - "forceDestroy", - "name" - ], - "comment": "Managed by Pulumi", - "forceDestroy": false, - "name": "example.com-8b845b8" - }, - "outputs": { - "arn": "arn:aws:route53:::hostedzone/Z097280451OLZWU2PKIQ", - "comment": "Managed by Pulumi", - "delegationSetId": "", - "forceDestroy": false, - "id": "Z097280451OLZWU2PKIQ", - "name": "example.com-8b845b8", - "nameServers": [ - "ns-1059.awsdns-04.org", - "ns-1586.awsdns-06.co.uk", - "ns-211.awsdns-26.com", - "ns-871.awsdns-44.net" - ], - "primaryNameServer": "ns-871.awsdns-44.net", - "tags": {}, - "tagsAll": {}, - "vpcs": [], - "zoneId": "Z097280451OLZWU2PKIQ" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-route53-5af92cd0", - "provider": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:providers:aws::prov::fba90568-2818-4148-b62e-038148852fc2", - "propertyDependencies": { - "comment": null - }, - "created": "2023-11-10T23:15:11.452795Z", - "modified": "2023-11-10T23:15:11.452795Z", - "sourcePosition": "project:///index.ts#21,22" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::aws:route53/record:Record::www-dev", - "custom": true, - "id": "Z097280451OLZWU2PKIQ_www_CNAME_dev", - "type": "aws:route53/record:Record", - "inputs": { - "__defaults": [], - "name": "www", - "records": [ - "dev.example.com" - ], - "setIdentifier": "dev", - "ttl": 5, - "type": "CNAME", - "weightedRoutingPolicies": [ - { - "__defaults": [], - "weight": 10 - } - ], - "zoneId": "Z097280451OLZWU2PKIQ" - }, - "outputs": { - "__meta": "{\"schema_version\":\"2\"}", - "fqdn": "www.example.com-8b845b8", - "healthCheckId": "", - "id": "Z097280451OLZWU2PKIQ_www_CNAME_dev", - "multivalueAnswerRoutingPolicy": false, - "name": "www", - "records": [ - "dev.example.com" - ], - "setIdentifier": "dev", - "ttl": 5, - "type": "CNAME", - "weightedRoutingPolicies": [ - { - "weight": 10 - } - ], - "zoneId": "Z097280451OLZWU2PKIQ" - }, - "parent": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:pulumi:Stack::CloudWatch-p-it-antons-mac-route53-5af92cd0", - "dependencies": [ - "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::aws:route53/zone:Zone::example.com" - ], - "provider": "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::pulumi:providers:aws::prov::fba90568-2818-4148-b62e-038148852fc2", - "propertyDependencies": { - "name": null, - "records": null, - "setIdentifier": null, - "ttl": null, - "type": null, - "weightedRoutingPolicies": null, - "zoneId": [ - "urn:pulumi:p-it-antons-mac-route53-5af92cd0::CloudWatch::aws:route53/zone:Zone::example.com" - ] - }, - "created": "2023-11-10T23:15:55.178863Z", - "modified": "2023-11-10T23:15:55.178863Z", - "sourcePosition": "project:///index.ts#23,17" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/stack.json new file mode 100755 index 00000000000..5aaf46a315d --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/stack.json @@ -0,0 +1,72 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:27:25.474658-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:nSg2QxdFT3Y=:v1:UqmoVcngMmRm2U+0:TSp+rG+TQTvh1CUAssKNA6sSxRVehA==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_secretsmanager_secret_Secret_1::pulumi:pulumi:Stack::aws_secretsmanager_secret_Secret_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:27:22.051796Z", + "modified": "2023-11-10T22:27:22.051796Z" + }, + { + "urn": "urn:pulumi:test::aws_secretsmanager_secret_Secret_1::pulumi:providers:aws::default", + "custom": true, + "id": "7195fbaa-2bb2-4d34-878d-99a764c38c28", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:27:23.682255Z", + "modified": "2023-11-10T22:27:23.682255Z" + }, + { + "urn": "urn:pulumi:test::aws_secretsmanager_secret_Secret_1::aws:secretsmanager/secret:Secret::example", + "custom": true, + "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:example-ZojJMM", + "type": "aws:secretsmanager/secret:Secret", + "inputs": { + "__defaults": [ + "forceOverwriteReplicaSecret", + "recoveryWindowInDays" + ], + "forceOverwriteReplicaSecret": false, + "name": "example", + "recoveryWindowInDays": 30 + }, + "outputs": { + "arn": "arn:aws:secretsmanager:us-west-2:616138583583:secret:example-ZojJMM", + "description": "", + "forceOverwriteReplicaSecret": false, + "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:example-ZojJMM", + "kmsKeyId": "", + "name": "example", + "namePrefix": "", + "policy": "", + "recoveryWindowInDays": 30, + "replicas": [], + "rotationEnabled": false, + "rotationLambdaArn": "", + "rotationRules": null, + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::aws_secretsmanager_secret_Secret_1::pulumi:pulumi:Stack::aws_secretsmanager_secret_Secret_1-test", + "provider": "urn:pulumi:test::aws_secretsmanager_secret_Secret_1::pulumi:providers:aws::default::7195fbaa-2bb2-4d34-878d-99a764c38c28", + "propertyDependencies": { + "name": null + }, + "created": "2023-11-10T22:27:25.474513Z", + "modified": "2023-11-10T22:27:25.474513Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/state.json deleted file mode 100755 index 42611255381..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/secretsmanager-secret/5.42.0/state.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:27:25.474658-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:nSg2QxdFT3Y=:v1:UqmoVcngMmRm2U+0:TSp+rG+TQTvh1CUAssKNA6sSxRVehA==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-secretsman-156bc074::aws_secretsmanager_secret_Secret_1::pulumi:pulumi:Stack::aws_secretsmanager_secret_Secret_1-p-it-antons-mac-secretsman-156bc074", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:27:22.051796Z", - "modified": "2023-11-10T22:27:22.051796Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-secretsman-156bc074::aws_secretsmanager_secret_Secret_1::pulumi:providers:aws::default", - "custom": true, - "id": "7195fbaa-2bb2-4d34-878d-99a764c38c28", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:27:23.682255Z", - "modified": "2023-11-10T22:27:23.682255Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-secretsman-156bc074::aws_secretsmanager_secret_Secret_1::aws:secretsmanager/secret:Secret::example", - "custom": true, - "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:example-ZojJMM", - "type": "aws:secretsmanager/secret:Secret", - "inputs": { - "__defaults": [ - "forceOverwriteReplicaSecret", - "recoveryWindowInDays" - ], - "forceOverwriteReplicaSecret": false, - "name": "example", - "recoveryWindowInDays": 30 - }, - "outputs": { - "arn": "arn:aws:secretsmanager:us-west-2:616138583583:secret:example-ZojJMM", - "description": "", - "forceOverwriteReplicaSecret": false, - "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:example-ZojJMM", - "kmsKeyId": "", - "name": "example", - "namePrefix": "", - "policy": "", - "recoveryWindowInDays": 30, - "replicas": [], - "rotationEnabled": false, - "rotationLambdaArn": "", - "rotationRules": null, - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-antons-mac-secretsman-156bc074::aws_secretsmanager_secret_Secret_1::pulumi:pulumi:Stack::aws_secretsmanager_secret_Secret_1-p-it-antons-mac-secretsman-156bc074", - "provider": "urn:pulumi:p-it-antons-mac-secretsman-156bc074::aws_secretsmanager_secret_Secret_1::pulumi:providers:aws::default::7195fbaa-2bb2-4d34-878d-99a764c38c28", - "propertyDependencies": { - "name": null - }, - "created": "2023-11-10T22:27:25.474513Z", - "modified": "2023-11-10T22:27:25.474513Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/stack.json new file mode 100755 index 00000000000..4f9ad17be0e --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/stack.json @@ -0,0 +1,115 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T15:57:54.574594Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:hG87nYev1Ws=:v1:h4wYweOvj1kFznNQ:zZTwj7p/zVvedcxPfzl6D/3LEaPG5g==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::secretversion::pulumi:pulumi:Stack::secretversion-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T15:57:49.901779Z", + "modified": "2024-03-12T15:57:49.901779Z" + }, + { + "urn": "urn:pulumi:test::secretversion::pulumi:providers:aws::default", + "custom": true, + "id": "f662d3c2-b1e9-4393-a6c1-a7ff51f64df4", + "type": "pulumi:providers:aws", + "created": "2024-03-12T15:57:51.600274Z", + "modified": "2024-03-12T15:57:51.600274Z" + }, + { + "urn": "urn:pulumi:test::secretversion::aws:secretsmanager/secret:Secret::mySecret", + "custom": true, + "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", + "type": "aws:secretsmanager/secret:Secret", + "inputs": { + "__defaults": [ + "forceOverwriteReplicaSecret", + "name", + "recoveryWindowInDays" + ], + "forceOverwriteReplicaSecret": false, + "name": "mySecret-a8aa50c", + "recoveryWindowInDays": 30 + }, + "outputs": { + "arn": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", + "description": "", + "forceOverwriteReplicaSecret": false, + "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", + "kmsKeyId": "", + "name": "mySecret-a8aa50c", + "namePrefix": "", + "policy": "", + "recoveryWindowInDays": 30, + "replicas": [], + "rotationEnabled": false, + "rotationLambdaArn": "", + "rotationRules": null, + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::secretversion::pulumi:pulumi:Stack::secretversion-test", + "provider": "urn:pulumi:test::secretversion::pulumi:providers:aws::default::f662d3c2-b1e9-4393-a6c1-a7ff51f64df4", + "created": "2024-03-12T15:57:54.17651Z", + "modified": "2024-03-12T15:57:54.17651Z" + }, + { + "urn": "urn:pulumi:test::secretversion::aws:secretsmanager/secretVersion:SecretVersion::mySecretVersion", + "custom": true, + "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H|EA71735A-EDE9-4926-85B4-3BE674666FCD", + "type": "aws:secretsmanager/secretVersion:SecretVersion", + "inputs": { + "__defaults": [], + "secretId": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", + "secretString": "MySecretVersionValue" + }, + "outputs": { + "arn": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", + "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H|EA71735A-EDE9-4926-85B4-3BE674666FCD", + "secretBinary": { + "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", + "ciphertext": "v1:Jg9Mqf9pwCho3B8J:cLuq/NRghiph6WVHyRXtisf2" + }, + "secretId": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", + "secretString": { + "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", + "ciphertext": "v1:s1FE2LsAjp/zlcsQ:BXTDAGZN80SeGJNxead2Q2dMkw/ixlvBkxHuMMkqIXMrZ8foCw4=" + }, + "versionId": "EA71735A-EDE9-4926-85B4-3BE674666FCD", + "versionStages": [ + "AWSCURRENT" + ] + }, + "parent": "urn:pulumi:test::secretversion::pulumi:pulumi:Stack::secretversion-test", + "dependencies": [ + "urn:pulumi:test::secretversion::aws:secretsmanager/secret:Secret::mySecret" + ], + "provider": "urn:pulumi:test::secretversion::pulumi:providers:aws::default::f662d3c2-b1e9-4393-a6c1-a7ff51f64df4", + "propertyDependencies": { + "secretId": [ + "urn:pulumi:test::secretversion::aws:secretsmanager/secret:Secret::mySecret" + ], + "secretString": null + }, + "additionalSecretOutputs": [ + "secretBinary", + "secretString" + ], + "created": "2024-03-12T15:57:54.574443Z", + "modified": "2024-03-12T15:57:54.574443Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/state.json deleted file mode 100755 index ba5aa977125..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/secretversion/5.42.0/state.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T15:57:54.574594Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:hG87nYev1Ws=:v1:h4wYweOvj1kFznNQ:zZTwj7p/zVvedcxPfzl6D/3LEaPG5g==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::pulumi:pulumi:Stack::secretversion-p-it-venelins-m-secretvers-28ccc281", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T15:57:49.901779Z", - "modified": "2024-03-12T15:57:49.901779Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::pulumi:providers:aws::default", - "custom": true, - "id": "f662d3c2-b1e9-4393-a6c1-a7ff51f64df4", - "type": "pulumi:providers:aws", - "created": "2024-03-12T15:57:51.600274Z", - "modified": "2024-03-12T15:57:51.600274Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::aws:secretsmanager/secret:Secret::mySecret", - "custom": true, - "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", - "type": "aws:secretsmanager/secret:Secret", - "inputs": { - "__defaults": [ - "forceOverwriteReplicaSecret", - "name", - "recoveryWindowInDays" - ], - "forceOverwriteReplicaSecret": false, - "name": "mySecret-a8aa50c", - "recoveryWindowInDays": 30 - }, - "outputs": { - "arn": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", - "description": "", - "forceOverwriteReplicaSecret": false, - "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", - "kmsKeyId": "", - "name": "mySecret-a8aa50c", - "namePrefix": "", - "policy": "", - "recoveryWindowInDays": 30, - "replicas": [], - "rotationEnabled": false, - "rotationLambdaArn": "", - "rotationRules": null, - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::pulumi:pulumi:Stack::secretversion-p-it-venelins-m-secretvers-28ccc281", - "provider": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::pulumi:providers:aws::default::f662d3c2-b1e9-4393-a6c1-a7ff51f64df4", - "created": "2024-03-12T15:57:54.17651Z", - "modified": "2024-03-12T15:57:54.17651Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::aws:secretsmanager/secretVersion:SecretVersion::mySecretVersion", - "custom": true, - "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H|EA71735A-EDE9-4926-85B4-3BE674666FCD", - "type": "aws:secretsmanager/secretVersion:SecretVersion", - "inputs": { - "__defaults": [], - "secretId": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", - "secretString": "MySecretVersionValue" - }, - "outputs": { - "arn": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", - "id": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H|EA71735A-EDE9-4926-85B4-3BE674666FCD", - "secretBinary": { - "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", - "ciphertext": "v1:Jg9Mqf9pwCho3B8J:cLuq/NRghiph6WVHyRXtisf2" - }, - "secretId": "arn:aws:secretsmanager:us-west-2:616138583583:secret:mySecret-a8aa50c-2Daf5H", - "secretString": { - "4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", - "ciphertext": "v1:s1FE2LsAjp/zlcsQ:BXTDAGZN80SeGJNxead2Q2dMkw/ixlvBkxHuMMkqIXMrZ8foCw4=" - }, - "versionId": "EA71735A-EDE9-4926-85B4-3BE674666FCD", - "versionStages": [ - "AWSCURRENT" - ] - }, - "parent": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::pulumi:pulumi:Stack::secretversion-p-it-venelins-m-secretvers-28ccc281", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::aws:secretsmanager/secret:Secret::mySecret" - ], - "provider": "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::pulumi:providers:aws::default::f662d3c2-b1e9-4393-a6c1-a7ff51f64df4", - "propertyDependencies": { - "secretId": [ - "urn:pulumi:p-it-venelins-m-secretvers-28ccc281::secretversion::aws:secretsmanager/secret:Secret::mySecret" - ], - "secretString": null - }, - "additionalSecretOutputs": [ - "secretBinary", - "secretString" - ], - "created": "2024-03-12T15:57:54.574443Z", - "modified": "2024-03-12T15:57:54.574443Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/stack.json new file mode 100755 index 00000000000..e49f24fac90 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/stack.json @@ -0,0 +1,87 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2023-11-10T17:11:33.785172-05:00", + "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", + "version": "v3.92.0" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:Cx6ieij5EqY=:v1:LJeGMAp3VdD0YgVz:38zfOWNeuSJ2yAJpkoPDD9C+Opnvww==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::aws_sns_topic_Topic_1::pulumi:pulumi:Stack::aws_sns_topic_Topic_1-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2023-11-10T22:11:29.729964Z", + "modified": "2023-11-10T22:11:29.729964Z" + }, + { + "urn": "urn:pulumi:test::aws_sns_topic_Topic_1::pulumi:providers:aws::default", + "custom": true, + "id": "b8ee8ff4-c33b-406f-b91d-2da0765a912d", + "type": "pulumi:providers:aws", + "created": "2023-11-10T22:11:31.300023Z", + "modified": "2023-11-10T22:11:31.300023Z" + }, + { + "urn": "urn:pulumi:test::aws_sns_topic_Topic_1::aws:sns/topic:Topic::user_updates", + "custom": true, + "id": "arn:aws:sns:us-west-2:616138583583:user-updates-topic", + "type": "aws:sns/topic:Topic", + "inputs": { + "__defaults": [ + "contentBasedDeduplication", + "fifoTopic" + ], + "contentBasedDeduplication": false, + "fifoTopic": false, + "name": "user-updates-topic" + }, + "outputs": { + "applicationFailureFeedbackRoleArn": "", + "applicationSuccessFeedbackRoleArn": "", + "applicationSuccessFeedbackSampleRate": 0, + "arn": "arn:aws:sns:us-west-2:616138583583:user-updates-topic", + "contentBasedDeduplication": false, + "deliveryPolicy": "", + "displayName": "", + "fifoTopic": false, + "firehoseFailureFeedbackRoleArn": "", + "firehoseSuccessFeedbackRoleArn": "", + "firehoseSuccessFeedbackSampleRate": 0, + "httpFailureFeedbackRoleArn": "", + "httpSuccessFeedbackRoleArn": "", + "httpSuccessFeedbackSampleRate": 0, + "id": "arn:aws:sns:us-west-2:616138583583:user-updates-topic", + "kmsMasterKeyId": "", + "lambdaFailureFeedbackRoleArn": "", + "lambdaSuccessFeedbackRoleArn": "", + "lambdaSuccessFeedbackSampleRate": 0, + "name": "user-updates-topic", + "namePrefix": "", + "owner": "616138583583", + "policy": "{\"Id\":\"__default_policy_ID\",\"Statement\":[{\"Action\":[\"SNS:GetTopicAttributes\",\"SNS:SetTopicAttributes\",\"SNS:AddPermission\",\"SNS:RemovePermission\",\"SNS:DeleteTopic\",\"SNS:Subscribe\",\"SNS:ListSubscriptionsByTopic\",\"SNS:Publish\"],\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"616138583583\"}},\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:us-west-2:616138583583:user-updates-topic\",\"Sid\":\"__default_statement_ID\"}],\"Version\":\"2008-10-17\"}", + "signatureVersion": 0, + "sqsFailureFeedbackRoleArn": "", + "sqsSuccessFeedbackRoleArn": "", + "sqsSuccessFeedbackSampleRate": 0, + "tags": {}, + "tagsAll": {}, + "tracingConfig": "" + }, + "parent": "urn:pulumi:test::aws_sns_topic_Topic_1::pulumi:pulumi:Stack::aws_sns_topic_Topic_1-test", + "provider": "urn:pulumi:test::aws_sns_topic_Topic_1::pulumi:providers:aws::default::b8ee8ff4-c33b-406f-b91d-2da0765a912d", + "propertyDependencies": { + "name": null + }, + "created": "2023-11-10T22:11:33.784938Z", + "modified": "2023-11-10T22:11:33.784938Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/state.json deleted file mode 100755 index 2e7000c9ce0..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/sns-topic/5.42.0/state.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2023-11-10T17:11:33.785172-05:00", - "magic": "7a709c148c841bd111f454593cb3e2e763c9bdd1e384d02234b29bc070e10e78", - "version": "v3.92.0" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:Cx6ieij5EqY=:v1:LJeGMAp3VdD0YgVz:38zfOWNeuSJ2yAJpkoPDD9C+Opnvww==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-antons-mac-sns-topic-03f868f2::aws_sns_topic_Topic_1::pulumi:pulumi:Stack::aws_sns_topic_Topic_1-p-it-antons-mac-sns-topic-03f868f2", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2023-11-10T22:11:29.729964Z", - "modified": "2023-11-10T22:11:29.729964Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-sns-topic-03f868f2::aws_sns_topic_Topic_1::pulumi:providers:aws::default", - "custom": true, - "id": "b8ee8ff4-c33b-406f-b91d-2da0765a912d", - "type": "pulumi:providers:aws", - "created": "2023-11-10T22:11:31.300023Z", - "modified": "2023-11-10T22:11:31.300023Z" - }, - { - "urn": "urn:pulumi:p-it-antons-mac-sns-topic-03f868f2::aws_sns_topic_Topic_1::aws:sns/topic:Topic::user_updates", - "custom": true, - "id": "arn:aws:sns:us-west-2:616138583583:user-updates-topic", - "type": "aws:sns/topic:Topic", - "inputs": { - "__defaults": [ - "contentBasedDeduplication", - "fifoTopic" - ], - "contentBasedDeduplication": false, - "fifoTopic": false, - "name": "user-updates-topic" - }, - "outputs": { - "applicationFailureFeedbackRoleArn": "", - "applicationSuccessFeedbackRoleArn": "", - "applicationSuccessFeedbackSampleRate": 0, - "arn": "arn:aws:sns:us-west-2:616138583583:user-updates-topic", - "contentBasedDeduplication": false, - "deliveryPolicy": "", - "displayName": "", - "fifoTopic": false, - "firehoseFailureFeedbackRoleArn": "", - "firehoseSuccessFeedbackRoleArn": "", - "firehoseSuccessFeedbackSampleRate": 0, - "httpFailureFeedbackRoleArn": "", - "httpSuccessFeedbackRoleArn": "", - "httpSuccessFeedbackSampleRate": 0, - "id": "arn:aws:sns:us-west-2:616138583583:user-updates-topic", - "kmsMasterKeyId": "", - "lambdaFailureFeedbackRoleArn": "", - "lambdaSuccessFeedbackRoleArn": "", - "lambdaSuccessFeedbackSampleRate": 0, - "name": "user-updates-topic", - "namePrefix": "", - "owner": "616138583583", - "policy": "{\"Id\":\"__default_policy_ID\",\"Statement\":[{\"Action\":[\"SNS:GetTopicAttributes\",\"SNS:SetTopicAttributes\",\"SNS:AddPermission\",\"SNS:RemovePermission\",\"SNS:DeleteTopic\",\"SNS:Subscribe\",\"SNS:ListSubscriptionsByTopic\",\"SNS:Publish\"],\"Condition\":{\"StringEquals\":{\"AWS:SourceOwner\":\"616138583583\"}},\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:us-west-2:616138583583:user-updates-topic\",\"Sid\":\"__default_statement_ID\"}],\"Version\":\"2008-10-17\"}", - "signatureVersion": 0, - "sqsFailureFeedbackRoleArn": "", - "sqsSuccessFeedbackRoleArn": "", - "sqsSuccessFeedbackSampleRate": 0, - "tags": {}, - "tagsAll": {}, - "tracingConfig": "" - }, - "parent": "urn:pulumi:p-it-antons-mac-sns-topic-03f868f2::aws_sns_topic_Topic_1::pulumi:pulumi:Stack::aws_sns_topic_Topic_1-p-it-antons-mac-sns-topic-03f868f2", - "provider": "urn:pulumi:p-it-antons-mac-sns-topic-03f868f2::aws_sns_topic_Topic_1::pulumi:providers:aws::default::b8ee8ff4-c33b-406f-b91d-2da0765a912d", - "propertyDependencies": { - "name": null - }, - "created": "2023-11-10T22:11:33.784938Z", - "modified": "2023-11-10T22:11:33.784938Z" - } - ] - } -} diff --git a/provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/stack.json b/provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/stack.json new file mode 100755 index 00000000000..d7c46d27183 --- /dev/null +++ b/provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/stack.json @@ -0,0 +1,258 @@ +{ + "version": 3, + "deployment": { + "manifest": { + "time": "2024-03-12T15:43:51.864508Z", + "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", + "version": "v3.108.1" + }, + "secrets_providers": { + "type": "passphrase", + "state": { + "salt": "v1:wAI/p3mlsBI=:v1:vMz1p/r6vSl/S4R1:Ke7zY8YnCzrBOx316/0o+1dR5sz00A==" + } + }, + "resources": [ + { + "urn": "urn:pulumi:test::subnet-group::pulumi:pulumi:Stack::subnet-group-test", + "custom": false, + "type": "pulumi:pulumi:Stack", + "created": "2024-03-12T15:43:41.941051Z", + "modified": "2024-03-12T15:43:41.941051Z" + }, + { + "urn": "urn:pulumi:test::subnet-group::pulumi:providers:aws::default", + "custom": true, + "id": "9e38bba5-9747-4b19-b07f-2e584de74ac7", + "type": "pulumi:providers:aws", + "created": "2024-03-12T15:43:43.678054Z", + "modified": "2024-03-12T15:43:43.678054Z" + }, + { + "urn": "urn:pulumi:test::subnet-group::aws:ec2/vpc:Vpc::myVpc", + "custom": true, + "id": "vpc-0fe32922af7ae59ee", + "type": "aws:ec2/vpc:Vpc", + "inputs": { + "__defaults": [ + "enableDnsSupport", + "instanceTenancy" + ], + "cidrBlock": "10.0.0.0/16", + "enableDnsSupport": true, + "instanceTenancy": "default" + }, + "outputs": { + "__meta": "{\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-0fe32922af7ae59ee", + "assignGeneratedIpv6CidrBlock": false, + "cidrBlock": "10.0.0.0/16", + "defaultNetworkAclId": "acl-04f52678672948ef1", + "defaultRouteTableId": "rtb-01b763174664bd941", + "defaultSecurityGroupId": "sg-00855c9436d6732d1", + "dhcpOptionsId": "dopt-1649d26e", + "enableClassiclink": false, + "enableClassiclinkDnsSupport": false, + "enableDnsHostnames": false, + "enableDnsSupport": true, + "enableNetworkAddressUsageMetrics": false, + "id": "vpc-0fe32922af7ae59ee", + "instanceTenancy": "default", + "ipv6AssociationId": "", + "ipv6CidrBlock": "", + "ipv6CidrBlockNetworkBorderGroup": "", + "ipv6IpamPoolId": "", + "ipv6NetmaskLength": 0, + "mainRouteTableId": "rtb-01b763174664bd941", + "ownerId": "616138583583", + "tags": {}, + "tagsAll": {} + }, + "parent": "urn:pulumi:test::subnet-group::pulumi:pulumi:Stack::subnet-group-test", + "provider": "urn:pulumi:test::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", + "propertyDependencies": { + "cidrBlock": null + }, + "created": "2024-03-12T15:43:48.834377Z", + "modified": "2024-03-12T15:43:48.834377Z" + }, + { + "urn": "urn:pulumi:test::subnet-group::aws:ec2/subnet:Subnet::mysubnet", + "custom": true, + "id": "subnet-0c7fa5789dd25cd20", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "cidrBlock": "10.0.1.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-0fe32922af7ae59ee" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0c7fa5789dd25cd20", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2a", + "availabilityZoneId": "usw2-az2", + "cidrBlock": "10.0.1.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-0c7fa5789dd25cd20", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0fe32922af7ae59ee" + }, + "parent": "urn:pulumi:test::subnet-group::pulumi:pulumi:Stack::subnet-group-test", + "dependencies": [ + "urn:pulumi:test::subnet-group::aws:ec2/vpc:Vpc::myVpc" + ], + "provider": "urn:pulumi:test::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::subnet-group::aws:ec2/vpc:Vpc::myVpc" + ] + }, + "created": "2024-03-12T15:43:49.823097Z", + "modified": "2024-03-12T15:43:49.823097Z" + }, + { + "urn": "urn:pulumi:test::subnet-group::aws:ec2/subnet:Subnet::mysubnet2", + "custom": true, + "id": "subnet-0564be685b5f37bfc", + "type": "aws:ec2/subnet:Subnet", + "inputs": { + "__defaults": [ + "assignIpv6AddressOnCreation", + "enableDns64", + "enableResourceNameDnsARecordOnLaunch", + "enableResourceNameDnsAaaaRecordOnLaunch", + "ipv6Native", + "mapPublicIpOnLaunch" + ], + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "cidrBlock": "10.0.2.0/24", + "enableDns64": false, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "ipv6Native": false, + "mapPublicIpOnLaunch": false, + "vpcId": "vpc-0fe32922af7ae59ee" + }, + "outputs": { + "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", + "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0564be685b5f37bfc", + "assignIpv6AddressOnCreation": false, + "availabilityZone": "us-west-2b", + "availabilityZoneId": "usw2-az1", + "cidrBlock": "10.0.2.0/24", + "customerOwnedIpv4Pool": "", + "enableDns64": false, + "enableLniAtDeviceIndex": 0, + "enableResourceNameDnsARecordOnLaunch": false, + "enableResourceNameDnsAaaaRecordOnLaunch": false, + "id": "subnet-0564be685b5f37bfc", + "ipv6CidrBlock": "", + "ipv6CidrBlockAssociationId": "", + "ipv6Native": false, + "mapCustomerOwnedIpOnLaunch": false, + "mapPublicIpOnLaunch": false, + "outpostArn": "", + "ownerId": "616138583583", + "privateDnsHostnameTypeOnLaunch": "ip-name", + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0fe32922af7ae59ee" + }, + "parent": "urn:pulumi:test::subnet-group::pulumi:pulumi:Stack::subnet-group-test", + "dependencies": [ + "urn:pulumi:test::subnet-group::aws:ec2/vpc:Vpc::myVpc" + ], + "provider": "urn:pulumi:test::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", + "propertyDependencies": { + "availabilityZone": null, + "cidrBlock": null, + "vpcId": [ + "urn:pulumi:test::subnet-group::aws:ec2/vpc:Vpc::myVpc" + ] + }, + "created": "2024-03-12T15:43:50.015923Z", + "modified": "2024-03-12T15:43:50.015923Z" + }, + { + "urn": "urn:pulumi:test::subnet-group::aws:rds/subnetGroup:SubnetGroup::subnetgroup", + "custom": true, + "id": "subnetgroup-61ea626", + "type": "aws:rds/subnetGroup:SubnetGroup", + "inputs": { + "__defaults": [ + "description", + "name" + ], + "description": "Managed by Pulumi", + "name": "subnetgroup-61ea626", + "subnetIds": [ + "subnet-0c7fa5789dd25cd20", + "subnet-0564be685b5f37bfc" + ] + }, + "outputs": { + "arn": "arn:aws:rds:us-west-2:616138583583:subgrp:subnetgroup-61ea626", + "description": "Managed by Pulumi", + "id": "subnetgroup-61ea626", + "name": "subnetgroup-61ea626", + "namePrefix": "", + "subnetIds": [ + "subnet-0c7fa5789dd25cd20", + "subnet-0564be685b5f37bfc" + ], + "supportedNetworkTypes": [ + "IPV4" + ], + "tags": {}, + "tagsAll": {}, + "vpcId": "vpc-0fe32922af7ae59ee" + }, + "parent": "urn:pulumi:test::subnet-group::pulumi:pulumi:Stack::subnet-group-test", + "dependencies": [ + "urn:pulumi:test::subnet-group::aws:ec2/subnet:Subnet::mysubnet", + "urn:pulumi:test::subnet-group::aws:ec2/subnet:Subnet::mysubnet2" + ], + "provider": "urn:pulumi:test::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", + "propertyDependencies": { + "subnetIds": [ + "urn:pulumi:test::subnet-group::aws:ec2/subnet:Subnet::mysubnet", + "urn:pulumi:test::subnet-group::aws:ec2/subnet:Subnet::mysubnet2" + ] + }, + "created": "2024-03-12T15:43:51.864307Z", + "modified": "2024-03-12T15:43:51.864307Z" + } + ] + } +} \ No newline at end of file diff --git a/provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/state.json b/provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/state.json deleted file mode 100755 index 8f222c322de..00000000000 --- a/provider/testdata/recorded/TestProviderUpgrade/subnet-group/5.42.0/state.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "version": 3, - "deployment": { - "manifest": { - "time": "2024-03-12T15:43:51.864508Z", - "magic": "4fa6a6dae0ccab3589c700b0790a52fa47015f8ec72d37a2e10816857250b8c2", - "version": "v3.108.1" - }, - "secrets_providers": { - "type": "passphrase", - "state": { - "salt": "v1:wAI/p3mlsBI=:v1:vMz1p/r6vSl/S4R1:Ke7zY8YnCzrBOx316/0o+1dR5sz00A==" - } - }, - "resources": [ - { - "urn": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:pulumi:Stack::subnet-group-p-it-venelins-m-subnet-gro-a50dffc9", - "custom": false, - "type": "pulumi:pulumi:Stack", - "created": "2024-03-12T15:43:41.941051Z", - "modified": "2024-03-12T15:43:41.941051Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:providers:aws::default", - "custom": true, - "id": "9e38bba5-9747-4b19-b07f-2e584de74ac7", - "type": "pulumi:providers:aws", - "created": "2024-03-12T15:43:43.678054Z", - "modified": "2024-03-12T15:43:43.678054Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/vpc:Vpc::myVpc", - "custom": true, - "id": "vpc-0fe32922af7ae59ee", - "type": "aws:ec2/vpc:Vpc", - "inputs": { - "__defaults": [ - "enableDnsSupport", - "instanceTenancy" - ], - "cidrBlock": "10.0.0.0/16", - "enableDnsSupport": true, - "instanceTenancy": "default" - }, - "outputs": { - "__meta": "{\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:vpc/vpc-0fe32922af7ae59ee", - "assignGeneratedIpv6CidrBlock": false, - "cidrBlock": "10.0.0.0/16", - "defaultNetworkAclId": "acl-04f52678672948ef1", - "defaultRouteTableId": "rtb-01b763174664bd941", - "defaultSecurityGroupId": "sg-00855c9436d6732d1", - "dhcpOptionsId": "dopt-1649d26e", - "enableClassiclink": false, - "enableClassiclinkDnsSupport": false, - "enableDnsHostnames": false, - "enableDnsSupport": true, - "enableNetworkAddressUsageMetrics": false, - "id": "vpc-0fe32922af7ae59ee", - "instanceTenancy": "default", - "ipv6AssociationId": "", - "ipv6CidrBlock": "", - "ipv6CidrBlockNetworkBorderGroup": "", - "ipv6IpamPoolId": "", - "ipv6NetmaskLength": 0, - "mainRouteTableId": "rtb-01b763174664bd941", - "ownerId": "616138583583", - "tags": {}, - "tagsAll": {} - }, - "parent": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:pulumi:Stack::subnet-group-p-it-venelins-m-subnet-gro-a50dffc9", - "provider": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", - "propertyDependencies": { - "cidrBlock": null - }, - "created": "2024-03-12T15:43:48.834377Z", - "modified": "2024-03-12T15:43:48.834377Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/subnet:Subnet::mysubnet", - "custom": true, - "id": "subnet-0c7fa5789dd25cd20", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "cidrBlock": "10.0.1.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-0fe32922af7ae59ee" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0c7fa5789dd25cd20", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2a", - "availabilityZoneId": "usw2-az2", - "cidrBlock": "10.0.1.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-0c7fa5789dd25cd20", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0fe32922af7ae59ee" - }, - "parent": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:pulumi:Stack::subnet-group-p-it-venelins-m-subnet-gro-a50dffc9", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/vpc:Vpc::myVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/vpc:Vpc::myVpc" - ] - }, - "created": "2024-03-12T15:43:49.823097Z", - "modified": "2024-03-12T15:43:49.823097Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/subnet:Subnet::mysubnet2", - "custom": true, - "id": "subnet-0564be685b5f37bfc", - "type": "aws:ec2/subnet:Subnet", - "inputs": { - "__defaults": [ - "assignIpv6AddressOnCreation", - "enableDns64", - "enableResourceNameDnsARecordOnLaunch", - "enableResourceNameDnsAaaaRecordOnLaunch", - "ipv6Native", - "mapPublicIpOnLaunch" - ], - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "cidrBlock": "10.0.2.0/24", - "enableDns64": false, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "ipv6Native": false, - "mapPublicIpOnLaunch": false, - "vpcId": "vpc-0fe32922af7ae59ee" - }, - "outputs": { - "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":1200000000000},\"schema_version\":\"1\"}", - "arn": "arn:aws:ec2:us-west-2:616138583583:subnet/subnet-0564be685b5f37bfc", - "assignIpv6AddressOnCreation": false, - "availabilityZone": "us-west-2b", - "availabilityZoneId": "usw2-az1", - "cidrBlock": "10.0.2.0/24", - "customerOwnedIpv4Pool": "", - "enableDns64": false, - "enableLniAtDeviceIndex": 0, - "enableResourceNameDnsARecordOnLaunch": false, - "enableResourceNameDnsAaaaRecordOnLaunch": false, - "id": "subnet-0564be685b5f37bfc", - "ipv6CidrBlock": "", - "ipv6CidrBlockAssociationId": "", - "ipv6Native": false, - "mapCustomerOwnedIpOnLaunch": false, - "mapPublicIpOnLaunch": false, - "outpostArn": "", - "ownerId": "616138583583", - "privateDnsHostnameTypeOnLaunch": "ip-name", - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0fe32922af7ae59ee" - }, - "parent": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:pulumi:Stack::subnet-group-p-it-venelins-m-subnet-gro-a50dffc9", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/vpc:Vpc::myVpc" - ], - "provider": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", - "propertyDependencies": { - "availabilityZone": null, - "cidrBlock": null, - "vpcId": [ - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/vpc:Vpc::myVpc" - ] - }, - "created": "2024-03-12T15:43:50.015923Z", - "modified": "2024-03-12T15:43:50.015923Z" - }, - { - "urn": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:rds/subnetGroup:SubnetGroup::subnetgroup", - "custom": true, - "id": "subnetgroup-61ea626", - "type": "aws:rds/subnetGroup:SubnetGroup", - "inputs": { - "__defaults": [ - "description", - "name" - ], - "description": "Managed by Pulumi", - "name": "subnetgroup-61ea626", - "subnetIds": [ - "subnet-0c7fa5789dd25cd20", - "subnet-0564be685b5f37bfc" - ] - }, - "outputs": { - "arn": "arn:aws:rds:us-west-2:616138583583:subgrp:subnetgroup-61ea626", - "description": "Managed by Pulumi", - "id": "subnetgroup-61ea626", - "name": "subnetgroup-61ea626", - "namePrefix": "", - "subnetIds": [ - "subnet-0c7fa5789dd25cd20", - "subnet-0564be685b5f37bfc" - ], - "supportedNetworkTypes": [ - "IPV4" - ], - "tags": {}, - "tagsAll": {}, - "vpcId": "vpc-0fe32922af7ae59ee" - }, - "parent": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:pulumi:Stack::subnet-group-p-it-venelins-m-subnet-gro-a50dffc9", - "dependencies": [ - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/subnet:Subnet::mysubnet", - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/subnet:Subnet::mysubnet2" - ], - "provider": "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::pulumi:providers:aws::default::9e38bba5-9747-4b19-b07f-2e584de74ac7", - "propertyDependencies": { - "subnetIds": [ - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/subnet:Subnet::mysubnet", - "urn:pulumi:p-it-venelins-m-subnet-gro-a50dffc9::subnet-group::aws:ec2/subnet:Subnet::mysubnet2" - ] - }, - "created": "2024-03-12T15:43:51.864307Z", - "modified": "2024-03-12T15:43:51.864307Z" - } - ] - } -}