Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "generators", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsFormat", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 5, column: 20, }, end: Position { line: 5, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 32, }, }, }, ), Raw( PartRaw { content: "yaml", span: Span { start: Position { line: 5, column: 33, }, end: Position { line: 5, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 5, column: 38, }, end: Position { line: 5, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 6, column: 31, }, end: Position { line: 6, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "grafana-agent.yaml", span: Span { start: Position { line: 6, column: 41, }, end: Position { line: 6, column: 59, }, }, }, ), ], span: Span { start: Position { line: 6, column: 40, }, end: Position { line: 6, column: 60, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 6, column: 61, }, end: Position { line: 6, column: 64, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 6, column: 65, }, end: Position { line: 6, column: 73, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 16, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 10, column: 24, }, end: Position { line: 10, column: 35, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "flokli", span: Span { start: Position { line: 10, column: 39, }, end: Position { line: 10, column: 45, }, }, }, ), Identifier( Identifier { id: "zimbatm", span: Span { start: Position { line: 10, column: 46, }, end: Position { line: 10, column: 53, }, }, }, ), ], span: Span { start: Position { line: 10, column: 37, }, end: Position { line: 10, column: 55, }, }, }, ), span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 55, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 11, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 13, column: 11, }, end: Position { line: 13, column: 19, }, }, }, ), Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 14, column: 30, }, end: Position { line: 14, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 14, column: 34, }, end: Position { line: 14, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 14, column: 41, }, end: Position { line: 14, column: 54, }, }, }, ), ], span: Span { start: Position { line: 14, column: 40, }, end: Position { line: 14, column: 55, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 16, column: 15, }, end: Position { line: 16, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 17, column: 20, }, end: Position { line: 17, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 18, column: 17, }, end: Position { line: 18, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 18, column: 22, }, end: Position { line: 18, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pkgs.grafana-agent", span: Span { start: Position { line: 19, column: 22, }, end: Position { line: 19, column: 40, }, }, }, ), ], span: Span { start: Position { line: 19, column: 21, }, end: Position { line: 19, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The grafana-agent package to use.", span: Span { start: Position { line: 20, column: 32, }, end: Position { line: 20, column: 65, }, }, }, ), ], span: Span { start: Position { line: 20, column: 31, }, end: Position { line: 20, column: 66, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 21, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "credentials", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 23, column: 19, }, end: Position { line: 23, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 21, }, end: Position { line: 24, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 24, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Credentials to load at service startup. Keys that are UPPER_SNAKE will be loaded as env vars. Values are absolute paths to the credentials.\n", span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 26, column: 7, }, }, }, ), ], span: Span { start: Position { line: 24, column: 31, }, end: Position { line: 26, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 14, }, end: Position { line: 27, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 27, column: 20, }, end: Position { line: 27, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 28, }, end: Position { line: 27, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 27, column: 34, }, end: Position { line: 27, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logs_remote_write_password", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 35, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/grafana_agent_logs_remote_write_password", span: Span { start: Position { line: 31, column: 39, }, end: Position { line: 31, column: 89, }, }, }, ), ], span: Span { start: Position { line: 31, column: 38, }, end: Position { line: 31, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LOGS_REMOTE_WRITE_URL", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 30, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/grafana_agent_logs_remote_write_url", span: Span { start: Position { line: 32, column: 34, }, end: Position { line: 32, column: 79, }, }, }, ), ], span: Span { start: Position { line: 32, column: 33, }, end: Position { line: 32, column: 80, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LOGS_REMOTE_WRITE_USERNAME", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 35, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/grafana_agent_logs_remote_write_username", span: Span { start: Position { line: 33, column: 39, }, end: Position { line: 33, column: 89, }, }, }, ), ], span: Span { start: Position { line: 33, column: 38, }, end: Position { line: 33, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "metrics_remote_write_password", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 38, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/grafana_agent_metrics_remote_write_password", span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 95, }, }, }, ), ], span: Span { start: Position { line: 34, column: 41, }, end: Position { line: 34, column: 96, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "METRICS_REMOTE_WRITE_URL", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 33, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/grafana_agent_metrics_remote_write_url", span: Span { start: Position { line: 35, column: 37, }, end: Position { line: 35, column: 85, }, }, }, ), ], span: Span { start: Position { line: 35, column: 36, }, end: Position { line: 35, column: 86, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "METRICS_REMOTE_WRITE_USERNAME", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 38, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/grafana_agent_metrics_remote_write_username", span: Span { start: Position { line: 36, column: 42, }, end: Position { line: 36, column: 95, }, }, }, ), ], span: Span { start: Position { line: 36, column: 41, }, end: Position { line: 36, column: 96, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 17, }, end: Position { line: 37, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 38, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 41, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 25, }, end: Position { line: 41, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration for `grafana-agent`.\n\nSee https://grafana.com/docs/agent/latest/configuration/\n", span: Span { start: Position { line: 42, column: 1, }, end: Position { line: 45, column: 7, }, }, }, ), ], span: Span { start: Position { line: 41, column: 31, }, end: Position { line: 45, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 47, column: 14, }, end: Position { line: 47, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 48, column: 24, }, end: Position { line: 48, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 48, column: 39, }, end: Position { line: 48, column: 43, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 47, column: 30, }, end: Position { line: 49, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 51, column: 17, }, end: Position { line: 51, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "metrics = {\n wal_directory = \"\\", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 54, column: 29, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 54, column: 32, }, }, }, ), Raw( PartRaw { content: "{STATE_DIRECTORY}\";\n global.scrape_interval = \"5s\";\n};\nintegrations = {\n agent.enabled = true;\n agent.scrape_integration = true;\n node_exporter.enabled = true;\n replace_instance_label = true;\n};\n", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 63, column: 7, }, }, }, ), ], span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 63, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "metrics", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 16, }, }, }, ), Raw( PartRaw { content: "global", span: Span { start: Position { line: 65, column: 17, }, end: Position { line: 65, column: 23, }, }, }, ), Raw( PartRaw { content: "remote_write", span: Span { start: Position { line: 65, column: 24, }, end: Position { line: 65, column: 36, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 66, column: 11, }, end: Position { line: 66, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${METRICS_REMOTE_WRITE_URL}", span: Span { start: Position { line: 66, column: 18, }, end: Position { line: 66, column: 46, }, }, }, ), ], span: Span { start: Position { line: 66, column: 17, }, end: Position { line: 66, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "basic_auth", span: Span { start: Position { line: 67, column: 11, }, end: Position { line: 67, column: 21, }, }, }, ), Raw( PartRaw { content: "username", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 30, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${METRICS_REMOTE_WRITE_USERNAME}", span: Span { start: Position { line: 67, column: 34, }, end: Position { line: 67, column: 67, }, }, }, ), ], span: Span { start: Position { line: 67, column: 33, }, end: Position { line: 67, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "basic_auth", span: Span { start: Position { line: 68, column: 11, }, end: Position { line: 68, column: 21, }, }, }, ), Raw( PartRaw { content: "password_file", span: Span { start: Position { line: 68, column: 22, }, end: Position { line: 68, column: 35, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${CREDENTIALS_DIRECTORY}/metrics_remote_write_password", span: Span { start: Position { line: 68, column: 39, }, end: Position { line: 68, column: 94, }, }, }, ), ], span: Span { start: Position { line: 68, column: 38, }, end: Position { line: 68, column: 95, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 40, }, end: Position { line: 69, column: 10, }, }, }, ), ], span: Span { start: Position { line: 65, column: 39, }, end: Position { line: 69, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logs", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 13, }, }, }, ), Raw( PartRaw { content: "configs", span: Span { start: Position { line: 70, column: 14, }, end: Position { line: 70, column: 21, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 71, column: 11, }, end: Position { line: 71, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 71, column: 19, }, end: Position { line: 71, column: 26, }, }, }, ), ], span: Span { start: Position { line: 71, column: 18, }, end: Position { line: 71, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "scrape_configs", span: Span { start: Position { line: 72, column: 11, }, end: Position { line: 72, column: 25, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "job_name", span: Span { start: Position { line: 74, column: 15, }, end: Position { line: 74, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "journal", span: Span { start: Position { line: 74, column: 27, }, end: Position { line: 74, column: 34, }, }, }, ), ], span: Span { start: Position { line: 74, column: 26, }, end: Position { line: 74, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "journal", span: Span { start: Position { line: 75, column: 15, }, end: Position { line: 75, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "max_age", span: Span { start: Position { line: 76, column: 17, }, end: Position { line: 76, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "12h", span: Span { start: Position { line: 76, column: 28, }, end: Position { line: 76, column: 31, }, }, }, ), ], span: Span { start: Position { line: 76, column: 27, }, end: Position { line: 76, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "labels", span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 77, column: 23, }, }, }, ), Raw( PartRaw { content: "job", span: Span { start: Position { line: 77, column: 24, }, end: Position { line: 77, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "systemd-journal", span: Span { start: Position { line: 77, column: 31, }, end: Position { line: 77, column: 46, }, }, }, ), ], span: Span { start: Position { line: 77, column: 30, }, end: Position { line: 77, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 75, column: 25, }, end: Position { line: 78, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "relabel_configs", span: Span { start: Position { line: 79, column: 15, }, end: Position { line: 79, column: 30, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source_labels", span: Span { start: Position { line: 81, column: 19, }, end: Position { line: 81, column: 32, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "__journal__systemd_unit", span: Span { start: Position { line: 81, column: 38, }, end: Position { line: 81, column: 61, }, }, }, ), ], span: Span { start: Position { line: 81, column: 37, }, end: Position { line: 81, column: 62, }, }, }, ), ], span: Span { start: Position { line: 81, column: 35, }, end: Position { line: 81, column: 64, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "target_label", span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 82, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "systemd_unit", span: Span { start: Position { line: 82, column: 35, }, end: Position { line: 82, column: 47, }, }, }, ), ], span: Span { start: Position { line: 82, column: 34, }, end: Position { line: 82, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 80, column: 17, }, end: Position { line: 83, column: 18, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source_labels", span: Span { start: Position { line: 85, column: 19, }, end: Position { line: 85, column: 32, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "__journal__hostname", span: Span { start: Position { line: 85, column: 38, }, end: Position { line: 85, column: 57, }, }, }, ), ], span: Span { start: Position { line: 85, column: 37, }, end: Position { line: 85, column: 58, }, }, }, ), ], span: Span { start: Position { line: 85, column: 35, }, end: Position { line: 85, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "target_label", span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nodename", span: Span { start: Position { line: 86, column: 35, }, end: Position { line: 86, column: 43, }, }, }, ), ], span: Span { start: Position { line: 86, column: 34, }, end: Position { line: 86, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 84, column: 17, }, end: Position { line: 87, column: 18, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source_labels", span: Span { start: Position { line: 89, column: 19, }, end: Position { line: 89, column: 32, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "__journal_syslog_identifier", span: Span { start: Position { line: 89, column: 38, }, end: Position { line: 89, column: 65, }, }, }, ), ], span: Span { start: Position { line: 89, column: 37, }, end: Position { line: 89, column: 66, }, }, }, ), ], span: Span { start: Position { line: 89, column: 35, }, end: Position { line: 89, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "target_label", span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 90, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "syslog_identifier", span: Span { start: Position { line: 90, column: 35, }, end: Position { line: 90, column: 52, }, }, }, ), ], span: Span { start: Position { line: 90, column: 34, }, end: Position { line: 90, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 91, column: 18, }, }, }, ), ], span: Span { start: Position { line: 79, column: 33, }, end: Position { line: 92, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 73, column: 13, }, end: Position { line: 93, column: 14, }, }, }, ), ], span: Span { start: Position { line: 72, column: 28, }, end: Position { line: 94, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "positions", span: Span { start: Position { line: 95, column: 11, }, end: Position { line: 95, column: 20, }, }, }, ), Raw( PartRaw { content: "filename", span: Span { start: Position { line: 95, column: 21, }, end: Position { line: 95, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${STATE_DIRECTORY}/loki_positions.yaml", span: Span { start: Position { line: 95, column: 33, }, end: Position { line: 95, column: 72, }, }, }, ), ], span: Span { start: Position { line: 95, column: 32, }, end: Position { line: 95, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "clients", span: Span { start: Position { line: 96, column: 11, }, end: Position { line: 96, column: 18, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 97, column: 13, }, end: Position { line: 97, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${LOGS_REMOTE_WRITE_URL}", span: Span { start: Position { line: 97, column: 20, }, end: Position { line: 97, column: 45, }, }, }, ), ], span: Span { start: Position { line: 97, column: 19, }, end: Position { line: 97, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "basic_auth", span: Span { start: Position { line: 98, column: 13, }, end: Position { line: 98, column: 23, }, }, }, ), Raw( PartRaw { content: "username", span: Span { start: Position { line: 98, column: 24, }, end: Position { line: 98, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${LOGS_REMOTE_WRITE_USERNAME}", span: Span { start: Position { line: 98, column: 36, }, end: Position { line: 98, column: 66, }, }, }, ), ], span: Span { start: Position { line: 98, column: 35, }, end: Position { line: 98, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "basic_auth", span: Span { start: Position { line: 99, column: 13, }, end: Position { line: 99, column: 23, }, }, }, ), Raw( PartRaw { content: "password_file", span: Span { start: Position { line: 99, column: 24, }, end: Position { line: 99, column: 37, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "${CREDENTIALS_DIRECTORY}/logs_remote_write_password", span: Span { start: Position { line: 99, column: 41, }, end: Position { line: 99, column: 93, }, }, }, ), ], span: Span { start: Position { line: 99, column: 40, }, end: Position { line: 99, column: 94, }, }, }, ), }, ), ], span: Span { start: Position { line: 96, column: 22, }, end: Position { line: 100, column: 12, }, }, }, ), ], span: Span { start: Position { line: 96, column: 21, }, end: Position { line: 100, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 70, column: 25, }, end: Position { line: 101, column: 10, }, }, }, ), ], span: Span { start: Position { line: 70, column: 24, }, end: Position { line: 101, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 64, column: 17, }, end: Position { line: 102, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 25, }, end: Position { line: 103, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 36, }, end: Position { line: 104, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 106, column: 3, }, end: Position { line: 106, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 106, column: 12, }, end: Position { line: 106, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 106, column: 17, }, end: Position { line: 106, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 106, column: 21, }, end: Position { line: 106, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 107, column: 5, }, end: Position { line: 107, column: 13, }, }, }, ), Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 107, column: 14, }, end: Position { line: 107, column: 27, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 107, column: 28, }, end: Position { line: 107, column: 36, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "metrics", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wal_directory", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 110, column: 25, }, end: Position { line: 110, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "${STATE_DIRECTORY}", span: Span { start: Position { line: 110, column: 36, }, end: Position { line: 110, column: 55, }, }, }, ), ], span: Span { start: Position { line: 110, column: 35, }, end: Position { line: 110, column: 56, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "global", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 15, }, }, }, ), Raw( PartRaw { content: "scrape_interval", span: Span { start: Position { line: 111, column: 16, }, end: Position { line: 111, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 111, column: 34, }, end: Position { line: 111, column: 43, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "5s", span: Span { start: Position { line: 111, column: 45, }, end: Position { line: 111, column: 47, }, }, }, ), ], span: Span { start: Position { line: 111, column: 44, }, end: Position { line: 111, column: 48, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 109, column: 17, }, end: Position { line: 112, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "integrations", span: Span { start: Position { line: 113, column: 7, }, end: Position { line: 113, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "agent", span: Span { start: Position { line: 114, column: 9, }, end: Position { line: 114, column: 14, }, }, }, ), Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 114, column: 15, }, end: Position { line: 114, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 114, column: 25, }, end: Position { line: 114, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 114, column: 35, }, end: Position { line: 114, column: 39, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "agent", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 14, }, }, }, ), Raw( PartRaw { content: "scrape_integration", span: Span { start: Position { line: 115, column: 15, }, end: Position { line: 115, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 115, column: 36, }, end: Position { line: 115, column: 45, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 115, column: 46, }, end: Position { line: 115, column: 50, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "node_exporter", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 22, }, }, }, ), Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 116, column: 23, }, end: Position { line: 116, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 116, column: 33, }, end: Position { line: 116, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 116, column: 43, }, end: Position { line: 116, column: 47, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "replace_instance_label", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 117, column: 34, }, end: Position { line: 117, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 117, column: 44, }, end: Position { line: 117, column: 48, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 113, column: 22, }, end: Position { line: 118, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 107, column: 39, }, end: Position { line: 119, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 121, column: 5, }, end: Position { line: 121, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 121, column: 13, }, end: Position { line: 121, column: 21, }, }, }, ), Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 121, column: 22, }, end: Position { line: 121, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 122, column: 7, }, end: Position { line: 122, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 122, column: 21, }, end: Position { line: 122, column: 38, }, }, }, ), ], span: Span { start: Position { line: 122, column: 20, }, end: Position { line: 122, column: 39, }, }, }, ), ], span: Span { start: Position { line: 122, column: 18, }, end: Position { line: 122, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 123, column: 7, }, end: Position { line: 123, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "set -euo pipefail\nshopt -u nullglob\n\n# Load all credentials into env if they are in UPPER_SNAKE form.\nif [[ -n \"", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 128, column: 19, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 128, column: 22, }, }, }, ), Raw( PartRaw { content: "{CREDENTIALS_DIRECTORY:-}\" ]]; then\n for file in \"$CREDENTIALS_DIRECTORY\"/*; do\n key=$(basename \"$file\")\n if [[ $key =~ ^[A-Z0-9_]+$ ]]; then\n echo \"Environ $key\"\n export \"$key=$(< \"$file\")\"\n fi\n done\nfi\n\n# We can't use Environment=HOSTNAME=%H, as it doesn't include the domain part.\nexport HOSTNAME=$(< /proc/sys/kernel/hostname)\n\nexec ", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 141, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 141, column: 16, }, end: Position { line: 141, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 141, column: 20, }, end: Position { line: 141, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/agent -config.expand-env -config.file ", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 141, column: 71, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 141, column: 73, }, end: Position { line: 141, column: 83, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 142, column: 7, }, }, }, ), ], span: Span { start: Position { line: 123, column: 16, }, end: Position { line: 142, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 143, column: 7, }, end: Position { line: 143, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 144, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 144, column: 20, }, end: Position { line: 144, column: 26, }, }, }, ), ], span: Span { start: Position { line: 144, column: 19, }, end: Position { line: 144, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 145, column: 23, }, end: Position { line: 145, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 146, column: 9, }, end: Position { line: 146, column: 19, }, }, }, ), ], to: Integer( Integer { value: "2", span: Span { start: Position { line: 146, column: 22, }, end: Position { line: 146, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SupplementaryGroups", span: Span { start: Position { line: 147, column: 9, }, end: Position { line: 147, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "systemd-journal", span: Span { start: Position { line: 149, column: 12, }, end: Position { line: 149, column: 27, }, }, }, ), ], span: Span { start: Position { line: 149, column: 11, }, end: Position { line: 149, column: 28, }, }, }, ), ], span: Span { start: Position { line: 147, column: 31, }, end: Position { line: 150, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 151, column: 9, }, end: Position { line: 151, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "grafana-agent", span: Span { start: Position { line: 151, column: 27, }, end: Position { line: 151, column: 40, }, }, }, ), ], span: Span { start: Position { line: 151, column: 26, }, end: Position { line: 151, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LoadCredential", span: Span { start: Position { line: 152, column: 9, }, end: Position { line: 152, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 152, column: 26, }, end: Position { line: 152, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 152, column: 30, }, end: Position { line: 152, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "key", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "key", span: Span { start: Position { line: 152, column: 61, }, end: Position { line: 152, column: 64, }, }, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 152, column: 59, }, end: Position { line: 152, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 152, column: 68, }, end: Position { line: 152, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 152, column: 58, }, end: Position { line: 152, column: 75, }, }, }, ), span: Span { start: Position { line: 152, column: 51, }, end: Position { line: 152, column: 75, }, }, }, ), span: Span { start: Position { line: 152, column: 46, }, end: Position { line: 152, column: 75, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 152, column: 77, }, end: Position { line: 152, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "credentials", span: Span { start: Position { line: 152, column: 81, }, end: Position { line: 152, column: 92, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 153, column: 9, }, end: Position { line: 153, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 153, column: 17, }, end: Position { line: 153, column: 23, }, }, }, ), ], span: Span { start: Position { line: 153, column: 16, }, end: Position { line: 153, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 154, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 121, column: 38, }, end: Position { line: 155, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 106, column: 28, }, end: Position { line: 156, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 157, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 157, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 157, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 157, column: 2, }, }, }, )