diff --git a/test/functional-cloud/shared/resources/testdata/corerp-resources-recipe-bicep.bicep b/test/functional-cloud/shared/resources/testdata/corerp-resources-recipe-bicep.bicep deleted file mode 100644 index 39cca4d3bf7..00000000000 --- a/test/functional-cloud/shared/resources/testdata/corerp-resources-recipe-bicep.bicep +++ /dev/null @@ -1,64 +0,0 @@ -import radius as radius - -@description('The OCI registry for test Bicep recipes.') -param registry string -@description('The OCI tag for test Bicep recipes.') -param version string - -@description('The base name of the test, used to qualify resources and namespaces. eg: corerp-resources-terraform-helloworld') -param basename string -@description('The recipe to test. eg: hello-world') -param recipe string -@description('The recipe name used to register the recipe. eg: default') -param environmentRecipeName string = 'default' -@description('The recipe name used to invoke the recipe. eg: default') -param resourceRecipeName string = 'default' -@description('The environment parameters to pass to the recipe. eg: {"message": "Hello World"}') -param environmentParameters object = {} -@description('The resource parameters to pass to the recipe. eg: {"name": "hello-world"}') -param resourceParameters object = {} - -resource env 'Applications.Core/environments@2023-10-01-preview' = { - name: basename - properties: { - compute: { - kind: 'kubernetes' - resourceId: 'self' - namespace: '${basename}-env' - } - recipes: { - 'Applications.Core/extenders': { - '${environmentRecipeName}': { - templateKind: 'bicep' - templatePath: '${registry}/test/functional/shared/recipes/${recipe}:${version}' - parameters: environmentParameters - } - } - } - } -} - -resource app 'Applications.Core/applications@2023-10-01-preview' = { - name: basename - properties: { - environment: env.id - extensions: [ - { - kind: 'kubernetesNamespace' - namespace: '${basename}-app' - } - ] - } -} - -resource extender 'Applications.Core/extenders@2023-10-01-preview' = { - name: basename - properties: { - application: app.id - environment: env.id - recipe: { - name: resourceRecipeName - parameters: resourceParameters - } - } -} diff --git a/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/parameter-outputs/output.tf b/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/parameter-outputs/output.tf deleted file mode 100644 index 5626bb1d38f..00000000000 --- a/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/parameter-outputs/output.tf +++ /dev/null @@ -1,13 +0,0 @@ -output "result" { - value = { - values = { - a = var.a - b = var.b - c = var.c - d = var.d - } - secrets = { - e = "secret value" - } - } -} \ No newline at end of file diff --git a/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/parameter-outputs/variables.tf b/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/parameter-outputs/variables.tf deleted file mode 100644 index 6600d3db7a5..00000000000 --- a/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/parameter-outputs/variables.tf +++ /dev/null @@ -1,17 +0,0 @@ -variable "a" { - type = string -} - -variable "b" { - type = string - default = "default value" -} - -variable "c" { - type = number -} - -variable "d" { - type = string - default = "default value" -} diff --git a/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/wrong-output/output.tf b/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/wrong-output/output.tf deleted file mode 100644 index 38e2767a9e7..00000000000 --- a/test/functional-cloud/shared/resources/testdata/recipes/test-terraform-recipes/wrong-output/output.tf +++ /dev/null @@ -1,7 +0,0 @@ -output "result" { - value = { - error = { - message = "error is not a valid recipe output" - } - } -} \ No newline at end of file diff --git a/test/functional/shared/resources/testdata/recipes/test-bicep-recipes/extenders-aws-s3-recipe.bicep b/test/functional/shared/resources/testdata/recipes/test-bicep-recipes/extenders-aws-s3-recipe.bicep deleted file mode 100644 index aa7e9d0b993..00000000000 --- a/test/functional/shared/resources/testdata/recipes/test-bicep-recipes/extenders-aws-s3-recipe.bicep +++ /dev/null @@ -1,17 +0,0 @@ -import aws as aws - -param creationTimestamp string -param bucketName string - -resource s3Bucket 'AWS.S3/Bucket@default' = { - alias: bucketName - properties: { - BucketName: bucketName - Tags: [ - { - Key: 'RadiusCreationTimestamp' - Value: creationTimestamp - } - ] - } -} diff --git a/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/main.tf b/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/main.tf deleted file mode 100644 index 7f6e0aeda1f..00000000000 --- a/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/main.tf +++ /dev/null @@ -1,28 +0,0 @@ -terraform { - required_providers { - azurerm = { - source = "hashicorp/azurerm" - version = "~> 3.0.0" - } - } -} - -resource "azurerm_storage_account" "test_storage_account" { - name = var.name - resource_group_name = var.resource_group_name - location = var.location - account_tier = "Standard" - account_replication_type = "LRS" -} - -resource "azurerm_storage_container" "test_container" { - name = "test-container" - storage_account_name = azurerm_storage_account.test_storage_account.name -} - -resource "azurerm_storage_blob" "test_blob" { - name = "test-blob" - storage_account_name = azurerm_storage_account.test_storage_account.name - storage_container_name = azurerm_storage_container.test_container.name - type = "Block" -} \ No newline at end of file diff --git a/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/output.tf b/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/output.tf deleted file mode 100644 index a4026b54f35..00000000000 --- a/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/output.tf +++ /dev/null @@ -1,5 +0,0 @@ -output "result" { - value = { - resources = [azurerm_storage_account.test_storage_account.id] - } -} \ No newline at end of file diff --git a/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/variables.tf b/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/variables.tf deleted file mode 100644 index a1e8130e1a3..00000000000 --- a/test/functional/shared/resources/testdata/recipes/test-terraform-recipes/azure-storage/variables.tf +++ /dev/null @@ -1,11 +0,0 @@ -variable "name" { - type = string -} - -variable "resource_group_name" { - type = string -} - -variable "location" { - type = string -} \ No newline at end of file