-
Create a Spotify Developer App
Create Spotify Developer App and add this as Redirect URIs http://localhost:27228/spotify_callbackCreate and save file .env with
client_idandclient_secret -
Run a Proxy Server Using Docker
Use thespotify_auth_proxymodule to allow Terraform to interact with Spotify:docker run --rm -it -p 27228:27228 --env-file .env ghcr.io/conradludgate/spotify-auth-proxy
-
Save the API Key
Copy the API key returned from the auth URL and save it in a variable by creating aterraform.tfvarsfile. -
Initialize Terraform
Run the following command:terraform init
-
Create a Playlist Resource in Terraform
Specify the URLs of the songs you want to add to your playlist. Additionally, create another playlist that automatically adds songs from a specific artist to a second playlist using the Terraform Data Source. -
Plan and Apply Terraform Configuration
Execute the following commands:terraform plan terraform apply
-
Notifications
You must be signed in to change notification settings - Fork 0
lorduke22/terraform-spotify-project
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published