https://pulumi.com logo
Title
f

future-air-70511

01/26/2023, 9:46 PM
For an Okta SAML app, a valid property value for idpIssuer is http://www.okta.com/${org.externalKey}, however Pulumi tries to evaluate that as a variable. I tried to encapsulate it with quotes without luck - any idea how to escape those values?
resources:  
  example:
    type: okta:app:Saml
    properties:
	  ...
      idpIssuer: "<http://www.okta.com/${org.externalKey}>"
      subjectNameIdTemplate: "${user.userName}"
      userNameTemplate: "${source.samAccountName}"	  
	  ...
b

billowy-army-68599

01/26/2023, 9:59 PM
could you file an issue in github.com/pulumi/pulumi-yaml
f

future-air-70511

01/26/2023, 9:59 PM
Just tried doing $$ and it has seemed to work - validating.
Seems to have worked, just need something in the docs (unless I missed it) and to remedy the pulumi import. I'm wrapping up my day, but I'll try and file an issue later.
a

adventurous-eve-83859

01/27/2023, 11:27 PM
Using
$$
to escape is correct, it is in the docs but a bit easy to overlook