-
Notifications
You must be signed in to change notification settings - Fork 0
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
[ubuntu] add aws ami source #1
base: main
Are you sure you want to change the base?
Conversation
@@ -170,8 +245,52 @@ source "azure-arm" "build_image" { | |||
} | |||
} | |||
|
|||
source "amazon-ebs" "ubuntu-base-2204" { |
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.
new source for aws ami source
build { | ||
sources = ["source.azure-arm.build_image"] | ||
sources = var.sources |
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.
input as variable with default value for backward compatibility reasons
azure is always build as default if no sources
variable is provided
@@ -138,6 +138,81 @@ variable "vm_size" { | |||
default = "Standard_D4s_v4" | |||
} | |||
|
|||
variable "sources" { | |||
type = list(string) | |||
default = ["source.azure-arm.build_image"] |
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.
input as variable with default value for backward compatibility reasons
azure is always build as default if no sources variable is provided
7f820d6
to
2ff6585
Compare
2ff6585
to
ece5d40
Compare
And please use |
ece5d40
to
1ae5683
Compare
applied for my changes |
4fe8d1e
to
0b01aca
Compare
34dac07
to
bde99b2
Compare
24c64a6
to
918e50d
Compare
a6f3337
to
d2d7da4
Compare
e7f8bd4
to
599286c
Compare
f7aac0e
to
f0b08b0
Compare
d67b4b4
to
ef70640
Compare
be13ab6
to
1058c9b
Compare
1058c9b
to
973e98c
Compare
973e98c
to
8c35ca4
Compare
…ment-azure-arm.sh
Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.
Related issue:
Check list