rough-rain-68282
10/06/2021, 12:36 PMsnapshot integrity failure; refusing to use it
Hi anyone how I can get rid of this error ?billions-xylophone-85957
10/06/2021, 2:41 PMOutput
?
Stack reference outputs are read-only at runtime and they don't change during the execution, right? Why is it a promise then?sparse-gold-10561
10/06/2021, 3:16 PMpulumi import
of a CloudFormation stack? My understanding is it just shows what code you need to add via stdout and doesn't actually add anything to the CF or Pulumi state until you actually add it to your code. Is that correct?tall-nightfall-10556
10/06/2021, 5:36 PMaws s3 sync
. I tried doing a sync and refresh first so pulumi could just handle deltas, but it wound up recreating all the files the first time I ran up
, so it didn't save me any time. (edited)big-potato-91793
10/06/2021, 6:59 PMquaint-toothbrush-75472
10/06/2021, 8:14 PMhallowed-horse-57635
10/07/2021, 1:51 AMgreat-sunset-355
10/07/2021, 8:20 AMpulumi
CLI? I'm developing some resources and doing a lot of iterations and adding --supproess-outputs
every time is a bit uncomfortable. Ideally, this could be part of the configuration so each developer can set their own settings.calm-nest-80923
10/07/2021, 8:30 AMcreamy-sugar-83202
10/07/2021, 10:06 AMpulumi up
it detects all existing resources and tries to re-deploy them into the newly created stack... Thanks!swift-island-2275
10/07/2021, 10:21 AMerror: unrecognized resource type (Check):
I guess I am doing something incorrectly.rapid-soccer-18092
10/07/2021, 1:07 PMpulumi up
I get the following types of errors:
kubernetes:<http://rbac.authorization.k8s.io/v1:ClusterRole|rbac.authorization.k8s.io/v1:ClusterRole> (datadog-chart):
error: resource datadog-chart was not successfully created by the Kubernetes API server : <http://clusterroles.rbac.authorization.k8s.io|clusterroles.rbac.authorization.k8s.io> "datadog-chart" already exists
kubernetes:<http://rbac.authorization.k8s.io/v1:ClusterRole|rbac.authorization.k8s.io/v1:ClusterRole> (datadog-chart-cluster-agent):
error: resource datadog-chart-cluster-agent was not successfully created by the Kubernetes API server : <http://clusterroles.rbac.authorization.k8s.io|clusterroles.rbac.authorization.k8s.io> "datadog-chart-cluster-agent" already exists
I guess this is expected since Pulumi cannot associate the old resource with the refactored resource. What is the best way to go about doing with without me manually deleting these resources from Kubernetes?green-motorcycle-58080
10/07/2021, 1:21 PMbillions-mechanic-26704
10/07/2021, 2:20 PMpulumi login
against a specific organization?
pulumi login -c <https://app.pulumi.com/myorg>
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://app.pulumi.com/myorg>: unmarshalling response object: invalid character '<' looking for beginning of value
I have configured as environment variable in my shell the PULUMI_ACCESS_TOKEN
variable, but it seems that the response i got has to do with this comment in this issue https://github.com/pulumi/pulumi/issues/3194#issuecomment-892976293curved-kitchen-23422
10/07/2021, 5:27 PMgifted-engine-92308
10/07/2021, 5:27 PMacoustic-flag-54195
10/07/2021, 6:12 PMERROR: Permission to pulumi/docs.git denied to kevinneville.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Any ideas?purple-train-14007
10/07/2021, 6:58 PMexport const AllowPSRemoting = {
name: "AllowPSRemoting",
priority: 301,
direction: "Inbound",
access: "Allow",
protocol: "Tcp",
sourcePortRange: "*",
destinationPortRange: "5986",
sourceAddressPrefix: "AzureActiveDirectoryDomainServices",
destinationAddressPrefix: "*",
}
export const AllowRD = {
name: "AllowRD",
priority: 201,
direction: "Inbound",
access: "Allow",
protocol: "Tcp",
sourcePortRange: "*",
destinationPortRange: "3389",
sourceAddressPrefix: "CorpNetSaw",
destinationAddressPrefix: "*",
}
export const PortForWACService = {
name: "PortForWACService",
priority: 100,
direction: "outbound",
access: "Allow",
protocol: "Tcp",
sourcePortRange: "*",
destinationPortRange: "443",
sourceAddressPrefix: "VirtualNetwork",
destinationAddressPrefix: "WindowsAdminCenter",
}
@gentle-diamond-70147 we may wanna add this to the Pulumi docs just to help the community or put it somewhere we can share the info aroundpurple-pager-67607
10/07/2021, 7:09 PMsalmon-printer-16080
10/07/2021, 11:06 PMsparse-gold-89283
10/08/2021, 1:09 AMrefined-appointment-5884
10/08/2021, 3:56 AMsparse-spring-91820
10/08/2021, 8:13 AMpulumi/stack_init
step as it fails because of the already existing stack. Is there any way how to select stack if it exists or init new one if doesn't other than piping command's stderr to null output so that my circleci job doesn't fail?
This is my circleci job config:
jobs:
deploy-infra:
<<: *default-executor
working_directory: ~/project/infrastructure
steps:
- checkout:
path: ../
- node/install-packages
- pulumi/login
- pulumi/stack_init:
stack: 'dev'
- run:
name: Add stack config
command: |
pulumi config set aws:region us-east-1
pulumi config set bucket:name cicd-test-bucket
- pulumi/update:
stack: 'dev'
I can assign build number to stack name like it's in the orb example:
- pulumi/stack_init:
stack: 'robot-co/test-pr_${CIRCLE_BUILD_NUM}'
but I don't want to create new stack and new resources on every ci/cd trigger, I just want to have 3 stacks which are dev
, staging
and prod
.wet-noon-14291
10/08/2021, 8:15 AMOne or more errors occurred
doesn't help that much.wet-noon-14291
10/08/2021, 8:17 AMswift-australia-96791
10/08/2021, 8:33 AM- uses: pulumi/actions@v3
with:
command: preview
stack-name: prod
upsert: true
work-dir: PulumiProject
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
While GitHub Action runs I m getting an error " pulumi😛ulumi:Stack PulumiProject-prod create error: Missing required configuration variable 'PulumiProject:required_value' ", Can anyone assist me how to pass config values here?great-breakfast-56601
10/08/2021, 9:59 AMFunc<ImmutableDictionary<string, object>,
CustomResourceOptions, ImmutableDictionary<string, object>>[] transformations =
{
(obj, opts) => {
if ((string)obj["kind"] == "Service" &&
(string)((ImmutableDictionary<string, object>)obj["metadata"])["name"] == "frontend")
{
var spec = ((ImmutableDictionary<string, object>)obj["spec"]);
obj = obj.SetItem("spec", spec.SetItem("type", "LoadBalancer"));
}
return obj;
},
};
var guestbook = new ConfigFile("guestbook", new ConfigFileArgs
{
File = "guestbook-all-in-one.yaml",
Transformations = transformations,
});
The typings in the example don't appear to be current. Anyone have a moment to help?great-breakfast-56601
10/08/2021, 1:03 PMTransformationAction[] transformations =
great-breakfast-56601
10/08/2021, 1:04 PMrapid-raincoat-36492
10/08/2021, 4:16 PM.d.ts
file":
These errors go away when I run tsc --build
, but I'm wondering if there's a way to use --transpile-only
somehow where I would not need to build with tsc
firstrapid-raincoat-36492
10/08/2021, 4:16 PM.d.ts
file":
These errors go away when I run tsc --build
, but I'm wondering if there's a way to use --transpile-only
somehow where I would not need to build with tsc
first