ExercisesExercisesContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
    • Prerequisites
    • Git
    • Linode API
    • Akamai API
    • Declarative Language
    • Core Workflow
    • Providers
    • Data Sources
    • Resources
    • Outputs
      • Variables
      • Locals
      • Environment Variables
    • Expressions
      • References to Values
      • Conditionals
      • For Iterations
      • Dynamic Blocks
    • Meta-Arguments
      • depends_on
      • count
      • for_each
      • lifecycle
    • Built-In Functions
      • Root & Child Modules
      • Module Outputs
    • State File
      • State Storage
      • State Locking
      • State Best Practices
    • Imports
    • Troubleshooting
    • Akamai Examples
    • Akamai Terraform Provider (opens in a new tab)
    • Linode Terraform Provider (opens in a new tab)
    • All Exercises
  • 3 Ex Providers
  • 4 Ex Data Sources
  • 5 Ex Resources
  • 6 Ex Outputs
  • 7a Ex Variables
  • 7b Ex Locals
  • 7c Ex Env Variables
  • 8b Ex Conditionals
  • 8c Ex for Loops
  • 8d Ex Dynamic Blocks
  • 9a Ex Depends On
  • 9b Ex Count
  • 9c Ex for Each
  • 9d Ex Lifecycle
  • 10 Ex Built in Functions
  • 11 Ex Modules
  • 12 Ex State Storage
  • 13 Ex Imports
  • 14 Ex Troubleshooting
Question? Give us feedback → (opens in a new tab)Edit this page
Exercises
4 Ex Data Sources

New File

Create a Terraform file named main.tf which contains 3 data sources:

  • akamai_group, referencing a single group.
ℹ️

Hint: In techdocs check the Base IDs (opens in a new tab) section.

  • akamai_appsec_configuration, referencing a single config
  • akamai_property, referencing a single Akamai property

Run

Run a terraform apply

Q&A

What happens?

Commit

Commit your changes and push them to GitHub.

3 Ex Providers5 Ex Resources

2024 Advanced Solutions Team - Akamai Technical Documentation