Skip to content

Bosh-DNS names as destination Application Security Group #1442

Open
@kinjelom

Description

@kinjelom

Issue

I want to use Bosh-DNS names as a destination in an Application Security Group definition.
Example:

[
  {
    "destination": "q-s0.postgres-instance.default.postgres-deployment.bosh",
     "ports": "5432",
     "protocol": "tcp"
  }
]

Now I can use it in user-provided-services definition, but ASG destination doesn't support host names.

Context

One source of truth is usually a good idea.
I think BOSH-DNS is source of truth about IP addresses, so why don't use it in an Application Security Group definition.
BTW, until openstack will not support local static IP (cloudfoundry/bosh-openstack-cpi-release#14), using BOSH-DNS names can be walkaround. Local IP addresses can be changed automatically by bosh-director... then ASG definitions have outdated information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions