gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.57k stars 1.75k forks source link

Include Teleport Auth Type in AWS Terraform setting and documentation #22214

Open stevenGravy opened 1 year ago

stevenGravy commented 1 year ago

Expected behavior:

The Teleport Auth Type can be set in the AWS HA terraform setting. Currently in auth-user-data.tpl you have to manually add a line like this:

TELEPORT_AUTH_TYPE=saml

That will then populate in the authentication setting the default auth type.

Current behavior:

No documentation or terraform settings have the TELEPORT_AUTH_TYPE environment variable population.

Bug details:

webvictim commented 1 year ago

https://github.com/gravitational/teleport-cluster-terraform/blob/master/variables.tf#L154-L161 😢

Basically I added this as part of teleport-cluster-terraform with the hope that we could get away from this awful Makefile and start using a proper module with a variable etc, but it was a pretty big lift.

Related to https://github.com/gravitational/teleport/issues/16553