I need to use explicit organizationId + token without relying on environment variables.
So I would like to explicitly create a Provider associated to Event Store Cloud which I can later use to explicitly associate to some resources (e.g: the event store cloud project, cluster, etc.)
The problem is that there are no optional ProviderArgs despite the documentation suggesting so
See
https://github.com/EventStore/pulumi-eventstorecloud/blob/c0f3bfbd31561c88497e055ab8d033da6cbcdac0/sdk/nodejs/provider.ts#L79
and https://developers.eventstore.com/cloud/automation/#provider-configuration
Which are the default clientId, tokenStore, identityProviderUrl and url I should provide?
const eventStoreDbProvider = new eventstore.Provider(
`${args.prefix}-eventstoredb-provider`,
{
token: args.eventStoreDbToken,
organizationId: args.eventStoreDbOrganizationId,
clientId: "",
tokenStore: "",
identityProviderUrl: "",
url: ""
},
{
parent: this
}
);
The above would cause
error: Could not automatically download and install resource plugin 'pulumi-resource-eventstorecloud' at version v0.2.8, install the plugin using pulumi plugin install resource eventstorecloud v0.2.8 --server https://github.com/EventStore/pulumi-eventstorecloud/releases/download/0.2.8: error downloading provider eventstorecloud to file: failed to download plugin: eventstorecloud-0.2.8: 404 HTTP error fetching plugin from https://github.com/EventStore/pulumi-eventstorecloud/releases/download/0.2.8/pulumi-resource-eventstorecloud-v0.2.8-windows-amd64.tar.gz
but I am not using .NET SDK nor Go, but Typescript/NodeJs and the documentation says
For projects that use .NET and Go Pulumi SDK you have to install the provider before trying to update the stack.
Is this also needed for Typescript?
CLO-434
I need to use explicit organizationId + token without relying on environment variables.
So I would like to explicitly create a Provider associated to Event Store Cloud which I can later use to explicitly associate to some resources (e.g: the event store cloud project, cluster, etc.)
The problem is that there are no optional
ProviderArgsdespite the documentation suggesting soSee
https://github.com/EventStore/pulumi-eventstorecloud/blob/c0f3bfbd31561c88497e055ab8d033da6cbcdac0/sdk/nodejs/provider.ts#L79
and https://developers.eventstore.com/cloud/automation/#provider-configuration
Which are the default
clientId,tokenStore,identityProviderUrlandurlI should provide?The above would cause
but I am not using .NET SDK nor Go, but Typescript/NodeJs and the documentation says
Is this also needed for Typescript?
CLO-434