infrastructure-as-code Questions
3
Solved
As part of IaC, A Function App, lets name it FuncAppX is deployed using Terraform, which has a function with-in.
I need to access the Url of the same function with-in a function app using Terraform...
Microdont asked 20/9, 2021 at 13:15
6
I am developing an ARM template for Azure Data Factory with managed private endpoints to SQL Server and Azure Datalake. However, when the ARM template completes execution, the managed private endpo...
Partida asked 25/6, 2021 at 1:11
2
Solved
I came across a pattern in couple of terraform code in Github.
resource "aws_vpc" "this"
I wanted to know how keyword this provides a particular advantage over a named resource...
Twomey asked 10/9, 2021 at 1:32
4
What field can I set in my IAC definition (i.e., codebuild.yaml and/or buildspec.yaml files) to get my AWS CodeBuild process to perform a full git clone?
I have a use case where the last updated da...
Twister asked 7/10, 2021 at 20:53
3
I'm new to a large AWS deployment where stuff is mostly deployed through CloudFormation (and some through Terraform). But there are always cases where something has been deployed manually and not t...
Theta asked 1/9, 2019 at 2:18
4
Solved
I am trying to set up my infrastructure properly with no passwords or keys laying around. AWS RDS has an option to do so, by enabling users(applications) to authenticate with generated tokens.
How...
Reproval asked 24/4, 2019 at 16:5
3
I am using below Terraform code to deploy Data factory Azure IR in managed virtual network:
resource "azurerm_data_factory_integration_runtime_azure" "ManagedIR" {
name = "...
Gilkey asked 29/6, 2022 at 14:58
1
Solved
I am trying to update hashicorp/aws provider version.
I added terraform.tf file with following content:
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = &qu...
Lindsay asked 17/5, 2023 at 12:28
6
Solved
I'm trying to enable CORS in my AWS SAM app. Here is the snippet from my template.yaml:
Globals:
Api:
Cors:
AllowMethods: "'*'"
AllowHeaders: "'*'"
AllowOrigin: "'*'&q...
Buttock asked 12/4, 2021 at 20:16
2
I'm trying to update the AppSettings of an App Service through a bicep file.
When doing this in my bicep template:
var currentAppSettings = list('Microsoft.Web/sites/appServiceName/config/appsettin...
Aristarchus asked 30/4, 2021 at 6:11
1
Recently, I've started using workspace per env in my Terraform configuration. I ended up having three workspaces dev, staging and production. But for historical reasons my default workspace still c...
Rob asked 5/11, 2021 at 23:29
3
Solved
I am currently working through the beta book "Terraform Up & Running, 2nd Edition". In chapter 2, I created an auto scaling group and a load balancer in AWS.
Now I made my backend server HTTP ...
Calamitous asked 24/7, 2019 at 13:12
2
Solved
I try to use the Azure/Azapi Provider within my Terraform project but after I add the provider and run terraform init, I get the following error:
Error: Failed to query available provider packages
...
Snuffle asked 9/8, 2022 at 14:58
4
Would it be possible to have two CDK Apps in the same project, something like this:
from aws_cdk import core
from stack1 import Stack1
from stack2 import Stack2
app1 = core.App()
Stack1(app1, &qu...
Hervey asked 17/12, 2020 at 13:27
7
Solved
I'm a beginner in Terraform.
I have a directory which contains 2 .tf files.
Now I want to run Terraform Apply on a selected .tf file & neglect the other one.
Can I do that? If yes, how? If n...
Saberhagen asked 8/12, 2017 at 5:34
3
How can I do to use s3 backend that points to a different AWS account?
In other words, I would like to have something like that:
Dev environment state on an S3 bucket in AWS account A
Stage environ...
Luciana asked 12/1, 2021 at 21:1
1
We're using Apache Kafka and have a lot of manually created topics (with custom topic config). We want to manage our topics like the rest of our infrastructure/configuration as code.
How can we pro...
Extraterrestrial asked 11/11, 2020 at 15:16
3
I am setting up an infrastructure to support a WebApp. One of my repositories have all the Network Infrastructure (VPC, Subnets, NAT, Bastion and so on).
The WebApp has a Route 53 + ALB + AutoScall...
Manipulator asked 3/8, 2019 at 22:38
3
I want to create Route53 HostedZone with CloudFormation so I want to check some information in Route53 about HostedZone is exist.
In logic of my case I need check if resource is exist, ignore the...
Trousers asked 5/3, 2019 at 7:49
1
I am having below bicep which is returning keyvault. I like to access the properties/functions in keyvault in parent bicep. But not sure how to achieve when using it as a module.
I have keyvault.b...
Manometer asked 15/10, 2021 at 12:18
1
Solved
Terraforming any Google Cloud Platform (GCP) resource defined by any beta arguments requires the google-beta provider. Should the google-beta provider be used instead of or in tandem with the googl...
Cephalic asked 10/9, 2021 at 22:44
3
Solved
In my current terraform configuration I am using a static JSON file and importing into terraform using the file function to create an AWS IAM policy.
Terraform code:
resource "aws_iam_policy" "ex...
Solitary asked 6/9, 2019 at 15:35
3
I thought that this would be answered quite clearly out there on the internet. But I have found no sufficient answer to when to use one type of stacks and when to use another type of stacks.
So th...
Quod asked 21/12, 2020 at 19:59
2
Solved
How to export existing, configured and tested AWS CloudWatch alarms to Cloudformation template?
I know about CloudFormer tool, but it supports limited number of AWS services (Amazon VPC, DynamoDB,...
Finnell asked 27/6, 2019 at 7:29
4
Solved
In the spirit of infrastructure as code, I've configured an AWS Cognito User Pool via Terraform with the helpful aws_cognito_user_pool resource.
However, I can't seem to locate the argument/config...
Incessant asked 30/11, 2019 at 20:37
1 Next >
© 2022 - 2024 — McMap. All rights reserved.