Skip to content

Unable to Inventory AWS::ECS::TaskSet #26

Description

@CarsonRuns

Version

carson@formae-ecg-eng %fr --version
formae version: 0.75.7
go version: go1.25.1

Formae configuration

"formae:/Config.pkl"

agent {
    server {
        nodename = "formae"
        hostname = "0.0.0.0"
        port = 8080
        secret = ""
        tlsCert = null
        tlsKey = null
    }

    datastore {
        datastoreType = "postgres"
        sqlite {
            filePath = "~/.pel/formae/data/formae.db"
        }
        postgres {
            host = read("env:DB_HOST")
            port = read("env:DB_PORT").toInt()
            user = read("env:DB_USER")
            password = read("env:DB_PASSWORD")
            database = read("env:DB_NAME")
            schema = "public"
            connectionParams = ""
        }
    }
    synchronization {
        enabled = true
        interval = 5.min
    }

    discovery {
        enabled = true
        labelTagKeys = new Listing {
            "Name"
        }
        interval = 10.min
        resourceTypesToDiscover = new Listing { }
    }

    logging {
        filePath = "~/.pel/formae/log/formae.log"
        fileLogLevel = "debug"
        consoleLogLevel = "info"
    }

    oTel {
        enabled = false
        serviceName = "formae-agent"
        otlp {
            endpoint = "http://localhost:4317"
            protocol = "grpc"
            insecure = true
        }
    }

    retry {
        statusCheckInterval = 10.s
        maxRetries = 9
        retryDelay = 10.s
    }
}

cli {
    api {
        url = "https://formae.ops.ecg.com"
        port = 443
    }
}

plugins {
    }

Steps to reproduce

Run discover

Actual behavior

Doesn't discover AWS::ECS::TaskSet

Expected behavior

Discovery them

Logs/output

[2m2025-12-16T19:59:16Z�[0m �[91mERR�[0m PluginOperator: failed to list resources of type AWS::ECS::TaskSet in target ecg-engineering with list parameters map[Cluster:{Cluster Cluster ecg-prod} Service:{ServiceName Service report-portal}]: operation error CloudControl: ListResources, https response error StatusCode: 400, RequestID: 47cf7cb9-003b-4fcf-aef1-91b3167d058f, InvalidRequestException: Missing Or Invalid ResourceModel property in AWS::ECS::TaskSet list handler request input. Required property: [Cluster, Service, Id] [pid=<40B61468.0.1262>] [name='formae://discovery-taskset.ecs.aws-36wQSqVoROAHXKtbEH6zm1RCgEm#/List/2c151e32-4861-450f-920f-92213b32d211'] [behavior=plugin_operation.PluginOperator]

Additional context

No response

Impact

Medium - Partial functionality affected

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions