-
Notifications
You must be signed in to change notification settings - Fork 476
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
Add confidential computing in aks module #423
Add confidential computing in aks module #423
Conversation
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.
Thanks @jiaweitao001, one comment.
variables.tf
Outdated
@@ -388,6 +388,14 @@ variable "cluster_name" { | |||
description = "(Optional) The name for the AKS resources created in the specified Azure Resource Group. This variable overwrites the 'prefix' var (The 'prefix' var will still be applied to the dns_prefix if it is set)" | |||
} | |||
|
|||
variable "confidential_computing" { | |||
type = list(object({ |
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.
According to the schema, could we set type to boolean
for this variable?
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.
Yes, we can simplify this type to a boolean
, I was wondering there might be a possibility that more attributes will be added to this confidential_computing
in the future, use a list
would be more scalable?
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.
Since the MaxItems
of this list is 1
I think in that case, an object
would be enough for us. WDYT?
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.
Make sense. We can just use object
instead of list
.
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.
Thanks @jiaweitao001, LGTM!
* Add confidential computing in aks module
Describe your changes
Issue number
#421
Checklist before requesting a review
CHANGELOG.md
fileThanks for your cooperation!