This message was deleted.
# getting-started
s
This message was deleted.
b
yeah, you can declare the provider similarly to this and reference it in the "third" parameter to resource creation:
Copy code
const myProvider = new cloudflare.Provider("name",{
  ...
  apiToken: config.requireSecret("secret-token"),
  ...moreconfig..
})

const myThing = new cloudflare.Thing("name", {
  ..config
},{
  provider: myProvider
})
g
Oh I see then I can explicitly pass the provider around! Thanks!