Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lab-Terraform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSDS
Teaching
Bachelor
Cloud-and-Deployment
Lab-Terraform
Commits
fbb74670
Commit
fbb74670
authored
2 years ago
by
marcoemi.poleggi
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
33256f20
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
fbb74670
...
@@ -65,11 +65,11 @@ You can query the AMI Catalog via
...
@@ -65,11 +65,11 @@ You can query the AMI Catalog via
```
shell
```
shell
lcl
$
aws ec2 describe-images
--region
us-east-1
\
lcl
$
aws ec2 describe-images
--region
us-east-1
\
--filters
"Name=root-device-type,Values=ebs"
\
--filters
"Name=root-device-type,Values=ebs"
\
"Name=name,Values=*ubuntu
*20*
server*"
\
"Name=name,Values=*ubuntu
-jammy-22.04-amd64-
server*"
\
"Name=architecture,Values=x86_64"
\
"Name=architecture,Values=x86_64"
\
--query
"reverse(sort_by(Images, &ImageId))[:2].[ImageId]"
--output
text
--query
"reverse(sort_by(Images, &ImageId))[:2].[ImageId]"
--output
text
ami-0f
cda042dd8ae41c7
ami-0f
65ab0fd913bc7be
ami-0
fb
eb45
a81e0e242f
ami-0eb45
246cba02871b
```
```
:bulb: In the following task(s), we use the first AMI found for the
:bulb: In the following task(s), we use the first AMI found for the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment