orange-tailor-85423
07/30/2019, 8:47 PMorange-tailor-85423
07/30/2019, 8:49 PMhandsome-actor-1155
07/30/2019, 9:50 PM0.17.27
) but brew upgrade pulumi
keeps responding with 0.17.25 is already installed
. I tried removing and re-adding via brew but keep getting 0.17.25
and not able to upgrade. Thoughts on how to resolve?handsome-actor-1155
07/30/2019, 9:51 PMpulumi stack rename <new-stack-name>
keeps responding with:
warning: A new version of Pulumi is available. To upgrade from version '0.17.25' to '0.17.27', run
$ brew upgrade pulumi
or visit <https://pulumi.com/docs/reference/install/> for manual instructions and release notes.
error: [400] Bad Request: could not deserialized deployment
modern-bear-85657
07/30/2019, 10:02 PMaws.Provider
via AssumeRole is not working. I’ve followed the example:
// build provider with STS creds
const arProvider = new aws.Provider('other-account', {
assumeRole: {
roleArn: config.require('role_arn'),
sessionName: 'name',
externalId: 'id'
},
region: aws.config.requireRegion()
})
const ca = output(getCertificateAuthority(
{ arn: config.require('ca_arn') },
{ provider: arProvider }
))
Error: invocation of aws:acmpca/getCertificateAuthority:getCertificateAuthority returned an error: No valid credential sources found for AWS Provider.
I’ve validated that the role name is accurate and I have permissions to assume it via the aws cli.rough-toothbrush-6148
07/31/2019, 12:54 AMmysterious-glass-86738
07/31/2019, 5:01 AMcold-coat-35200
07/31/2019, 7:14 AMpulumi up
on the master branch without any change, it wants to delete all of my resources, looks like a caching issue with ts compiling, because I added log messages to the code and none of them appeared, deleted the code from index.ts and created only 1 resource, but after an up it only shows the old resource deletions, nothing about the new one, then I cloned our repo to a different directory, where pulumi works as expected, does not want change anything
I wasn't able to figure out how pulumi compiles my typescript files and where stores the compiled js files.
How can I solve this problem without deleting the whole git repo and clone again? (btw, I'm not sure that would be a solution in case if I clone to the same path)cool-egg-852
07/31/2019, 3:35 PMA tunnel with same peer IP is already associated with the same gateway.
quick-action-34599
07/31/2019, 3:52 PMworried-engineer-33884
07/31/2019, 4:21 PMconfig.require
doesn't work so well in a dynamic provider async create
function.lemon-greece-30910
07/31/2019, 5:23 PMlemon-greece-30910
07/31/2019, 5:40 PMstale-autumn-24797
07/31/2019, 6:32 PMpublic_ip = PublicIp(
f'{env}_public_ip',
name=f'{PREFIX}-{env}-public-ip',
resource_group_name=aks_stack.get_output('rg_name'),
allocation_method='Static',
domain_name_label=f'{PREFIX}-{env}')
nginx_chart_opts = ChartOpts(f'{env}-nginx-chart-opts')
nginx_chart_opts.transformations = [lambda config_file: set_metadata_namespace(config_file, env)]
nginx_chart_opts.repo = 'stable'
nginx_chart_opts.chart = 'nginx-ingress'
nginx_chart_opts.namespace = env
nginx_chart_opts.values = \
{
'controller':
{
'service':
{
'loadBalancerIP': public_ip.ip_address
},
'replicaCount': 2
},
'rbac':
{
'create': True
}
}
# Deploy the nginx ingress controller.
nginx_ingress = Chart(
f'{env}-nginx-ingress',
nginx_chart_opts,
opts=ResourceOptions(provider=custom_provider, depends_on=[public_ip]))
This produced the following error:
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/usr/local/bin/pulumi-language-python-exec", line 85, in <module>
loop.run_until_complete(coro)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/runtime/stack.py", line 38, in run_in_stack
await RPC_MANAGER.unhandled_exeception()
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/runtime/rpc_manager.py", line 68, in rpc_wrapper
result = await rpc_function(*args, **kwargs)
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/runtime/resource.py", line 411, in do_register_resource_outputs
serialized_props = await rpc.serialize_properties(outputs, {})
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/runtime/rpc.py", line 57, in serialize_properties
result = await serialize_property(v, deps, input_transformer)
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/runtime/rpc.py", line 146, in serialize_property
value = await serialize_property(value.future(), deps, input_transformer)
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/runtime/rpc.py", line 135, in serialize_property
future_return = await asyncio.ensure_future(value)
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi/output.py", line 155, in run
transformed: Input[U] = func(value)
File "/Users/mike/.pyenv/pulumi/lib/python3.6/site-packages/pulumi_kubernetes/helm/v2/helm.py", line 312, in _parse_chart
data = json.dumps(vals).encode('utf-8')
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'Output' is not JSON serializable
error: an unhandled error occurred: Program exited with non-zero exit code: 1
cool-egg-852
07/31/2019, 7:12 PMincalculable-diamond-5088
07/31/2019, 10:21 PMresource.get
methods. Is the id
mandatory? How can I filter the resource by tag? (for example, aws.route53.Zone
)some-waitress-78905
08/01/2019, 6:09 AMsome-waitress-78905
08/01/2019, 6:09 AMArgument of type '{ port: number; targetId: Output<string>; }' is not assignable to parameter of type 'LoadBalancerTarget'.
Type '{ port: number; targetId: Output<string>; }' is not assignable to type 'LoadBalancerTargetInfo'.
Types of property 'targetId' are incompatible.
Type 'Output<string>' is not assignable to type 'string'.
some-waitress-78905
08/01/2019, 6:10 AMbetter-rainbow-14549
08/01/2019, 8:52 AMbetter-rainbow-14549
08/01/2019, 8:53 AMfuture-morning-96441
08/01/2019, 11:31 AMpulumi up
using @pulumi/aws
) is failing with:
pulumipulumiStack stackname running error: Running program '/home/chris/Projects/project' failed with an unhandled exception: undefinedAny clue what is undefined here? Or how I could find some ideas where to look next?
nice-airport-15607
08/01/2019, 4:20 PMerror: [409] Conflict: Another update is currently in progress.
?nice-airport-15607
08/01/2019, 4:27 PMpanic: fatal: An assertion has failed
error when pulumi up
?early-intern-90238
08/01/2019, 5:03 PMearly-intern-90238
08/01/2019, 5:04 PMnice-airport-15607
08/01/2019, 5:34 PMpulumi stack export > stack.json
, that data source does NOT exist in the file, also in pulumi web console it does NOT exist either.
error: Plan apply failed: BadRequestException: Data source with name someLambdaDataSource already exists
, but whenhelpful-advantage-49286
08/01/2019, 5:52 PMhelpful-advantage-49286
08/01/2019, 5:52 PMhelpful-advantage-49286
08/01/2019, 5:52 PM