ine-labs / azuregoat Goto Github PK
View Code? Open in Web Editor NEWAzureGoat : A Damn Vulnerable Azure Infrastructure
License: MIT License
AzureGoat : A Damn Vulnerable Azure Infrastructure
License: MIT License
Hi there, I am getting this while running terraform init
:
Plan: 1 to add, 0 to change, 0 to destroy.
╷
│ Warning: Deprecated Resource
│
│ with azurerm_app_service_plan.app_service_plan,
│ on main.tf line 152, in resource "azurerm_app_service_plan" "app_service_plan":
│ 152: resource "azurerm_app_service_plan" "app_service_plan" {
│
│ The `azurerm_app_service_plan` resource has been superseded by the `azurerm_service_plan` resource. Whilst this resource will continue to be available in the 2.x and 3.x releases it is feature-frozen
│ for compatibility purposes, will no longer receive any updates and will be removed in a future major release of the Azure Provider.
│
│ (and 2 more similar warnings elsewhere)
Hi I tried to deploy the lab on the cloud using cloudshell and i get struck at the same error.
azurerm_storage_blob.app_files_prod["shared/files/.ssh/config.txt"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/illustrations/illustration_login.png"]: Creation complete after 2s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/illustrations/illustration_login.png]
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/justin.pub"]: Creation complete after 2s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/files/.ssh/keys/justin.pub]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_21.jpg"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/avatars/avatar_4.jpg"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/avatars/avatar_3.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/avatars/avatar_3.jpg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/covers/cover_7.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/covers/cover_7.jpg]
azurerm_storage_blob.app_files_prod["shared/scripts/deploy_node.sh"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/scripts/deploy_node.sh]
azurerm_storage_blob.app_files_prod["shared/scripts/php-deploy.sh"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/scripts/php-deploy.sh]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_13.jpg"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/icons/ic_flag_de.svg"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_14.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/products/product_14.jpg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/avatars/avatar_7.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/avatars/avatar_7.jpg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/covers/cover_8.jpg"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/media/register.4206b16c0ce018f0307d.jpg"]: Creating...
azurerm_storage_blob.app_files_prod["shared/files/.ssh/config.txt"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/files/.ssh/config.txt]
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/sophia.pub"]: Creating...
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/mary.pem"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/avatars/avatar_12.jpg"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/avatars/avatar_4.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/avatars/avatar_4.jpg]
azurerm_storage_blob.app_files_prod["images/20220525173359279634.png"]: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_13.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/products/product_13.jpg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_21.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/products/product_21.jpg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/covers/cover_8.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/covers/cover_8.jpg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_18.jpg"]: Creating...
azurerm_storage_blob.config_update_prod: Creating...
azurerm_storage_blob.app_files_prod["webfiles/build/static/icons/ic_flag_de.svg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/icons/ic_flag_de.svg]
azurerm_storage_blob.app_files_prod["webfiles/build/static/media/register.4206b16c0ce018f0307d.jpg"]: Creation complete after 2s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/media/register.4206b16c0ce018f0307d.jpg]
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/mary.pem"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/files/.ssh/keys/mary.pem]
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/john.pub"]: Creating...
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/sophia.pub"]: Creation complete after 2s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/files/.ssh/keys/sophia.pub]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/avatars/avatar_12.jpg"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/avatars/avatar_12.jpg]
azurerm_cosmosdb_account.db: Still creating... [1m50s elapsed]
azurerm_storage_blob.app_files_prod["images/20220525173359279634.png"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/images/20220525173359279634.png]
azurerm_storage_blob.config_update_prod: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/modules/module-1/resources/storage_account/shared/files/.ssh/config.txt]
azurerm_storage_blob.app_files_prod["shared/files/.ssh/keys/john.pub"]: Creation complete after 1s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/shared/files/.ssh/keys/john.pub]
azurerm_storage_blob.app_files_prod["webfiles/build/static/mock-images/products/product_18.jpg"]: Creation complete after 2s [id=https://appazgoat3299488storage.blob.core.windows.net/prod-appazgoat3299488-storage-container/webfiles/build/static/mock-images/products/product_18.jpg]
azurerm_cosmosdb_account.db: Still creating... [2m0s elapsed]
azurerm_cosmosdb_account.db: Still creating... [2m10s elapsed]
azurerm_cosmosdb_account.db: Still creating... [2m20s elapsed]
azurerm_cosmosdb_account.db: Creation complete after 2m22s [id=/subscriptions/44520894-a01e-4f6d-9612-0310dbd2c8d4/resourceGroups/azuregoat_app/providers/Microsoft.DocumentDB/databaseAccounts/ine-cosmos-db-data-3299488]
╷
│ Warning: Deprecated Resource
│
│ with azurerm_app_service_plan.app_service_plan,
│ on main.tf line 145, in resource "azurerm_app_service_plan" "app_service_plan":
│ 145: resource "azurerm_app_service_plan" "app_service_plan" {
│
│ The azurerm_app_service_plan
resource has been superseded by the azurerm_service_plan
resource. Whilst this resource will continue to be available in the 2.x and 3.x
│ releases it is feature-frozen for compatibility purposes, will no longer receive any updates and will be removed in a future major release of the Azure Provider.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to azurerm_app_service_plan.app_service_plan, provider "provider["registry.terraform.io/hashicorp/azurerm"]" produced an unexpected new value: Root
│ resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to azurerm_network_security_group.net_sg, provider "provider["registry.terraform.io/hashicorp/azurerm"]" produced an unexpected new value: Root resource
│ was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to azurerm_public_ip.VM_PublicIP, provider "provider["registry.terraform.io/hashicorp/azurerm"]" produced an unexpected new value: Root resource was
│ present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Sed works slighty different on Mac devices.
Change: "sed -i" to "sed -i ''" in the main.tf file
Hi there, I am getting this while running terraform apply --auto-approve
in Azure CloudShell
╷
│ Error: creating Database Account: (Name "ine-cosmos-db-data-15019585" / Resource Group "azuregoat_app"): waiting for the CosmosDB Account "ine-cosmos-db-data-15019585" (Resource Group "azuregoat_app") to finish creating/updating: Code="ServiceUnavailable" Message="Database account creation failed. Operation Id: 39f485cb-8cdd-4a07-a77d-c6a1d3ba0661, Error : Message: {\"code\":\"ServiceUnavailable\",\"message\":\"Sorry, we are currently experiencing high demand in East US region, and cannot fulfill your request at this time Wed, 10 Jul 2024 14:22:24 GMT. To request region access for your subscription, please follow this link https://aka.ms/cosmosdbquota for more details on how to create a region access request.\\r\\nActivityId: e4ddd100-6db7-4089-8eb7-1d014a871087, Microsoft.Azure.Documents.Common/2.14.0\"}, Request URI: /serviceReservation, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0"
│
│ with azurerm_cosmosdb_account.db,
│ on main.tf line 30, in resource "azurerm_cosmosdb_account" "db":
│ 30: resource "azurerm_cosmosdb_account" "db" {
│
│ Error: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code="SkuNotAvailable" Message="The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_B1s' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details." Target="vmSize"
│
│ with azurerm_virtual_machine.dev-vm,
│ on main.tf line 381, in resource "azurerm_virtual_machine" "dev-vm":
│ 381: resource "azurerm_virtual_machine" "dev-vm" {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.