shy-butcher-69105
10/14/2021, 10:21 AMpulumi up
today I'm getting a non-ending run (at least 17m).
⢠logging with v=9
didn't reveal anything
⢠tracing with pulumi up --logtostderr -v=9 --tracing=file:./trace
then PULUMI_DEBUG_COMMANDS=1 pulumi view-trace ./up.trace
shows:
⦠17m in pulumi plan
, which includes 17m in both /pulumirpc.LanguageRuntime/Run
and /pulumirpc.ResourceProvider/Configure
is there a way to debug this further?
(for context, Win10 powershell (replicates with CMD), pulumi v3.14.0, making a single change on AWS.IAM, using hostedboundless-angle-56560
10/14/2021, 2:56 PMhigh-morning-17948
10/14/2021, 6:58 PMbrave-angle-33257
10/14/2021, 8:16 PMbuildspec.yml
file I'm trying to read in to aws.codebuild.Project as a variable, but using fs.readFileSync
I get: Type 'Buffer' is not assignable to type 'Input<string>'.
brave-angle-33257
10/15/2021, 3:29 AM"Error: Detected multiple versions of '@pulumi/pulumi' in use in an inline automation api program.\nUse the yarn 'resolutions' field to pin to a single version: <https://github.com/pulumi/pulumi/issues/5449>."
I locked my version to 3.14.0
but I see the dependency of pulumi/aws
has:
"@pulumi/aws@4.24.1":
version "4.24.1"
...
dependencies:
"@pulumi/pulumi" "^3.0.0"
and also the package was just updated an hour ago.. is this the cause? not sure how else I can avoid this issue and it just popped upbrave-angle-33257
10/15/2021, 3:35 AM^3.0.0
to match the dependency of the pulumi/aws package and build the whole thing at once each time to make sure they're all on same versionloud-bear-51491
10/15/2021, 8:01 AMType Name Status Info
pulumi:pulumi:Stack Infra-dev **failed** 1 error
⢠āā awsacmCertificate dev-albCertificateĀ deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_website2Ā deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_websiteĀ deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_doc_api_boĀ deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_doc_apiĀ deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_flowerĀ deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_pgwebĀ deleting failedĀ 2 errors
⢠āā awsacmCertificate dev-albCertificate_boĀ deleting failedĀ 2 errors
Diagnostics:
Resources:
wsacmCertificate (dev-albCertificate):
error: deleting urnpulumidev:Infraawsacm/certificateCertificatedev albCertificate 1 error occurred:
* error deleting ACM Certificate (arnawsacmus west 2xxx:certificate/79945fcc-dd08-4bbb-b3d4-2081c1069f66): ResourceInUseException: Certificate arnawsacmus west 2xxx:certificate/79945fcc-dd08-4bbb-b3d4-2081c1069f66 in account 287991343765 is in use.
error: post-step event returned an error: failed to save snapshot: renewing lease: [403] The provided update token has expired.
Duration: 20m9s
error: failed to complete update: renewing lease: [403] The provided update token has expired.hundreds-airport-37168
10/15/2021, 10:50 AMhundreds-airport-37168
10/15/2021, 11:41 AMastonishing-quill-88807
10/15/2021, 1:10 PMauth_logins
parameter, and as part of that I'm setting the address
in the initialization and setting the token to an empty string. Until I set the environment variable myself (VAULT_ADDR
) I kept getting errors saying that I needed to set the vault:address
parameter in the stack (which was already there). Now I'm getting an error of no vault token found
. Has anyone had experience of using username/password login for the Vault provider? This is the code I'm using to create the provider:
vault_provider = vault.Provider(
"vault-provider",
address=vault_address.apply("https://{}".format),
add_address_to_env=True,
token="",
auth_logins=[
vault.ProviderAuthLoginArgs(
path=f"auth/pulumi/login/{pulumi_vault_creds['auth_username']}",
method="userpass",
parameters={
"password": pulumi_vault_creds["auth_password"],
},
)
],
)
(vault_address is a stack output from another stack)astonishing-quill-88807
10/15/2021, 1:50 PMbitter-island-28909
10/15/2021, 2:12 PMsteep-toddler-94095
10/15/2021, 4:31 PMmammoth-honey-6147
10/15/2021, 4:40 PMpulumi preview
, it seems to run these commands, how should I prevent this?gorgeous-keyboard-22299
10/15/2021, 6:05 PMbitter-island-28909
10/15/2021, 6:08 PMfoobar
, and when I build the Node package it builds as @pulumi/foobar
, which I canāt publish because I donāt own Pulumi. Is it possible to get it to build as @acme/foobar
instead?rough-hydrogen-27449
10/15/2021, 7:26 PMdill
is hitting the recursion limit trying to serialize something with pickle
... Is there something I should be doing to avoid this? FWIW here's the tail end of a very long stack trace:
File "/home/jgrillo/src/confluent-cloud-infrastructure/build-support/venv/lib/python3.7/site-packages/dill/_dill.py", line 990, in save_module_dict
StockPickler.save_dict(pickler, obj)
File "/home/jgrillo/src/confluent-cloud-infrastructure/build-support/venv/lib/python3.7/site-packages/pulumi/dynamic/dynamic.py", line 221, in save_dict_sorted
self._batch_setitems(sorted(obj.items())) # pylint: disable=protected-access
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 885, in _batch_setitems
save(v)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 549, in save
self.save_reduce(obj=obj, *rv)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 637, in save_reduce
save(func)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 504, in save
f(self, obj) # Call unbound method with explicit self
File "/home/jgrillo/src/confluent-cloud-infrastructure/build-support/venv/lib/python3.7/site-packages/dill/_dill.py", line 1423, in save_type
obj.__bases__, _dict), obj=obj)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 638, in save_reduce
save(args)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 504, in save
f(self, obj) # Call unbound method with explicit self
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 789, in save_tuple
save(element)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 504, in save
f(self, obj) # Call unbound method with explicit self
File "/home/jgrillo/src/confluent-cloud-infrastructure/build-support/venv/lib/python3.7/site-packages/dill/_dill.py", line 990, in save_module_dict
StockPickler.save_dict(pickler, obj)
File "/home/jgrillo/src/confluent-cloud-infrastructure/build-support/venv/lib/python3.7/site-packages/pulumi/dynamic/dynamic.py", line 221, in save_dict_sorted
self._batch_setitems(sorted(obj.items())) # pylint: disable=protected-access
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 885, in _batch_setitems
save(v)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 549, in save
self.save_reduce(obj=obj, *rv)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 637, in save_reduce
save(func)
File "/home/jgrillo/.pyenv/versions/3.7.10/lib/python3.7/pickle.py", line 502, in save
f = self.dispatch.get(t)
File "/home/jgrillo/src/confluent-cloud-infrastructure/build-support/venv/lib/python3.7/site-packages/dill/_dill.py", line 434, in get
return self[key]
RecursionError: maximum recursion depth exceeded
error: an unhandled error occurred: Program exited with non-zero exit code: 1
icy-jordan-58549
10/15/2021, 8:10 PMRun pulumi/setup-pulumi@v2
Configured range: 3.15.0
Error: Could not find a version that satisfied the version range
ambitious-camera-87750
10/15/2021, 8:27 PMDiagnostics:
aws:rds:GlobalCluster (my-global-test2):
error: Duplicate resource URN 'urn:pulumi:accounts-dev::rds::aws:rds/globalCluster:GlobalCluster::my-global-test2'; try giving it a unique name
bored-activity-40468
10/15/2021, 10:01 PMbrave-pharmacist-67045
10/15/2021, 11:47 PMwhatnick
from Twitter hopping on here after connecting with aurel
over there.fast-grass-52071
10/16/2021, 8:41 AMbillowy-laptop-45963
10/16/2021, 5:40 PMfuture-refrigerator-88869
10/16/2021, 7:21 PMnew docker.Image("name", {
build: { context: "../src", },
imageName: pulumi.interpolate`${repositoryUrl}:tag1`,
registry: registry,
});
Basically I want to use -t tag1 -t tag2
from docker build command
any ideas ?numerous-portugal-47563
10/17/2021, 10:38 PMbrash-airline-37413
10/17/2021, 10:55 PMdamp-ram-18047
10/18/2021, 3:30 AMred-football-97286
10/18/2021, 9:03 AMpulumi.Run(func(ctx *pulumi.Context) error {
_, err := acm.LookupCertificate(ctx, &acm.LookupCertificateArgs{
Domain: "mft-dev.cloud.internal",
Statuses: []string{
"ISSUED",
},
})
if err != nil {
return err
}
return nil
})
Any ideas?wet-noon-14291
10/18/2021, 12:59 PMsticky-airline-40485
10/18/2021, 3:32 PMconst repo = new awsx.ecr.Repository("repo")
const image = repo.buildAndPushImage({
context: '..', dockerfile: '../App/Dockerfile', env: {
'ASPNETCORE_ENVIRONMENT': 'Dev',
'ASPNETCORE_URLS': 'https://+:443',
'ASPNETCORE_HTTPS_PORT': '443',
}
})