Skip to content

Terminate product - External - Failing for non AWS providers #10

@kichareplies

Description

@kichareplies

We are using https://github.com/aws-ia/terraform-aws-sce-tf-community to provision products with terraform engine. When we use providers other than AWS, terminate product errors with message needing the config for that provider.

For example, we were able to provision an external terraform product with dynatrace - https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs

During terminate of the product it failed with the error message "Error: No Environment URL has been specified. Use either the environment variable DYNATRACE_ENV_URL or the configuration attribute dt_env_url of the provider for that"

This is because during terminate the artifact or the parameters are not part of the event - See https://docs.aws.amazon.com/servicecatalog/latest/adminguide/external-engine.html

Because of this the non AWS providers does not get the required configuration and errors during terminate.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I created a support ticket with AWS on this with case id 173031172100662 to make it as a feature request.

Till then is it possible to get the artifact (by look ups) during the terminate process and continue with deprovision ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions