Skip to content

Commit

Permalink
Merge pull request #3722 from pulumi/torian/get-ami-fix
Browse files Browse the repository at this point in the history
Update EC2 Webserver How-To Guide
  • Loading branch information
toriancrane authored Jan 4, 2024
2 parents 356909f + 416d6ae commit f33dce3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const aws = require("@pulumi/aws");
const pulumi = require("@pulumi/pulumi");

let size = "t2.micro"; // t2.micro is available in the AWS free tier
let ami = aws.getAmiOutput({
let ami = aws.ec2.getAmiOutput({
filters: [{
name: "name",
values: ["amzn-ami-hvm-*"],
Expand Down Expand Up @@ -115,7 +115,7 @@ import * as aws from "@pulumi/aws";
import * as pulumi from "@pulumi/pulumi";

const size = "t2.micro"; // t2.micro is available in the AWS free tier
const ami = aws.getAmiOutput({
const ami = aws.ec2.getAmiOutput({
filters: [{
name: "name",
values: ["amzn-ami-hvm-*"],
Expand Down

0 comments on commit f33dce3

Please sign in to comment.