There is an example in Google Cloud SQL provider t...
# golang
b
There is an example in Google Cloud SQL provider that uses
std.TrimSuffix
:
Copy code
invokeTrimsuffix, err := std.Trimsuffix(ctx, &std.TrimsuffixArgs{
			Input:  serviceAccount.Email,
			Suffix: ".<http://gserviceaccount.com|gserviceaccount.com>",
		}, nil)
		if err != nil {
			return err
		}
However
TrimSuffixArgs.Input
is declared as
string
, not as
pulumi.StringInput
. Whats' the right way to invoke
std.Trimsuffix
on an output?