most-lighter-95902
11/26/2021, 5:35 AMworkDir
option in LocalWorkspace.create({})
little-soccer-5693
12/01/2021, 12:04 AMbest-summer-38252
12/04/2021, 4:10 AMproud-pizza-80589
12/08/2021, 2:16 PMwet-soccer-72485
12/10/2021, 8:48 PMproud-pizza-80589
12/12/2021, 7:03 PMwet-soccer-72485
12/16/2021, 1:47 AMmost-lighter-95902
12/20/2021, 6:20 PMbreezy-table-35227
12/22/2021, 6:35 PMStack.up()
? We’re trying to use an asyncio HTTP framework (aiohttp) and would really like to run those as a task without blocking the http responsemost-lighter-95902
01/02/2022, 6:27 PMmost-lighter-95902
01/02/2022, 6:27 PMCommandError: code: -2
stdout:
stderr:
err?: Error: spawn pulumi ENOENT
at Object.createCommandError (/app/node_modules/@pulumi/automation/errors.ts:73:21)
at ChildProcess.<anonymous> (/app/node_modules/@pulumi/automation/cmd.ts:86:27)
at ChildProcess.emit (node:events:390:28)
at ChildProcess.emit (node:domain:475:12)
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
most-lighter-95902
01/02/2022, 6:27 PMmost-lighter-95902
01/02/2022, 6:31 PMmost-lighter-95902
01/02/2022, 6:31 PMimport * as express from 'express'
import { LocalWorkspace } from '@pulumi/pulumi/automation'
import clusterApi from './cluster'
const router = express.Router()
const ensurePlugins = async () => {
const ws = await LocalWorkspace.create({})
await ws.installPlugin('aws', 'v4.15.0')
await ws.installPlugin('awsx', 'v0.31.0')
await ws.installPlugin('eks', 'v0.32.0')
await ws.installPlugin('kubernetes', 'v3.12.1')
await ws.installPlugin('kubernetes-cert-manager', 'v0.0.1')
}
// install necessary plugins once upon boot
ensurePlugins()
// API routes
router.use('/cluster', clusterApi)
export default router
most-lighter-95902
01/02/2022, 6:32 PMmost-lighter-95902
01/12/2022, 6:05 PMws.installPlugin('awsx', 'x.x.x')
) for the Automation API in my REST API server, I’m running into this issue:most-lighter-95902
01/12/2022, 6:05 PMerror: [resource plugin awsx-0.31.0] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-awsx-v0.31.0-linux-amd64.tar.gz>
most-lighter-95902
01/12/2022, 6:05 PMmost-lighter-95902
01/12/2022, 6:06 PMmost-lighter-95902
01/12/2022, 6:06 PMmost-lighter-95902
01/13/2022, 12:58 AMmost-lighter-95902
01/13/2022, 12:58 AMDiagnostics:
aws:secretsmanager:Secret (test-123-aws-credentials):
error: 1 error occurred:
* error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
Please see <https://registry.terraform.io/providers/hashicorp/aws>
for more information about providing credentials.
Error: NoCredentialProviders: no valid providers in chain
caused by: EnvAccessKeyNotFound: failed to find credentials in the environment.
SharedCredsLoad: failed to load profile, .
EC2RoleRequestError: no EC2 instance role found
caused by: RequestCanceled: EC2 IMDS access disabled via AWS_EC2_METADATA_DISABLED env var
most-lighter-95902
01/13/2022, 12:58 AMmost-lighter-95902
01/13/2022, 12:59 AMmost-lighter-95902
01/15/2022, 11:37 PMprojectName
. I’m working on a project to manage devops setup for clients and trying to create a new project/client.most-portugal-2672
01/22/2022, 2:22 PMlemon-dog-29241
01/23/2022, 4:17 PMacm.Certificate
and acm.CertificateValidation
APIs. The issue is that before I attempt to validate the certificate, I need to add the name servers to a Hosted Zone in another account. I'm doing this by invoking a lambda function in my pulumi program, which I think will work. But I can't do that because I can't access a non-Output type of the name servers. I keep getting an error from my lambda saying that NoneType is nonsubscriptable, which makes sense, because I can't get pulumi to pass the actual value of the name servers -- just an Output.
I'm trying to get creative so any and all ideas are appreciated!worried-author-3242
01/25/2022, 12:15 AMmost-portugal-2672
02/04/2022, 4:18 PMcrooked-pillow-11944
02/06/2022, 9:47 PMClick
command bring the stack up.
Is there an example of using pulumi like this?crooked-pillow-11944
02/06/2022, 9:47 PMClick
command bring the stack up.
Is there an example of using pulumi like this?quiet-wolf-18467
02/06/2022, 10:23 PMcrooked-pillow-11944
02/06/2022, 11:50 PMpulumi_program
functionquiet-wolf-18467
02/07/2022, 8:06 AMlemon-agent-27707
02/08/2022, 3:39 AMcrooked-pillow-11944
02/08/2022, 9:43 AM