big-potato-91793
08/10/2021, 7:38 PMes6
?lemon-television-29125
08/11/2021, 11:27 AMlemon-television-29125
08/11/2021, 11:28 AMastonishing-tiger-81216
08/11/2021, 11:55 AMpulumi preview/up --target <URN>
. Is it possible to target resources that do not exist yet? Equivalent to terraform apply -target aws_s3_bucket.new_bucket
glamorous-cpu-85849
08/11/2021, 12:47 PMpolite-shoe-79877
08/11/2021, 1:23 PMbrash-quill-35776
08/11/2021, 2:27 PMtypescript
package for istio provider?careful-summer-38579
08/11/2021, 3:09 PMpulumi up
stucks on "deleting..", verbose logging shows 500 error "An error occurred and the request cannot be processed.", Does anybody know how I can get more details about this error (cloudwatch or sth) ?plain-jordan-50709
08/11/2021, 5:38 PMalert-mechanic-59024
08/11/2021, 6:12 PMadamant-translator-31969
08/11/2021, 7:18 PMpowerful-continent-32307
08/12/2021, 1:00 AMgorgeous-ability-78921
08/12/2021, 1:35 AMHttpListeners.FrontendConfiguration
. I have separating ApplicationGatewayFrontendIPConfigurationArgs
into its own variable, defining it ahead of the ApplicationGateway, and then attempting to use new SubResourceArgs { Id: frontendConfig.Id }
to get the Id, but this doesn’t appear to resolve before it is needed (Which makes sense since it’s part of the ApplicationGateway)
I have also tried predicting the Ids ahead of time, but I realised this won’t work since I don’t know what the Id of the ApplicationGateway is going to be yet.
I’m sure I’m probably missing something silly and I will feel stupid when I work it out, but this has had me stumped…purple-train-14007
08/12/2021, 4:29 AMpowerful-continent-32307
08/12/2021, 6:21 AMbrash-kite-78002
08/12/2021, 11:42 AMhandsome-state-59775
08/12/2021, 2:03 PMpulumi stack export
fancy-manchester-67426
08/12/2021, 9:07 PMpulumi:pulumi:Stack backend-staging error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
pulumi:pulumi:Stack backend-staging 1 message
Diagnostics:
pulumi:pulumi:Stack (backend-staging):
error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
stderr: error: failed to load language plugin nodejs: could not read plugin [/opt/hostedtoolcache/pulumi/3.10.1/x64/pulumi-language-nodejs] stdout: EOF
err?:
(node:1638) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, stat '/tmp/automation-logs-preview-tYu3e4/eventlog.txt'
(node:1638) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:1638) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
lemon-dog-29241
08/13/2021, 5:00 PM<s3://pulumi-state-1234567899875/shared>
with a fully qualified name: kiawnna/buildbot-shared-123456789/dev
and a stack in the bucket: <s3://pulumi-state-1234567899875/builds/{build_id}/{repo_name}>
named kiawnna/buildbot-12345-{repo}/dev
. I'm getting the below error(s) from the StackReferences I have.
Diagnostics:
pulumi:pulumi:Stack (buildbot-12345-python-backend-dev):
error: update failed
pulumi:pulumi:StackReference (kiawnna/buildbot-shared-123456789/dev):
error: unknown stack "kiawnna/buildbot-shared-123456789/dev"
Resources:
5 unchanged
Duration: 4s
Traceback (most recent call last):
File "containerized_build.py", line 320, in <module>
launch_app_stack()
File "containerized_build.py", line 317, in launch_app_stack
Task exception was never retrieved
future: <Task finished name='Task-34' coro=<RPCManager.do_rpc.<locals>.rpc_wrapper() done, defined at /home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py:61> exception=<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1628855755.981741273","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3008,"referenced_errors":[{"created":"@1628855755.981738026","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":397,"grpc_status":14}]}"
>>
Traceback (most recent call last):
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
result = await rpc
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 397, in do_read
log.debug(f"resource read successful: ty={ty}, urn={resp.urn}")
AttributeError: 'NoneType' object has no attribute 'urn'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 70, in rpc_wrapper
log.debug("RPC failed with exception:")
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/log.py", line 40, in debug
_log(engine, engine_pb2.DEBUG, msg, resource, stream_id, ephemeral)
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/log.py", line 114, in _log
engine.Log(req)
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1628855755.981741273","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3008,"referenced_errors":[{"created":"@1628855755.981738026","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":397,"grpc_status":14}]}"
>
up_res = stack.up(on_output=print)
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/automation/_stack.py", line 262, in up
up_result = self._run_pulumi_cmd_sync(args, on_output)
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/automation/_stack.py", line 591, in _run_pulumi_cmd_sync
result = _run_pulumi_cmd(args, self.workspace.work_dir, envs, on_output)
File "/home/kia/projects/sindri/venv/lib/python3.8/site-packages/pulumi/automation/_cmd.py", line 75, in _run_pulumi_cmd
raise create_command_error(result)
pulumi.automation.errors.CommandError:
code: 255
stdout: Updating (dev):
pulumi:pulumi:Stack buildbot-12345-python-backend-dev running
aws:ecs:TaskDefinition 12345-python-backend-qa [diff: +__defaults]
aws:cloudwatch:LogGroup 12345-python-backend-qa [diff: ~tags]
aws:codebuild:Project 12345-python-backend-qa-1 [diff: ~environment,source,tags]
pulumi:pulumi:Stack buildbot-12345-python-backend-dev running read pulumi:pulumi:StackReference kiawnna/buildbot-shared-123456789/dev
aws:codebuild:Project 12345-python-backend-qa-0 [diff: ~environment,source,tags]
pulumi:pulumi:StackReference kiawnna/buildbot-shared-123456789/dev error: unknown stack "kiawnna/buildbot-shared-123456789/dev"
pulumi:pulumi:Stack buildbot-12345-python-backend-dev running read pulumi:pulumi:StackReference kiawnna/buildbot-shared-123456789/dev
pulumi:pulumi:Stack buildbot-12345-python-backend-dev running error: update failed
pulumi:pulumi:StackReference kiawnna/buildbot-shared-123456789/dev **failed** 1 error
pulumi:pulumi:Stack buildbot-12345-python-backend-dev **failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (buildbot-12345-python-backend-dev):
error: update failed
pulumi:pulumi:StackReference (kiawnna/buildbot-shared-123456789/dev):
error: unknown stack "kiawnna/buildbot-shared-123456789/dev"
Resources:
5 unchanged
Duration: 4s
In the stack that depends on the shared stack, I'm doing:
shared_stack = StackReference(f"kiawnna/buildbot-shared-123456789/dev")
cluster_name = shared_stack.get_output("cluster_name")
vpc_id = shared_stack.get_output("vpc_id")
capacity_provider_name = shared_stack.get_output("capacity_provider_name")
Is what I want to do possible? How would I set it up differently? THanks!cool-belgium-78445
08/13/2021, 5:45 PMcool-belgium-78445
08/13/2021, 6:04 PMbillowy-army-68599
wet-sunset-4939
08/15/2021, 1:01 AMazure-native:network:BastionHost (sandbox-codehub-bst-hbd):
error: Code="InvalidRequestFormat" Message="Cannot parse the request." Details=[]
Not sure what is wrong. Here is my code
export default ({ name, group, subnetId }: Props) => {
const ipAddress = IpAddress({
name,
group,
sku: { name: 'Standard', tier: 'Regional' },
});
return new network.BastionHost(
name,
{
bastionHostName: name,
...group,
dnsName: name,
ipConfigurations: [
{
publicIPAddress: { id: ipAddress.id },
subnet: { id: subnetId },
},
],
tags: defaultTags,
},
{ dependsOn: ipAddress }
);
};
careful-sandwich-71215
08/15/2021, 10:21 AMavailabilityZones
for a NodeGroup
in eks
?
Like here https://eksctl.io/usage/schema/#nodeGroups-availabilityZonesmammoth-honey-6147
08/15/2021, 1:48 PMpulumi up
to finish once this resource is up (which can be determined by making a HTTP GET to it and reading the response.
In Terraform I'd probably use something like local exec with curl, in go, i'd probably use the http package and put that in a loop. I'd also like to log when it's attempted, I assume putting this in a loop and writing to fmt.println would be appropriate, unless there's something better with the pulumi context objectlate-energy-66663
08/15/2021, 5:35 PMunable to find the stack
.
Just would like to confirm if we are using the right function to select the existing stack .Below is the the code , workDir is the absolute path there the project directory is created . We have tried giving different ways with no luck
workDir := "./projects" fmt.Println("workDir",workDir)
s, err := auto.SelectStackInlineSource(ctx, projvls.Stackname, projvls.Projectname , program, auto.PulumiHome(workDir), envvars) if err != nil {
we have also tried to use following function as well but unable to locate the stack
// WorkDir is the directory to execute commands from and store state.
func WorkDir(workDir string) LocalWorkspaceOption {
return localWorkspaceOption(func(lo *localWorkspaceOptions) {
lo.WorkDir = workDir
})
}
agreeable-ram-97887
08/16/2021, 11:22 AMerror: constructing secrets manager of type "cloud": secrets (code=Unknown): AccessDeniedException: The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access.
status code: 400, request id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
dry-teacher-74595
08/16/2021, 4:18 PMancient-eve-13947
08/16/2021, 5:59 PMpulumi refresh
and pulumi up --refresh
, but neither seems to do this.
Exact steps:
1. added resource manually
2. updated Pulumi definitions to match
3. run pulumi refresh
etc. with no success
Why do I need this? because the resource in question is one I don't have permissions to create, it was created by someone higher up the food-chain.ancient-eve-13947
08/16/2021, 7:26 PMdocker.Image
to just build an image and keep it locally, without pushing it anywhere?
background:
without Pulumi, I first build a temporary image that builds my whole solution and publishes each service therein into a separate output directory; this one is huge and contains sensitive information (the access to our private nuget stream) and should never be pushed anywhere; and then I build the actual runtime images, using the temporary image with, for example, COPY --from=tmpbuilder /output/notifications
.
these should get pushed, obviously.