Skip to content

Commit ccf9701

Browse files
committed
fix: public ip for testinfra
1 parent 9d3c697 commit ccf9701

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

testinfra/test_ami.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,12 @@ def gzip_then_base64_encode(s: str) -> str:
198198
MinCount=1,
199199
MaxCount=1,
200200
ImageId=image.id,
201-
SecurityGroups=[
202-
"supabase-postgres-security-group",
203-
"pgbouncer-security-group",
201+
NetworkInterfaces=[
202+
{
203+
"DeviceIndex": 0,
204+
"AssociatePublicIpAddress": True,
205+
"Groups": ["sg-0a883ca614ebfbae0", "sg-014d326be5a1627dc"],
206+
}
204207
],
205208
UserData=f"""#cloud-config
206209
hostname: db-aaaaaaaaaaaaaaaaaaaa

0 commit comments

Comments
 (0)