icy-controller-6092
04/27/2022, 12:41 AMincalculable-napkin-4298
04/27/2022, 6:25 AMerror: Code="InternalServerError" Message="Internal server error occurred. Error validating expected pods status in the k8s cluster" Details=[{"Message":"Internal server error occurred. Error validating expected pods status in the k8s cluster"},{"Code":"InternalServerError"},{"ErrorEntity":{"Code":"InternalServerError","ExtendedCode":"51017","Message":"Internal server error occurred. Error validating expected pods status in the k8s cluster","MessageTemplate":"Internal server error occurred. {0}","Parameters":["Error validating expected pods status in the k8s cluster"]}}]
damp-honey-93158
04/27/2022, 9:29 AMbumpy-whale-53138
04/27/2022, 10:11 AMfor (const accountId of accountsIds) {
const accountConfig = accountsConfig[accountId];
const accountCreds = assumeAccountAdminRole(accountId);
for (const region of accountConfig.regions) {
// deploy resources in each region of the account
}
}
I read about the Automation API, but there's no way to pass on-the-fly credentials to it (or at least I didn't find it),
I ended up wrapping the Pulumi CLI in a loop passing env vars something like: AWS_REGION AWS_SESSION pulumi ${command} -s ${stack}
Any guidance would be great! 💪 Thanks everyone!full-continent-98866
04/27/2022, 11:36 AMdelightful-monkey-90700
04/27/2022, 12:25 PMquaint-salesmen-18327
04/27/2022, 12:34 PMdelightful-monkey-90700
04/27/2022, 3:42 PMbrave-afternoon-91593
04/27/2022, 5:27 PMmap[string]string
. I’ve added the inputProperty to my schema as type: object
with no properties, required, nor default. I’m invoking this via the automation API from another golang CLI, and just getting “error: an unhandled error occurred: go inline source runtime error, an unhandled error occurred: unknown error”. Something tells me the protocol doesn’t support generic maps?billowy-army-68599
04/27/2022, 8:02 PMclever-glass-42863
04/27/2022, 9:07 PMgreen-daybreak-91402
04/27/2022, 10:30 PMerror configuring Terraform AWS Provider: failed to get shared config profile,
I am able to run preview, refresh and deploy locally with no issues. I have checked the correct AWS Credentials and Pulumi Access Token are being passed to the GH Actions workflow. Anyone seen and fixed this error before?damp-honey-93158
04/28/2022, 7:54 AMbillowy-horse-79629
04/28/2022, 8:44 AMprojects
page, all of the resources are there, but I have no idea if the state file is uploaded.
Any help with that ?prehistoric-activity-61023
04/28/2022, 9:33 AMgreen-daybreak-91402
04/28/2022, 10:20 AM@pulumi/awsx
package for API Gateway, how are subroutes setup? Im trying to setup a route like this: /test/{proxy+}
but get this error:
Unable to create resource at path '/{proxy+}/{proxy+}': Cannot create a child of a resource with a greedy path variable: {proxy+}
I cant find an example of how to setup subroutes, this is how Ive seupt my routes:
{
path: '/test/{proxy+}',
apiKeyRequired: false,
method: 'ANY',
eventHandler: functions.testFunction,
},
{
path: '/{proxy+}',
method: 'ANY',
apiKeyRequired: true,
target: apiServerTarget,
},
gentle-train-15876
04/28/2022, 10:58 AMred-truck-60031
04/28/2022, 1:07 PMexport AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID> && export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
Basically, Want to know if this step has a workaround, as I want to run pulumi from a containermagnificent-smartphone-40853
04/28/2022, 2:08 PMpurple-train-14007
04/28/2022, 2:50 PMbulky-agent-73210
04/28/2022, 4:33 PMfull-artist-27215
04/28/2022, 5:55 PMStackReference
outputs. I've got one project that sets up all our Github repositories, and another project that sets up our CI/CD pipelines for those repositories. Based on whether the repository in question is public or private, I will tweak how the pipelines are set up. I think "no problem, that's what StackReferences
are for!" So I'm exporting the visibility of each of my repositories as an output from my Github project for consumption by my CI/CD project.
However, anything I get from a StackReference
is an Output
, which is fine if I only needed to pass that output directly to a new Resource
as an input. Unfortunately, I need to perform some extra-Resource
logic based on the value of this Output
("do I pass this pipeline definition to the Resource, or that pipeline definition?"). Output.apply
doesn't do the trick because this is happening in the initial "compilation"/pre-processing stage of the Pulumi run, rather than the "execution"/actual-creation-of-Resources stage.
Is there some trick I'm missing in this situation? Alternatively, is there some other way of structuring things that would make this more straightforward? (I'm using the Python SDK, FWIW.) Thanks in advance.delightful-monkey-90700
04/28/2022, 8:05 PMmagnificent-smartphone-40853
04/28/2022, 10:31 PMaverage-tiger-58107
04/28/2022, 11:14 PMsparse-lizard-63346
04/29/2022, 1:07 AMpulumi preview --diff
where the diff from the CLI is vastly different than the one shown in the UI - I would expect these to be the same but the one in the UI is a lot more verbose, and is pretty difficult to parse and find the relevant changes. This is affecting development for us because we use the Pulumi Github action for CI, which links to the UI - is there a way to make the UI diff more similar to the one output by the CLI? Pasting diffs in thread:great-sunset-355
04/29/2022, 8:18 AMmagnificent-smartphone-40853
04/29/2022, 2:57 PMaverage-tiger-58107
04/29/2022, 4:29 PMdocker build
command that is produced by the pulumi code?lively-helmet-97905
04/29/2022, 5:12 PMlively-helmet-97905
04/29/2022, 5:12 PM