Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output-ify JSON use in CreateRoleStack #1325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Dec 16, 2022

No description provided.

Copy link
Contributor

@dixler dixler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything keeping us from merging this?

@scottslowe
Copy link
Contributor

Given that it looks like all the AWS tests failed, it seems like we should maybe re-run the tests before merging?

@Frassle
Copy link
Member Author

Frassle commented Mar 22, 2023

Anything keeping us from merging this?

I haven't checked this actually works...

@lukehoban lukehoban mentioned this pull request Mar 27, 2023
19 tasks
@rshade rshade force-pushed the fraser/createRoleStack branch from bb7ed81 to 78aabbb Compare January 9, 2025 21:52
Copy link

pulumi-staging bot commented Jan 9, 2025

🍹 The Update for pulumi/k8s-ci-cluster/464eeb0eb3a87fcb5addda16a1dcd951266e8cd5-508 was successful.

Resource Changes

    Name                                                         Type                                        Operation
+   multicloud                                                   pulumi-kubernetes:ci:GkeCluster             create
+   password                                                     random:index/randomPassword:RandomPassword  create
+   ephemeral-ci-cluster                                         gcp:container/cluster:Cluster               create
+   primary-node-pool                                            gcp:container/nodePool:NodePool             create
+   gke                                                          pulumi:providers:kubernetes                 create
+   k8s-ci-cluster-464eeb0eb3a87fcb5addda16a1dcd951266e8cd5-508  pulumi:pulumi:Stack                         create

Copy link

pulumi-staging bot commented Jan 9, 2025

🍹 The Destroy for pulumi/k8s-ci-cluster/464eeb0eb3a87fcb5addda16a1dcd951266e8cd5-508 was successful.

Resource Changes

    Name                                                         Type                                        Operation
-   ephemeral-ci-cluster                                         gcp:container/cluster:Cluster               delete
-   multicloud                                                   pulumi-kubernetes:ci:GkeCluster             delete
-   password                                                     random:index/randomPassword:RandomPassword  delete
-   k8s-ci-cluster-464eeb0eb3a87fcb5addda16a1dcd951266e8cd5-508  pulumi:pulumi:Stack                         delete
-   gke                                                          pulumi:providers:kubernetes                 delete
-   primary-node-pool                                            gcp:container/nodePool:NodePool             delete

Copy link
Contributor

@rshade rshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like with one change it will build

return JsonSerializer.Serialize<AssumeRolePolicyArgs>(policyArgs);
});
AssumeRolePolicyArgs policyArgs = new AssumeRolePolicyArgs(unprivilegedUser.Arn);
var tempPolicy = Output.JsonSerialize<AssumeRolePolicyArgs>(policyArgs);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var tempPolicy = Output.JsonSerialize<AssumeRolePolicyArgs>(policyArgs);
var tempPolicy = Output.Create(policyArgs).Apply(args => JsonSerializer.Serialize(args));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants