Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configure the Restaurant provider
- provider "restaurant" {
- # Set the provider-specific configuration options
- }
- # Define the vegan breakfast resource
- resource "restaurant_vegan_breakfast" "vegan_breakfast" {
- # Set the resource-specific configuration options
- menu_item_name = "Vegan Breakfast"
- ingredients = ["tofu scramble", "vegan sausage", "vegan cheese", "avocado toast", "fruit salad"]
- price = "$12.99"
- }
- # Output the vegan breakfast details
- output "vegan_breakfast_details" {
- value = "${restaurant_vegan_breakfast.vegan_breakfast.menu_item_name} - ${restaurant_vegan_breakfast.vegan_breakfast.ingredients} - ${restaurant_vegan_breakfast.vegan_breakfast.price}"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement