Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump default azure image #1429

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

skanakal
Copy link
Contributor

Issue:

rancher/rancher#44944
Standard_A2 is currently not available in location 'westus'

Problem

Solution

update the default azure image
Change the default VM size, as the current size is unavailable in the default region (West US).

Testing

Engineering Testing

Manual Testing

Wed Oct 23 17:31:34 skanakala ☺ ❉ ~/Downloads/test sudo terraform show
# rancher2_cloud_credential.foo-aks:
resource "rancher2_cloud_credential" "foo-aks" {
    annotations = {}
    driver      = "azure"
    id          = "cattle-global-data:cc-fx6cx"
    labels      = {
        "cattle.io/creator" = "norman"
    }
    name        = "foo-aks"

    azure_credential_config {
        client_id       = (sensitive value)
        client_secret   = (sensitive value)
        environment     = "AzurePublicCloud"
        subscription_id = (sensitive value)
    }
}

# rancher2_node_template.foo:
resource "rancher2_node_template" "foo" {
    annotations             = {
        "ownerBindingsCreated" = "true"
    }
    cloud_credential_id     = "cattle-global-data:cc-fx6cx"
    description             = "foo test"
    driver                  = "azure"
    driver_id               = "azure"
    id                      = "cattle-global-nt:nt-7qr59"
    labels                  = {
        "cattle.io/creator" = "norman"
    }
    name                    = "foo"
    use_internal_ip_address = true

    azure_config {
        availability_set    = "docker-machine"
        disk_size           = "30"
        docker_port         = "2376"
        environment         = "AzurePublicCloud"
        fault_domain_count  = "3"
        image               = "canonical:ubuntu-24_04-lts:server-gen1:latest"
        location            = "westus"
        managed_disks       = false
        no_public_ip        = false
        nsg                 = "docker-machine-nsg"
        open_port           = []
        resource_group      = "docker-machine"
        size                = "Standard_D2_v2"
        ssh_user            = "docker-user"
        static_public_ip    = false
        storage_type        = "Standard_LRS"
        subnet              = "docker-machine"
        subnet_prefix       = "192.168.0.0/16"
        update_domain_count = "5"
        use_private_ip      = false
        vnet                = "docker-machine-vnet"
    }
}

Automated Testing

QA Testing Considerations

Regressions Considerations

@matttrach matttrach self-assigned this Oct 28, 2024
@matttrach
Copy link
Collaborator

Does this need to be backported?

@matttrach matttrach added this to the November Release 2024 milestone Oct 28, 2024
Signed-off-by: Siva Kanakala <[email protected]>
@matttrach matttrach merged commit 83e8398 into rancher:master Oct 29, 2024
1 check passed
matttrach pushed a commit to matttrach/terraform-provider-rancher2 that referenced this pull request Oct 29, 2024
Signed-off-by: Siva Kanakala <[email protected]>
Co-authored-by: Matt Trachier <[email protected]>
(cherry picked from commit 83e8398)
matttrach added a commit that referenced this pull request Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants