config

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package config contains the external name configurations for the launchdarkly upjet provider.

Index

Constants

This section is empty.

Variables

View Source
var ExternalNameConfigs = map[string]config.ExternalName{

	"launchdarkly_access_token":      config.IdentifierFromProvider,
	"launchdarkly_custom_role":       config.IdentifierFromProvider,
	"launchdarkly_team":              config.IdentifierFromProvider,
	"launchdarkly_team_member":       config.IdentifierFromProvider,
	"launchdarkly_team_role_mapping": config.IdentifierFromProvider,

	"launchdarkly_project":                  config.IdentifierFromProvider,
	"launchdarkly_environment":              config.IdentifierFromProvider,
	"launchdarkly_feature_flag":             config.IdentifierFromProvider,
	"launchdarkly_feature_flag_environment": config.IdentifierFromProvider,
	"launchdarkly_segment":                  config.IdentifierFromProvider,
	"launchdarkly_metric":                   config.IdentifierFromProvider,

	"launchdarkly_audit_log_subscription":    config.IdentifierFromProvider,
	"launchdarkly_destination":               config.IdentifierFromProvider,
	"launchdarkly_webhook":                   config.IdentifierFromProvider,
	"launchdarkly_relay_proxy_configuration": config.IdentifierFromProvider,
}

ExternalNameConfigs contains all external name configurations for this provider.

View Source
var PluginFrameworkResources = map[string]bool{
	"launchdarkly_team_role_mapping": true,
}

PluginFrameworkResources contains resources implemented with Terraform Plugin Framework (as opposed to SDK v2). These require different upjet configuration.

Functions

func ExternalNameConfigurations

func ExternalNameConfigurations() config.ResourceOption

ExternalNameConfigurations applies all external name configs listed in the table ExternalNameConfigs and sets the version of those resources to v1beta1 assuming they will be tested.

func ExternalNameConfigured

func ExternalNameConfigured() []string

ExternalNameConfigured returns the list of all resources whose external name is configured manually.

func FrameworkResourcesConfigured added in v0.7.0

func FrameworkResourcesConfigured() []string

FrameworkResourcesConfigured returns the list of Plugin Framework resources.

func GetProvider

func GetProvider() *ujconfig.Provider

GetProvider returns provider configuration

func SDKResourcesConfigured added in v0.7.0

func SDKResourcesConfigured() []string

SDKResourcesConfigured returns the list of SDK v2 resources (excludes Plugin Framework resources).

Types

This section is empty.

Directories

Path Synopsis
Package accesstoken contains the configuration for the AccessToken resource.
Package accesstoken contains the configuration for the AccessToken resource.
Package auditlogsubscription contains the configuration for the AuditLogSubscription resource.
Package auditlogsubscription contains the configuration for the AuditLogSubscription resource.
Package customrole contains the configuration for the CustomRole resource.
Package customrole contains the configuration for the CustomRole resource.
Package destination contains the configuration for the Destination resource.
Package destination contains the configuration for the Destination resource.
Package environment contains the configuration for the Environment resource.
Package environment contains the configuration for the Environment resource.
Package featureflag contains the configuration for the FeatureFlag resource.
Package featureflag contains the configuration for the FeatureFlag resource.
Package featureflagenvironment contains the configuration for the FeatureFlagEnvironment resource.
Package featureflagenvironment contains the configuration for the FeatureFlagEnvironment resource.
Package metric contains the configuration for the Metric resource.
Package metric contains the configuration for the Metric resource.
Package project contains the configuration for the Project resource.
Package project contains the configuration for the Project resource.
Package relayproxyconfig contains the configuration for the RelayProxyConfiguration resource.
Package relayproxyconfig contains the configuration for the RelayProxyConfiguration resource.
Package segment contains the configuration for the Segment resource.
Package segment contains the configuration for the Segment resource.
Package team contains the configuration for the Team resource.
Package team contains the configuration for the Team resource.
Package teammember contains the configuration for the TeamMember resource.
Package teammember contains the configuration for the TeamMember resource.
Package teamrolemapping contains the configuration for the TeamRoleMapping resource.
Package teamrolemapping contains the configuration for the TeamRoleMapping resource.
Package webhook contains the configuration for the Webhook resource.
Package webhook contains the configuration for the Webhook resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL