damp-table-85095
02/18/2022, 11:28 PMimport * as pulumi from "@pulumi/pulumi";
^^^^^^
SyntaxError: Cannot use import statement outside a module
If I change back to Pulumi 2.x the code runs.creamy-carpet-23943
02/19/2022, 9:24 PMsparse-intern-71089
02/20/2022, 12:58 PMshy-agency-17913
02/21/2022, 10:43 AMcool-glass-63014
02/21/2022, 12:34 PMDiagnostics:
docker:image:Image (docker-image):
warning: #1 [internal] load build definition from Dockerfile
#1 sha256:9a53212ce7383ff2e916b04be035bc67ab1898011a36579250c675eb4226f868
#1 transferring dockerfile: 37B done
#1 DONE 0.0s>
...
The docker image that is built throws out a lot of output and it is hard to see other more important information and I haven't yet found a way to suppress this diagnostics outputalert-balloon-36955
02/21/2022, 7:51 PMadorable-gpu-98268
02/22/2022, 11:35 AMechoing-angle-67526
02/22/2022, 12:47 PMcreamy-carpet-23943
02/22/2022, 2:24 PMbrash-painting-89833
02/22/2022, 8:45 PMpulumi login
for changing the bucket where the state is savedbrash-painting-89833
02/22/2022, 8:47 PMagreeable-terabyte-59853
02/22/2022, 10:34 PMsparse-apartment-71989
02/22/2022, 11:13 PMCrossGuard
policy enforcement in CI-CD...
The docs talk about organization-wide enforcement of policy packs requiring an Enterprise subscription. However, it seems like a CI-CI pipeline could simply checkout the policy pack code into a folder in the checked-out Pulumi program and enforce the policies as one would when running locally.
1. Are there any restrictions from doing what I described in CI-CD with less-than Enterprise subscription?
2. Has any consideration been given to making the CrossGuard org-wide auto-enforcement feature an option for the other subscription tiers, perhaps with limits (e.g. no more than 100 policies at Team level) or for additional cost (e.g. US$1.00 per month per 100 policies)
I’m going to be talking about and demoing CrossGuard at some conferences and honestly, it’s slightly annoying I can’t demo the full feature from a lower tier subscription (i.e. Team), even if it cost a little to do so. Instead, I’ll just have to hand wave around it and call out it’s only available with an Enterprise subscription at an unpublished-price.adorable-waitress-13708
02/23/2022, 12:36 AMadorable-waitress-13708
02/23/2022, 12:50 AMhelpful-account-44059
02/23/2022, 5:08 AMdelightful-xylophone-3967
02/23/2022, 8:00 AMadorable-gpu-98268
02/23/2022, 10:14 AMjolly-lunch-12979
02/23/2022, 11:59 AMechoing-postman-88590
02/23/2022, 12:42 PMmonitoring = kubernetes.helm.v3.Release(
"monitoring",
name="monitoring",
chart="kube-prometheus-stack",
namespace="monitoring",
repository_opts=kubernetes.helm.v3.RepositoryOptsArgs(
repo="<https://prometheus-community.github.io/helm-charts>",
),
values={
"grafana": {
"ingress": {
"enabled": True,
},
},
},
)
grafana_ingress = kubernetes.networking.v1.Ingress.get(
"grafana-ingress",
Output.concat("monitoring/monitoring-grafana"),
)
grafana_ip = grafana_ingress.status.load_balancer.ingress[0].ip
But it errors as status.loadBalancer
does not have the ip
value. If I rerun multiple times pulumi up
it will register and continue. Is there a why to define a sort of timeout
for the kubernetes.networking.v1.Ingress.get
?
Thankscareful-petabyte-65672
02/23/2022, 1:31 PMpulumi:providers:eks (default_4_37_5):
error: no resource plugin 'eks-v4.37.5' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource eks v4.37.5`
The latest eks
plugin version is v0.37.1
What do I do?stocky-petabyte-29883
02/23/2022, 1:51 PMfamous-art-56985
02/23/2022, 5:36 PMsteep-beach-52652
02/23/2022, 8:48 PMstocky-petabyte-29883
02/23/2022, 8:57 PMcool-glass-63014
02/24/2022, 9:33 AMimport * as cloudflare from "@pulumi/cloudflare";
) to setup some DNS records it fails to "move" some DNS resources as it does not change a DNS record and instead tries to create the new version of it causing a conflict since the same DNS CNAME record named "cname-record" cannot be created, which then causes the whole upgrade to fail.
I've noticed that I first have to comment out (in separate calls of pulumi up
) the DNS record declaration and then introducing it again after the DNS record has been deleted so that it then can be added again with the new value.
Am I alone with this? Is it intended?modern-tent-49484
02/24/2022, 10:18 AMpulumi config get google-native:region
, but I can't do config.require("google-native:region")
?thousands-jordan-32051
02/24/2022, 2:32 PMerror: getting secrets manager: invalid YAML file: could not unmarshal map: yaml: unmarshal errors:
`line 4: cannot unmarshal !!str null
into config.Value`
`at Pulumi.Automation.Commands.LocalPulumiCmd.RunAsyncInner(IList`1 args, String workingDir, IDictionary`2 additionalEnv, Action`1 onStandardOutput, Action`1 onStandardError, EventLogFile eventLogFile, CancellationToken cancellationToken)`
`at Pulumi.Automation.Commands.LocalPulumiCmd.RunAsync(IList`1 args, String workingDir, IDictionary`2 additionalEnv, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)`
`at Pulumi.Automation.Workspace.RunStackCommandAsync(String stackName, IList`1 args, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)`
`at Pulumi.Automation.WorkspaceStack.RunCommandAsync(IList`1 args, Action`1 onStandardOutput, Action`1 onStandardError, Action`1 onEngineEvent, CancellationToken cancellationToken)`
at Pulumi.Automation.WorkspaceStack.RefreshAsync(RefreshOptions options, CancellationToken cancellationToken)
flat-salesclerk-13714
02/24/2022, 3:32 PMdimension
property, but passing in multiple k/v pairs results in only the last value being applied. Code is below:
cw_alarm = aws.cloudwatch.MetricAlarm(f'{instance._name}-disk',
alarm_description=f"This metric monitors ec2 disk utilization",
comparison_operator="GreaterThanOrEqualToThreshold",
evaluation_periods=1,
insufficient_data_actions=[],
dimensions= { 'Name':'InstanceId', 'Value':instance.id,
'Name':'Filesystem', 'Value':'/dev/root',
'Name':'MountPath', 'Value':'/',
},
metric_name="DiskSpaceUtilization",
namespace="AWS/EC2",
period=300,
statistic="Minimum",
threshold=80,
alarm_actions=[ alarm_action_arn ])
modern-tent-49484
02/24/2022, 3:39 PMmodern-tent-49484
02/24/2022, 3:39 PM