scaleway_cockpit_sourceNivis Nix constructor for the scaleway_cockpit_source resource (provider scaleway). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
retention_days,
id ? null,
cfg_name ? null,
project_id ? null,
region ? null,
type ? null,
timeouts ? null,
overrides ? {}
}Required arguments
retention_days
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)project_id(defaults tonull)region(defaults tonull)type(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
created_atoriginpush_urlsrnsynchronized_with_grafanaupdated_aturl
Example
scaleway_cockpit_source {
name = "cockpit_source";
retention_days = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.