-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-var atlantis_repo cannot contain '/' (0.4.9) #295
Comments
I don't think it makes sense to change the value of What about instead using a tf function to remove the provider "aws" {
assume_role {
role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
session_name = "${var.atlantis_user}-${replace(var.atlantis_repo, "/[^\\w+=,.@-]/", "-")}-${var.atlantis_pull_num}"
}
} |
My initial reaction is that I do not think it is great that Atlantis fails to assume a role by default ;) I cannot get onboard with having a regex in every repo at our org, not because we don't understand it but rather it is just too ugly (subjective, I know). I would rather implement either of:
|
That's fair. I like your second suggestion. Also set: |
Fixed by #300 |
-var atlantis_repo=runatlantis/atlantis
is invalid per the documentation. It cannot contain a/
Maybe it should be replaced with another character? Or just drop the organization and just use the repo name?
The text was updated successfully, but these errors were encountered: