Skip to content

Implement firewall template and templates data sources #1873

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

Open
wants to merge 1 commit into
base: proj/linode-interfaces
Choose a base branch
from

Conversation

zliang-akamai
Copy link
Member

📝 Description

This is to implement the data sources for firewall template.

✔️ How to Test

make test-int PKG_NAME="firewall"
make test-int PKG_NAME="firewalltemplates"
make test-int PKG_NAME="firewalltemplate"
provider "linode" {
}

data "linode_firewall_template" "public-template" {
  slug = "public"
}

data "linode_firewall_templates" "all-template" {
}

output "firewall_template_public" {
  value = data.linode_firewall_template.public-template.id
}

output "firewall_templates" {
  value = data.linode_firewall_templates.all-template.firewall_templates
}

@zliang-akamai zliang-akamai requested a review from a team as a code owner May 12, 2025 21:25
@zliang-akamai zliang-akamai requested review from jriddle-linode and ykim-akamai and removed request for a team May 12, 2025 21:25
@zliang-akamai zliang-akamai added the new-feature for new features in the changelog. label May 13, 2025
@zliang-akamai zliang-akamai force-pushed the proj/linode-interfaces branch from 904af78 to 35461dd Compare May 19, 2025 16:17
@zliang-akamai zliang-akamai force-pushed the zhiwei/firewall-templates-datasources branch from ed0da45 to 11f7c54 Compare May 19, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature for new features in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant