Skip to content

Commit

Permalink
Merge pull request #281 from DontShaveTheYak/develop
Browse files Browse the repository at this point in the history
Release v0.7.1
  • Loading branch information
shadycuz authored Apr 19, 2024
2 parents 2847084 + 93ad026 commit 49d3a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cf2tf/conversion/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,11 @@ def get_azs(template: "TemplateConverter", region: Any):

if not data:
az_data = hcl2.Data(
"available", "availability_zones", {"state": StringType("available")}
"available", "aws_availability_zones", {"state": StringType("available")}
)
template.post_proccess_blocks.insert(0, az_data)

return LiteralType("data.aws_availability_zones.available.names")
return az_data.ref("names")


# todo Handle functions that are not applicable to terraform.
Expand Down

0 comments on commit 49d3a86

Please sign in to comment.