Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ spec:
selector:
app: hello-world-rest-api
sessionAffinity: None
type: LoadBalancer
type: LoadBalancer
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ spec:
app: hello-world-rest-api
version: v2
sessionAffinity: None
type: LoadBalancer
type: LoadBalancer
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "azurerm_resource_group" "resource_group" {
}

resource "azurerm_storage_account" "storage_account" {
name = "${var.environment}terraformstatestorage"
name = "${var.environment}in28minsterrastestor"
location = var.location
resource_group_name = azurerm_resource_group.resource_group.name
account_tier = "Standard"
Expand All @@ -27,6 +27,6 @@ resource "azurerm_storage_account" "storage_account" {
}

resource "azurerm_storage_container" "storage_container" {
name = "${var.environment}terraformstatestoragecontainer"
name = "${var.environment}in28minsterrastatestorcontainer"
storage_account_name = azurerm_storage_account.storage_account.name
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
resource "azurerm_resource_group" "resource_group" {
name = "${var.resource_group}_${var.environment}"
location = var.location
}

provider "azurerm" {
//version = "~>2.0.0"
features {}
}

>>>>>>> 70281d0 (Upgraded to latest version)
resource "azurerm_kubernetes_cluster" "terraform-k8s" {
name = "${var.cluster_name}_${var.environment}"
location = azurerm_resource_group.resource_group.location
Expand All @@ -26,7 +17,9 @@ resource "azurerm_kubernetes_cluster" "terraform-k8s" {
name = "agentpool"
node_count = var.node_count
vm_size = "standard_b2ms"

# vm_size = "standard_d2as_v5" CHANGE IF AN ERROR ARISES
>>>>>>> 70281d0 (Upgraded to latest version)
}

service_principal {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ spec:
selector:
app: currency-exchange
sessionAffinity: None #CHANGE
type: LoadBalancer
type: LoadBalancer
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ spec:
selector:
app: currency-conversion
sessionAffinity: None #CHANGE
type: LoadBalancer
type: LoadBalancer
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# DevOps for Beginners - Docker, Kubernetes, Terraform and Azure Devops

[![Image](https://www.springboottutorial.com/images/Course-DevOps.png "DevOps Course")](https://links.in28minutes.com/DevOps-SBT)
# DevOps for Beginners - Docker, Kubernetes, Terraform and Aws Devops

[![Image](https://www.springboottutorial.co/images/Course-DevOps.png "DevOps Course")](https://links.in28minutes.com/DevOps-SBT)

this is me adding new text to commit the fork changes
## Learn Devops with Docker, Kubernetes, Terraform, Ansible, Jenkins and Azure Devops

## Pipeline Project Github Repositories
Expand Down
1 change: 1 addition & 0 deletions temp/fork.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
this is fork demo
8 changes: 7 additions & 1 deletion terraform/backup/01-terraform-basics/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ provider "aws" {

# plan - execute
resource "aws_s3_bucket" "my_s3_bucket" {

bucket = "my-s3-bucket-in28minutes-rangak-002"
# versioning {
# enabled = true
# }
bucket = "my-s3-bucket-in28minutes-sathishm-002"
versioning {
enabled = true
}
>>>>>>> 70281d0 (Upgraded to latest version)
}

resource "aws_s3_bucket_versioning" "versioning_example" {
Expand All @@ -21,4 +27,4 @@ resource "aws_s3_bucket_versioning" "versioning_example" {

resource "aws_iam_user" "my_iam_user" {
name = "my_iam_user_abc_updated"
}
}
4 changes: 2 additions & 2 deletions terraform/backup/02-more-terraform-basics/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ provider "aws" {
}

resource "aws_iam_user" "my_iam_users" {
count = 1
count = 2
name = "${var.iam_user_name_prefix}_${count.index}"
}
}
2 changes: 1 addition & 1 deletion terraform/backup/03-lists-and-sets/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ resource "aws_iam_user" "my_iam_users" {
#name = var.names[count.index]
for_each = toset(var.names)
name = each.value
}
}
2 changes: 1 addition & 1 deletion terraform/backup/04-maps/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ resource "aws_iam_user" "my_iam_users" {
country : each.value.country
department : each.value.department
}
}
}
2 changes: 1 addition & 1 deletion terraform/backup/05-ec2-instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ resource "aws_instance" "http_server" {
"echo Welcome to in28minutes - Virtual Server is at ${self.public_dns} | sudo tee /var/www/html/index.html"
]
}
}
}
2 changes: 1 addition & 1 deletion terraform/backup/06-ec2-with-elb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ resource "aws_instance" "http_servers" {
"echo Welcome to in28minutes - Virtual Server is at ${self.public_dns} | sudo tee /var/www/html/index.html"
]
}
}
}
2 changes: 1 addition & 1 deletion terraform/backup/07-backend-state/backend-state/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ resource "aws_dynamodb_table" "enterprise_backend_lock" {
type = "S"
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ resource "aws_iam_user" "my_iam_user" {

locals {
iam_user_extension = "my_iam_user_abc"
}
}
2 changes: 1 addition & 1 deletion terraform/backup/09-multiple-ec2-instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ resource "aws_instance" "http_server" {

//subnet_id = "subnet-3f7b2563"
subnet_id = tolist(data.aws_subnet_ids.default_subnets.ids)[0]
}
}
1 change: 1 addition & 0 deletions unus.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
this is feature work