Skip to content

Add Auto-naming to datadog providerΒ #508

@VenelinMartinov

Description

@VenelinMartinov

What happened?

Looks like we don't auto-name some (all?) resources in datadog:
#506

All the resource with RandomString names are ones which failed without a name parameter. We handle this for other providers, seems reasonable to do the same for datadog.

Example

name: index_apikeyGrx1Jo4mtRy8
runtime: yaml
description: ""
config:
  pulumi:tags:
    value:
      pulumi:template: https://www.pulumi.com/ai/api/project/cef5cfba-6f6d-4ef1-afac-fe029857cdf5.zip
resources:
  datadogApiKey:
    type: datadog:ApiKey

fails, but succeeds with a name property. Same for:

name: index_logscustompipelineqAzO442RDaIa
runtime: yaml
description: ""
config:
  pulumi:tags:
    value:
      pulumi:template: https://www.pulumi.com/ai/api/project/ffddeb16-4a62-4703-be3a-e13744251a78.zip
resources:
  logs-custom-pipeline:
    properties:
      filters:
        - query: source:python
      isEnabled: true
      processors: []
    type: datadog:LogsCustomPipeline

Output of pulumi about

.

Additional context

No response

Contributing

Vote on this issue by adding a πŸ‘ reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueStart here if you'd like to start contributing to Pulumikind/enhancementImprovements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions