Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Issues processing LogicalID for Softlayer instances #546

@kaufers

Description

@kaufers

The current LogicalID processing in the terraform instance provider has two issues:

  • The "LogicalID" tag is only added to the tags if the tags object type is map but, for Softlayer, the tags object type is a list; this causes the LogicalID to never be added as a tag. Then, when the group plugin issues a DescribeInstances by group name, the instances returned have no LogicalID set -- and then the group plugin requests to create another instance.
  • Softlayer only supports lower-case chars in tags so the code that looks for "LogicalID" in the tags will never match; this needs to be updated to implement a case-insensitive key check

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