-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added an optional aws_session_token variable #35
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
variable "corral_name" {} // name of the corral being created | ||
variable "corral_user_id" {} // how the user is identified (usually github username) | ||
variable "corral_public_key" {} // The corrals public key. This should be installed on every node. | ||
variable "corral_name" {} // name of the corral being created | ||
variable "corral_user_id" {} // how the user is identified (usually github username) | ||
variable "corral_public_key" {} // The corrals public key. This should be installed on every node. | ||
variable "corral_private_key" {} // The corrals private key. This should be installed on every node to be able to have root access, as aws does not allow this by default. | ||
|
||
variable "aws_access_key" {} | ||
variable "aws_secret_key" {} | ||
variable "aws_session_token" { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yash if it's optional I think we need to default it. The optional aspect should go here: https://github.com/rancherlabs/corral-packages/blob/main/templates/aws/nodes/manifest.yaml There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also I don't see where it's used. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @igomez06 for reference https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @l4zy0n3 But it's not really answering my question how are you setting this? And why isn't it in the manifest.yaml? Are you reading it as an env var? How would you set this in a Jenkins job? |
||
type = string | ||
default = "" | ||
} | ||
variable "aws_region" {} | ||
variable "aws_ami" {} | ||
variable "aws_hostname_prefix" {} | ||
|
@@ -18,4 +22,4 @@ variable "aws_ipv6_80_target_group_arn" {} | |
variable "aws_ipv6_443_target_group_arn" {} | ||
variable "instance_type" {} | ||
variable "server_count" {} | ||
variable "agent_count" {} | ||
variable "agent_count" {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last point why does it have all of this formatting changes? Is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, @igomez06, I'll revert the unnecessary formatting