Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSourceMapResource ¶
NewSourceMapResource returns the resource.Resource for use in provider registration.
Types ¶
type Attr ¶
type Attr struct {
JSON types.String `tfsdk:"json"`
Binary types.String `tfsdk:"binary"`
File *FileAttr `tfsdk:"file"`
}
Attr holds the nested sourcemap content attributes. Exactly one of JSON, Binary, or File must be set.
type SourceMap ¶
type SourceMap struct {
KibanaConnection types.List `tfsdk:"kibana_connection"`
ID types.String `tfsdk:"id"`
BundleFilepath types.String `tfsdk:"bundle_filepath"`
ServiceName types.String `tfsdk:"service_name"`
ServiceVersion types.String `tfsdk:"service_version"`
Sourcemap *Attr `tfsdk:"sourcemap"`
SpaceID types.String `tfsdk:"space_id"`
}
SourceMap holds the state for the elasticstack_apm_source_map resource.
Click to show internal directories.
Click to hide internal directories.