Skip to content

Commit

Permalink
apply differently
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Aug 20, 2023
1 parent 2d1a968 commit b25e40f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulumi/certManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const certManagerNS = "cert-manager"
const deployCertManager = (cluster: eks.Cluster, awsAccountId: pulumi.Output<string>) => {
const saName = "cert-manager"
const roleName = "teztnets-cert-manager";
const certManagerRole = clusterOidcUrl?.apply(
(url) =>
const certManagerRole = pulumi.all([clusterOidcUrl, awsAccountId]).apply(
([url, awsAccountId]) =>
new aws.iam.Role("teztnets-cert-manager", {
name: roleName,
assumeRolePolicy: {
Expand Down

0 comments on commit b25e40f

Please sign in to comment.