Allows accepting the Legal Terms for a Marketplace Image.
resource "azurerm_marketplace_agreement" "barracuda" {
publisher = "barracudanetworks"
offer = "waf"
plan = "hourly"
}
The following arguments are supported:
offer
- (Required) The Offer of the Marketplace Image. Changing this forces a new resource to be created.
plan
- (Required) The Plan of the Marketplace Image. Changing this forces a new resource to be created.
publisher
- (Required) The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Marketplace Agreement.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Marketplace Agreement.read
- (Defaults to 5 minutes) Used when retrieving the Marketplace Agreement.delete
- (Defaults to 30 minutes) Used when deleting the Marketplace Agreement.Marketplace Agreement can be imported using the resource id
, e.g.
terraform import azurerm_marketplace_agreement.example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MarketplaceOrdering/agreements/publisher1/offers/offer1/plans/plan1