boundless-queen-72669
05/19/2022, 2:12 PMproud-machine-85126
05/19/2022, 4:51 PM2147483647
. I've tried with both pulumi config set pulumi:noSyncCalls true
and not set. Any suggestions? I now have 1000s of resources so simply validating the state takes 20+min
(This is using the pulumi cli)fast-river-57630
05/19/2022, 5:23 PMdamp-flower-48607
05/19/2022, 5:29 PMbored-jewelry-6309
05/19/2022, 6:19 PMbored-jewelry-6309
05/19/2022, 6:22 PMfancy-vase-72193
05/20/2022, 5:33 AMpurple-sundown-54409
05/20/2022, 11:13 AMpurple-megabyte-83002
05/20/2022, 4:15 PMerror: Error: package.json export path for ".pnpm/tslib@2.4.0/node_modules/tslib/tslib.js" not found
at ModuleMap.get (/home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/runtime/closure/package.ts:216:16)
at Object.getModuleFromPath (/home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/runtime/closure/package.ts:265:6)
at /home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/runtime/closure/createClosure.ts:1229:19
at Generator.next (<anonymous>)
at /home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/pulumi/runtime/closure/createClosure.js:21:71
at new Promise (<anonymous>)
at __awaiter (/home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/pulumi/runtime/closure/createClosure.js:17:12)
at captureModuleAsync (/home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/pulumi/runtime/closure/createClosure.js:871:20)
at /home/orphee/workspace/app/node_modules/.pnpm/@pulumi+pulumi@3.33.1/node_modules/@pulumi/runtime/closure/createClosure.ts:931:19
at Generator.next (<anonymous>)
curved-morning-41391
05/20/2022, 7:38 PMwhite-chef-55657
05/20/2022, 7:45 PMsuper(pulumi.interpolate`${opts.parent?.urn}:cluster`, name, {}, opts);
as the constructor won’t take an Output, and I can’t nest the super inside an apply
has anyone tried doing something like this?salmon-truck-53389
05/20/2022, 8:55 PMshy-translator-25082
05/20/2022, 9:25 PMaverage-tiger-58107
05/20/2022, 10:11 PMawsx
beta, version 1.0.0-beta.5
. I am encountering an issue with the plugin when attempting pulumi up
locally on my M1 mac.
Plugin seems to be working fine on github actions linux hosts.
error: could not load plugin for awsx provider 'urn:pulumi:dev::cfx-solana::pulumi:providers:awsx::default_1_0_0_beta_5': could not read plugin [/Users/wizardfiction/.pulumi/plugins/resource-awsx-v1.0.0-beta.5/pulumi-resource-awsx] stdout: EOF
magnificent-smartphone-40853
05/21/2022, 12:12 AMignoreChanges: ['taskDefinitionArgs.containers[*].image']
where containers
is an array.average-tiger-58107
05/21/2022, 1:13 AMFor example:
yaml
config:
namespace:service:
- name: my-service
secrets:
- name: SECRET_NAME
value:
secure: ...
...
typescript
interface ServiceConfig {
name: string;
secrets: Secret[];
}
interface Secret {
name: string;
value: pulumi.Output<string>;
}
// Secret values appear to be read as secrets but docs suggest specifically using secret getters, making below seem like a bad idea
const serviceConfig = new pulumi.Config().requireObject<ServiceConfig>("service");
// All values will be read as secrets which I think would work fine but not optimal
const secretServiceConfig = new pulumi.Config().requireSecretObject<ServiceConfig>("service")
Ultimately I would like to be able to recursively unpack config values, using secret and non-secret getters respectively. I have tried a few approaches but can't seem to get anything to work. Is this a crazy configuration structure in the first place? I like this approach because it allows me to dynamically supply configuration values to my container's runtime environment without modifying the typescript codemagnificent-smartphone-40853
05/21/2022, 1:32 AMaws.ec2.Vpc
without having to destroy the existing vpc & subnets?
I started out with awsx.ec2.Vpc, and realize that we do not have enough control of the subnet / route table associations.white-chef-55657
05/21/2022, 6:04 AMpanic: fatal: An assertion has failed
goroutine 144 [running]:
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
/Users/runner/work/pulumi/pulumi/sdk/go/common/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)>
/Users/runner/work/pulumi/pulumi/sdk/go/common/util/contract/assert.go:26
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.NewDeleteReplacementStep|github.com/pulumi/pulumi/pkg/v3/resource/deploy.NewDeleteReplacementStep>(0xc0004116b0, 0xc001058ea0, 0x80)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step.go:306 +0x16c
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateStepsFromDiff(0xc000647320|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateStepsFromDiff(0xc000647320>, {0x7f17ebbb5258, 0xc001f7cdf0}, {0xc002a3c870, 0x0}, 0xc000cb77a0, 0xc0005e9b00, 0xc0009763c0, 0xc0019d6480, 0xc001aa9f80, ...)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:835 +0x1445
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateSteps(0xc000647320|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateSteps(0xc000647320>, {0x7f17ebbb5258, 0xc001f7cdf0})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:622 +0x1cf2
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).GenerateSteps(0xc000647320|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).GenerateSteps(0xc000647320>, {0x7f17ebbb5258, 0xc001f7cdf0})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:190 +0x46
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).handleSingleEvent(0xc0006292a8|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).handleSingleEvent(0xc0006292a8>, {0x2205760, 0xc001f7cdf0})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:447 +0xe5
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute.func3(0xc00067d800|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute.func3(0xc00067d800>, 0xc0006292a8, 0xc001e4c080, {0x2242b50, 0xc001e2e400}, 0x0, 0x0, {0x2242bf8, 0xc001a46420})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:284 +0x273
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0xc0006292a8|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0xc0006292a8>, {0x2242bf8, 0xc001a46420}, {{0x7f17eb8e7180, 0xc000fc11e0}, 0x7fffffff, 0x0, 0x0, {0x3230378, 0x0, ...}, ...}, ...)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:300 +0x99f
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(0xc0004116b0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(0xc0004116b0>, {0x2242bf8, 0xc001a46420}, {{0x7f17eb8e7180, 0xc000fc11e0}, 0x7fffffff, 0x0, 0x0, {0x3230378, 0x0, ...}, ...}, ...)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:432 +0xd0
<http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()>
/Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:269 +0x250
created by <http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run>
/Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:252 +0x365
hundreds-toothbrush-20089
05/21/2022, 11:29 AMpurple-sundown-54409
05/21/2022, 6:53 PMSubnetRouteTableAssociation
…victorious-ghost-35676
05/21/2022, 7:12 PMwhite-chef-55657
05/22/2022, 11:25 AMmany-garden-84306
05/22/2022, 5:37 PMblue-leather-96987
05/22/2022, 9:46 PMpurple-sundown-54409
05/23/2022, 11:37 AMadamant-father-26302
05/23/2022, 1:09 PMpulumi destroy
?damp-honey-93158
05/23/2022, 1:36 PMgreat-sunset-355
05/23/2022, 1:38 PMOnDelete
is called on resource?salmon-art-85736
05/23/2022, 8:05 PMfaint-balloon-33174
05/23/2022, 8:19 PMfaint-balloon-33174
05/23/2022, 8:19 PMfew-wolf-27303
05/23/2022, 8:42 PMorange-policeman-59119
05/23/2022, 8:42 PMpbkdf2
with 1 million rounds and a per-environment salt. This function is provided by the official golang package golang.org/x/crypto/pbkdf2
The encryption algorithm is AES256GCM, which was created using crypto/aes
and crypto/cipher
. The nonce is randomly generated via cryptorand.Read
faint-balloon-33174
05/23/2022, 8:49 PMorange-policeman-59119
05/23/2022, 8:50 PMVarious Pulumi editions offer configurable secrets management options. By default, the Pulumi-hosted backend (app.pulumi.com) manages per-stack AWS KMS-based encryption keys on the server. All secrets are sent over HTTPS to app.pulumi.com, and the backend uses AES256GCM to encrypt values with the stack-specific key.